Example FltVector setLastCdr 006

 

 

Description

This example defines a Vector with already a cdr value. The cdr value is changed using the setCdr function. The cdr expression is a Vector.

 

Details

(setq V #(float| 5.456699848175 3.141592025757 . 3)) Returns: #<FltVector 188141>

The Vector will contain:

(display V) Returns: #(float| 5.456699848175 3.141592025757 . 3)
(setLastCdr V 22) Returns: #<FltVector 188141>
(display V) Returns: #(float| 5.456699848175 3.141592025757 . 22)
(cdr V) Returns: 22

Notes and Hints

The only technique of accessing the cdr or tail of a Vector is via the cdr function.

 

Related Examples

Here are examples of the setLastCdr function at work.

BitVector setLastCdr 010 FltVector setLastCdr 006 IntVector setLastCdr 007 List setLastCdr 011
Matrix setLastCdr 005 NumMatrix setLastCdr 012 NumVector setLastCdr 008 ObjVector setLastCdr 009
Structure setLastCdr 001 Vector setLastCdr 002

 

Function Links

Here is the link to the current function used in this example.

setLastCdr

Here are a number of links to other related functions.

ref(#void) refValues(#void) refAttributes(#void) cdr(#void)
setCdr(#void)

 

Argument Types

Here are the links to the data types of the arguments used in this example.

FltVector

Here are a number of links to examples having similar argument types.

Dictionary isDictionary 001 FltVector addMethod 019 FltVector append 007 FltVector apply 005
FltVector binarySearch 005 FltVector cdr 006 FltVector compare 014 FltVector compareEQ 014
FltVector compareGE 014 FltVector compareGT 014 FltVector compareNE 014 FltVector comparison functions 014
FltVector copy 006 FltVector defmethod 017 FltVector delete 009 FltVector insert 005
FltVector isAtom 005 FltVector isEqual 013 FltVector isFloatVector 001 FltVector isIdentical 012
FltVector isObject 007 FltVector isType 016 FltVector length 008 FltVector map 005
FltVector mapc 005 FltVector methodsOf 017 FltVector new 009 FltVector ref 022
FltVector resize 006 FltVector reverse 003 FltVector send 015 FltVector setCdr 006
FltVector setLastCdr 006 FltVector setq 019 FltVector sizeof 014 FltVector sort 013
FltVector type 016 FltVector uniqueInsert 004 FltVector vectorFill 003 String isChar 001
String isCharAlphabetic 001 String isCharAlphanumeric 001 String isCharLowercase 001 String isCharName 001
String isCharNumeric 001 String isCharUppercase 001 String isCharWhitespace 001 String isEqual 001
String isEqual 002 String isObject 001 String isString 001 String isText 001
String isType 001 String isType 002 String isType 003 String sizeof 001
String string 001 String string 002 String string 003 String type 001
Symbol isCharName 002 Symbol isCharNumeric 002 Symbol isObject 002 Symbol isSymbol 001
Symbol isType 004 Symbol sizeof 002 Symbol type 002

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE