|
member
|
The member function searches the Matrix argument {Matrix} for the match of
the search object argument {obj} and returns the index where {obj}
was found. If the {obj} was not found, false is returned. The member
function uses the isEqual predicate.
Use the member function if you want to locate the position of a certain member (object) in a Matrix. If you just want to know if a member is in the Matrix but do not care where it is located if it is found, use the isMember function, which returns a Boolean true or false.
(member obj matrix) Returns false if the object is not present. Returns an integer representing the index
into the Matrix where the object was found.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types obj The object you wish to locate. Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean matrix The matrix to be searched Matrix
Returns:
Examples
Argument Types
How do I contact the AIS team?