find repository in which name is defined - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Libraries and Packages : LibraryTools : LibraryTools/FindLibrary

LibraryTools[FindLibrary] - find repository in which name is defined

Calling Sequence

FindLibrary( name )

FindLibrary( name, all )

Parameters

name

-

name to search for

all

-

(optional) true or false

Description

• 

FindLibrary(name) searches the libraries in the path specified by libname for the given name.  The file name of the first match found is returned. If no library contains the given name, then NULL is returned.

• 

The search order is the same as the order used by Maple to load named values from libraries. That is, left-to-right order of paths in libname followed by priorities as given by LibraryTools[Priority].

• 

If the optional argument all=true (or simply all) is specified, and the name being searched occurs in multiple libraries, then the full sequence of matching libraries is returned, as opposed to just the first match.

Examples

withLibraryTools:

FindLibrary'int'

See Also

LibraryTools, LibraryTools[Create], LibraryTools[PrefixMatch], LibraryTools[Priority], march


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam