|
uniqueInsert
|
The uniqueInsert function destructively inserts the specified new object
{obj} into the NumMatrix at the specified location. If the {obj}
argument does not exist in the NumMatrix , the NumMatrix is increased in size to
accommodate the {obj}. If the {obj} is already in the NumMatrix,
no insertion is made. The index where the new {obj} was inserted or
(if already in the NumMatrix) the index where the object was found will be returned
by the uniqueInsert function.
The uniqueInsert function is used whenever you want to install a new object into a NumMatrix. Also the uniqueInsert function behaves like the binaryInsert function except the target matrix is not in sorted order.
(uniqueInsert nummatrix obj) The index where the object was installed or 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 nummatrix The NumMatrix to be updated. NumMatrix obj The object to be installed. Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
Returns:
Examples
Argument Types
Structure
Symbol
Integer
Character
String
Symbol
Vector
BitVector
ByteVector
IntVector
FltVector
ObjVector
Structure
Dictionary
Directory
ShortVector
Matrix
NumMatrix
Integer
Float
Number
Complex
How do I contact the AIS team?