|
vectorFill
|
The vectorFill function destructively replaces each element of a
vector {vector} with a specified fill value {value}, returning the
modified Vector. When to use The vectorFill function is used to populate a Vector with a value.
The vectorFill function is destructive.
(vectorFill vector value) (vectorFill vector value incFunction) The modified Vector.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Example_ShortVector_vectorFill_005
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 vector The Vector you wish to modify Vector FltVector ShortVector IntVector NumVector ObjVector BitVector value The fill value. Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean incFunction (Optional) The increment function for incrementing the fill value. Symbol
Returns:
Examples
Argument Types
Character
String
Symbol
Vector
BitVector
ByteVector
IntVector
FltVector
ObjVector
Structure
Dictionary
DirectoryShortVector
Matrix
NumMatrix
Integer
Float
Number
Complex
Boolean
How do I contact the AIS team?