vectorFill
|
The vectorFill function destructively replaces each element of a
vector {vector} with a specified fill value {value}, returning the
modified Vector. The vectorFill function destructively replaces each element of a
Matrix {matrix} with a specified fill value {value}, returning the
modified Matrix. The vectorFill function destructively replaces each element of a
NumMatrix {nummatrix} with a specified fill value {value}, returning the
modified NumMatrix. Usage The vectorFill function is used to populate a Vector with a value.
The vectorFill function is destructive. The vectorFill function is used to populate a Matrix with a value.
The vectorFill function is destructive. The vectorFill function is used to populate a NumMatrix with a value.
The vectorFill function is destructive.Matrix
NumMatrix
Matrix
NumMatrix
(vectorFill vector value) (vectorFill vector value incFunction) The modified Vector. (vectorFill matrix value) (vectorFill matrix value incFunction) The modified Matrix. (vectorFill nummatrix value) (vectorFill nummatrix value incFunction) The modified NumMatrix.
Expression:
Arguments
Name
Type
Description Argument: vector Vector FltVector ShortVector IntVector NumVector ObjVector BitVector
The Vector you wish to modify Argument: value Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean
The fill value. Argument: incFunction Symbol
(Optional) The increment function for incrementing the fill value.
Returns:
Expression:
Arguments
Name
Type
Description Argument: matrix Matrix
The Matrix you wish to modify Argument: value Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean
The fill value. Argument: incFunction Symbol
(Optional) The increment function for incrementing the fill value.
Returns:
Expression:
Arguments
Name
Type
Description Argument: nummatrix NumMatrix
The NumMatrix you wish to modify Argument: value Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean
The fill value. Argument: incFunction Symbol
(Optional) The increment function for incrementing the fill value.
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.
Character | String | Symbol | Vector |
BitVector | ByteVector | IntVector | FltVector |
ObjVector | Structure | Dictionary | DirectoryShortVector |
Matrix | NumMatrix | Integer | Float |
Number | Complex | Boolean |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|