Example NumVector type 018

 

 

Description

This example shows how the type function return the user-defined data type of the AIS Objects evaluated.

 

Details

Define a number Vector and check the type.

(setq X (new Vector: number: 2 11.433 -2.6)) Returns: #<NumVector 123456>
(type X) Returns: NumVector

 

Related Examples

Here are examples of the type function at work.

BitVector type 021 Boolean type 011 Brick type 026 ByteVector type 022
Character type 012 Date type 014 Dictionary type 007 Directory type 008
FltVector type 016 Function type 015 IntVector type 017 Lambda type 011
Matrix type 010 NumMatrix type 025 NumVector type 018 Number type 013
ObjVector type 019 ObjectRepository type 024 Pair type 023 PcodeVector type 020
ShortVector type 018 String type 001 Structure type 003 Structure type 004
Structure type 005 Symbol type 002 Vector type 009 Void type 011

 

Function Links

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

type

Here are a number of links to other related functions.

isType(#void) isIntegerVector(#void) isFloatVector(#void) isNumberVector(#void)
isByteVector(#void) isIdentical(#void) isObjectVector(#void) isPcodeVector(#void)
isVector(#void) isBitVector(#void)

 

Argument Types

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

NumVector

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

BitVector bitToNumberVector 001 BitVector inside 007 NumVector addMethod 021 NumVector append 008
NumVector apply 007 NumVector binaryInsert 006 NumVector binarySearch 007 NumVector bitToNumberVector 002
NumVector cdr 008 NumVector compare 016 NumVector compareEQ 014 NumVector compareGE 014
NumVector compareGT 014 NumVector compareLE 014 NumVector compareLT 014 NumVector compareNE 014
NumVector comparison 014 NumVector copy 008 NumVector defmethod 019 NumVector delete 011
NumVector insert 007 NumVector inside 006 NumVector isAtom 007 NumVector isEqual 015
NumVector isIdentical 014 NumVector isNumberVector 001 NumVector isObject 009 NumVector isType 018
NumVector length 010 NumVector map 007 NumVector mapc 007 NumVector member 006
NumVector methodsOf 019 NumVector new 011 NumVector objectToNumVector 001 NumVector ref 024
NumVector remove 006 NumVector resize 008 NumVector reverse 005 NumVector send 017
NumVector setCdr 008 NumVector setLastCdr 008 NumVector setq 021 NumVector sizeof 016
NumVector sort 015 NumVector svmRegression 001 NumVector type 018 NumVector uniqueInsert 006
NumVector vectorBinaryInnerProduct 001 NumVector vectorBipolarInnerProduct 001 NumVector vectorCosineInnerProduct 001 NumVector vectorCubeInnerProduct 001
NumVector vectorExpInnerProduct 001 NumVector vectorFill 005 NumVector vectorInnerProduct 001 NumVector vectorLogInnerProduct 001
NumVector vectorQuartInnerProduct 001 NumVector vectorQuintInnerProduct 001 NumVector vectorSigmoidInnerProduct 001 NumVector vectorSineInnerProduct 001
NumVector vectorSquareInnerProduct 001 NumVector vectorTanInnerProduct 001 NumVector vectorTanhInnerProduct 001 ObjVector cdr 009
ObjVector sort 016

Analytic Information Server (AIS)

AIS Component Systems

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