|
delete
|
The delete function destructively deletes the specified object from a NumMatrix.
The object is specified explicitly as an argument {obj} or by the index {index}
into the NumMatrix. The NumMatrix is decreased in size to reflect the lost value.
Note: Returns an error message if the NumMatrix is not of rank one.
Use delete function is used to remove an object from a NumMatrix. The object to be deleted must be specified as an index into the NumMatrix. The delete function behaves like the remove function with the following exception: The delete function is destructive and the remove function is non-destructive.
(delete nummatrix index) The modified NumMatrix. If the object or index is not found the NumMatrix is returned
unmodified.
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 you wish to modify. NumMatrix index If present, it must be the index of the object you wish to delete Integer
Returns:
Examples
Argument Types
Structure
Dictionary
Directory
Integer
Vector
Pair
List
Symbol
NumMatrix
ObjectRepository
Matrix
FltVector
ShortVector
IntVector
NumVector
ObjVector
How do I contact the AIS team?