The objectToVector function converts the object {object} into a Vector returning the new Vector. The {object} may be a List, Vector, Matrix, Structure, Dictionary, or a Directory. If the object is already a Vector, it is returned unchanged. If it is any other type of Vector (e.g., NumVector), it is converted into a regular vector. One-dimensional matrices are converted into a vector. Two-dimensional matrices are converted into an object vector whose elements are regular vectors. Each of these vectors contains one row of the matrix. Three-dimensional vectors are converted into an object vector that contains a set of object vectors. There are as many of these object vectors as the planes in the matrix (first dimension). Each of these object vectors contains the same elements as described above for two-dimensional matrices.


The objectToVector function is used to convert a Vector, List, Matrix, Structure, or Dictionary object to a Vector object.




(objectToVector obj)

Arguments Name Type Description
Argument:objVector List Matrix Structure Dictionary Directory A Vector, List, Matrix, Structure, Dictionary or Directory Object


A Vector object



Here are a number of links to Lambda coding examples which contain this instruction in various use cases.


Argument Types

Here are the links to the data types of the function arguments.

Vector NumVector List Matrix
Structure Dictionary Directory

Here are also a number of links to functions having arguments with any of these data types.

addMethod appendWriteln append apply
associate binaryInsert binarySearch bitToNumberVector
boolean c::r car cdr
class compareEQ compareGE compareGT
compareLE compareLT compareNE compare
comparison compile cons copy
count debugDetective defineStructure defstruct
delete dimension display eval
exportCsv exportSbf exportTab fieldsOf
findBlock find freeBlock importCsv
importSbf importTab insert inside
integer isAtom isBitVector isBoolean
isBound isByteVector isCharAlphabetic isCharAlphanumeric
isCharLowercase isCharName isCharNumeric isCharUppercase
isCharWhitespace isChar isCharacter isClass
isComplex isDate isDictionary isDirectory
isEqual isError isFloatVector isIdentical
isInside isIntegerVector isInteger isLambda
isMatrix isMember isMoney isNumberMatrix
isNumberVector isNumber isObjectVector isObject
isPair isPcodeVector isString isStructure
isSymbol isText isType isVector
last length lisp list
loadRepository macroReplace makeDictionary makeGramMatrix
makeQuotedList makeStructure map mapc
member methodsOf money morph
new number objectToDictionary objectToDirectory
objectToList objectToMatrix objectToNumMatrix objectToNumVector
objectToStructure objectToVector offset pair
parent parse pointer product
proplist proprecord putprop quote
rank refAttributes refValues ref
remProp remove resize reverse
saveImmediate saveObject saveRepository send
setAttributes setBlock setCar setCdr
setLastCdr setq sizeof sort
stringToBVector stringToVector string super
svmRegression type uniqueInsert vectorBinaryInnerProduct
vectorBipolarInnerProduct vectorCosineInnerProduct vectorCubeInnerProduct vectorDelete
vectorExpInnerProduct vectorFill vectorInnerProduct vectorLogInnerProduct
vectorQuartInnerProduct vectorQuintInnerProduct vectorSigmoidInnerProduct vectorSineInnerProduct
vectorSquareInnerProduct vectorTanInnerProduct vectorTanhInnerProduct writelg

Analytic Information Server (AIS)

AIS Component Systems

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