setCdr
|
The setCdr function sets the cdr component of the Vector argument
{vector} to the value of the expression {expr}, and returns the updated
vector. The setCdr function sets the cdr component of the Structure argument
{struct} to the value of the expression {expr}, and returns the updated
structure. The setCdr function sets the cdr component of the Dictionary argument
{dict} to the value of the expression {expr}, and returns the updated
dictionary. The setCdr function sets the cdr component of the Directory argument
{dir} to the value of the expression {expr}, and returns the updated
directory. The setCdr function sets the cdr component of the Brick argument
{brick} to the value of the expression {expr}, and returns the updated
brick. The setCdr function sets the cdr component of the Matrix argument
{matrix} to the value of the expression {expr}, and returns the updated
matrix. The setCdr function sets the cdr component of the NumMatrix argument
{nummatrix} to the value of the expression {expr}, and returns the updated
nummatrix. The setCdr function sets the cdr component of the argument {list}
to the value of the expression {exp}, and returns the {list} . Usage The setCdr function is used to set a cdr (tail) of a Structure, Dictionary,
Directory, Brick, Vector, Matrix, Pair or List.
Structure
Dictionary
Directory
Brick
Matrix
NumMatrix
List
(setCdr vector expr) The modified Vector.
(setCdr struct expr) The modified Structure.
(setCdr dict expr) The modified Dictionary.
(setCdr dir expr) The modified Directory.
(setCdr brick expr) The modified Brick.
(setCdr matrix expr) The modified Brick.
(setCdr nummatrix expr) The modified brick.
(setCdr list exp ) (setCdr pair exp ) The updated Pair or List.
Expression:
Arguments
Name
Type
Description Argument: vector Vector FltVector ShortVector IntVector NumVector ObjVector BitVector
The Vector argument. Argument: expr Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
A cdr expression
Returns:
Expression:
Arguments
Name
Type
Description Argument: struct Structure
The Structure argument. Argument: expr Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
A cdr expression
Returns:
Expression:
Arguments
Name
Type
Description Argument: dict Dictionary
The Dictionary argument. Argument: expr Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
A cdr expression
Returns:
Expression:
Arguments
Name
Type
Description Argument: dir Directory
The Directory argument. Argument: expr Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
A cdr expression
Returns:
Expression:
Arguments
Name
Type
Description Argument: brick Brick
The Brick argument. Argument: expr Character String Symbol Vector Brick BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
A cdr expression
Returns:
Expression:
Arguments
Name
Type
Description Argument: matrix Matrix
The Matrix argument. Argument: expr Character String Symbol Vector Brick BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
A cdr expression
Returns:
Expression:
Arguments
Name
Type
Description Argument: nummatrix NumMatrix
The NumMatrix argument. Argument: expr Character String Symbol Vector Brick BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
A cdr expression
Returns:
Expression:
Arguments
Name
Type
Description Argument: list or pair Pair List
The Pair or List to be modified Argument: exp Character String Symbol Vector Brick BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
A cdr expression
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 | Brick |
Vector | BitVector | ByteVector | IntVector |
FltVector | ObjVector | Structure | Dictionary |
Directory | List | ShortVector | Matrix |
NumMatrix | Integer | Float | Number |
Complex |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|