remove
|
The remove function removes the instance of the specified object {obj}
from the specified source Vector {vector}. The remove function is
non-destructive, i.e., it returns a new vector that has the specified item
removed from it. The remove function removes the instance of the specified object {key}
from the specified source Structure {struct}. The remove function
is non-destructive, i.e., it returns a new Structure that has the specified binding
removed from it. The remove function removes the instance of the specified object {key}
from the specified source Dictionary {struct}. The remove function
is non-destructive, i.e., it returns a new Dictionary that has the specified binding
removed from it. The remove function removes the instance of the specified object {key}
from the specified source Directory {struct}. The remove function
is non-destructive, i.e., it returns a new Directory that has the specified binding
removed from it. The remove function removes the instance of the specified object {obj}
from the specified source Matrix {matrix}. The remove function is
non-destructive, i.e., it returns a new Matrix that has the specified item removed
from it. The remove function removes the instance of the specified object {obj}
from the specified source NumMatrix {nummatrix}. The remove function is
non-destructive, i.e., it returns a new NumMatrix that has the specified item removed
from it. Usage Use the remove function to whenever you wish to non-destructively remove a
binding or object from a Structure, Dictiionary, Directory, Vector or Matrix. An alternate function for removing an object from a
Structure, Dictionary, Directory, Vector or Matrix is the delete function (see the delete function). Note: Returns an error message if the Matrix is not of rank one. Use the remove function to whenever you wish to non-destructively remove an
object from a Matrix. An alternate function for removing an object from a
Matrix is the delete function (see the delete function). Note: Returns an error message if the NumMatrix is not of rank one. Use the remove function to whenever you wish to non-destructively remove an
object from a NumMatrix. An alternate function for removing an object from a
NumMatrix is the delete function (see the delete function). Structure
Dictionary
Directory
Matrix
NumMatrix
Matrix
NumMatrix
(remove obj vector) Returns a new vector (The source vector is not changed).
(remove key struct) Returns a new Structure. The source Structure is not changed. If the
key is not found, a new Structure is returned that is identical to the original
(remove key dictionary) Returns a new Dictionary. The source Dictionary is not changed. If the
key is not found, a new Dictionary is returned that is identical to the original
(remove key directory) Returns a new Directory. The source Directory is not changed. If the
key is not found, a new Directory is returned that is identical to the original
(remove obj matrix) Returns a new Matrix (The source Matrix is not changed).
(remove obj nummatrix) Returns a new NumMatrix (The source NumMatrix is not changed).
Expression:
Arguments
Name
Type
Description Argument: obj Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean
The object to delete. Argument: vector Vector IntVector NumVector ShortVector ObjVector BitVector
The source Vector.
Returns:
Expression:
Arguments
Name
Type
Description Argument: key Symbol
The key of the binding to delete. Argument: struct Structure
The source Structure
Returns:
Expression:
Arguments
Name
Type
Description Argument: key Symbol
The key of the binding to delete. Argument: dictionary Dictionary
The source Dictionary
Returns:
Expression:
Arguments
Name
Type
Description Argument: key Symbol
The key of the binding to delete. Argument: directory Directory
The source Directory
Returns:
Expression:
Arguments
Name
Type
Description Argument: obj Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean
The object to delete. Argument: matrix Matrix
The source Matrix.
Returns:
Expression:
Arguments
Name
Type
Description Argument: obj Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean
The object to delete. Argument: nummatrix NumMatrix
The source NumMatrix.
Returns:
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.
Analytic Information Server (AIS)AIS Component Systems
|