Example NumVector new 011

 

 

Description

These examples show how to construct a typed Vector. A Number Vectors is constructed using the new function.

 

Details

Returns a Number Vector of repeating 4's and 5's.

(new Vector: Number: 5 4 5) Returns: #<NumVector 234567>

Displays the contents of the Number Vector.

(display #<NumVector 234567>) Returns: #(num| 4.0 5.0 4.0 5.0 4.0 )

 

Related Examples

Here are examples of the new function at work.

BitVector new 013 Brick new 015 ByteVector new 015 CpxVector new 015
Dictionary new 004 Directory new 005 Directory new 006 FltVector new 009
IntVector new 010 Lambda new 001 Lambda new 002 Lambda new 003
Matrix new 009 Matrix new 010 NumMatrix new 015 NumVector new 011
ObjVector new 012 ObjectRepository new 014 PcodeVector new 014 ShortVector new 011
String new 001 Structure new 003 Symbol new 002 Vector new 007
Vector new 008

 

Function Links

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

new

Here are a number of links to other related functions.

setq(#void) define(#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