Aardvark.Base


VectorInfo

A vector info contains the complete indexing information for a vector, but no data array.

Constructors

ConstructorDescription
new(origin, size, delta, first)
Signature: (origin:int64 * size:int64 * delta:int64 * first:int64) -> unit

Construct a VectorInfo given a complete specification.

new(origin, size, delta)
Signature: (origin:int64 * size:int64 * delta:int64) -> unit

Construct a VectorInfo given a complete specification.

new(size)
Signature: size:int64 -> unit

Construct matrix info of specified size.

new(info)
Signature: info:VectorInfo -> unit
new(size)
Signature: size:int -> unit

Construct matrix info of specified size.

Instance members

Instance memberDescription
CheckMatchingSize(t1)
Signature: t1:VectorInfo -> unit
CheckMatchingSize(t1, t2)
Signature: (t1:VectorInfo * t2:VectorInfo) -> unit
CheckMatchingSize(t1, t2, t3)
Signature: (t1:VectorInfo * t2:VectorInfo * t3:VectorInfo) -> unit
Count
Signature: int64

Total number of element in the vector.

D()
Signature: unit -> unit

Delta

DeltaArray()
Signature: unit -> unit
Modifiers: abstract

Get or set the deltas of the tensor in each dimension as an array of longs.

DS
Signature: int64

Cummulative delta for all elements up to this dimension.

DSX
Signature: int64

Cummulative delta for all elements up to this dimension.

DX()
Signature: unit -> unit

Delta

E
Signature: int64

End (one step beyond the last element in all dimensions).

End
Signature: int64

End (one step beyond the last element in all dimensions).

EX
Signature: int64

End (one step beyond the last element).

F()
Signature: unit -> unit

First

FirstArray()
Signature: unit -> unit
Modifiers: abstract

Get or set the first coords of the tensor in each dimension as an array of longs.

FirstIndex
Signature: int64

Return the index of the first element in the underlying data array.

ForeachCoord(v_action)
Signature: v_action:Action<int64> -> unit
ForeachIndex(i_action)
Signature: i_action:Action<int64> -> unit
Modifiers: abstract
ForeachIndex(x_i_action)
Signature: x_i_action:Action<int64,int64> -> unit
ForeachIndex(t1, i_i1_act)
Signature: (t1:VectorInfo * i_i1_act:Action<int64,int64>) -> unit
FX()
Signature: unit -> unit

First

HasMatchingLayout(t1)
Signature: t1:VectorInfo -> bool
HasMatchingLayout(t1, t2)
Signature: (t1:VectorInfo * t2:VectorInfo) -> bool
HasMatchingLayout(t1, t2, t3)
Signature: (t1:VectorInfo * t2:VectorInfo * t3:VectorInfo) -> bool
I
Signature: int64
Index(coord)
Signature: coord:int64 -> int64

Calculate element index for underlying data array.

JX
Signature: int64

Jump

O
Signature: int64
OriginIndex()
Signature: unit -> unit
Modifiers: abstract
Rank
Signature: int
Modifiers: abstract

Return the rank or dimension of the the vector (1).

S()
Signature: unit -> unit

Size

SizeArray()
Signature: unit -> unit
Modifiers: abstract

Get or set the size of the tensor in each dimension as an array of longs.

SubVector(begin, size)
Signature: (begin:int64 * size:int64) -> VectorInfo

A SubVector does not copy any data, and thus any operations on it are reflected in the corresponding part of the parent. This methods returns a Vector with zero as first coordinates.

SubVector(begin, size)
Signature: (begin:int * size:int) -> VectorInfo

A SubVector does not copy any data, and thus any operations on it are reflected in the corresponding part of the parent. This methods returns a Vector with zero as first coordinates.

SubVector(begin, size, delta)
Signature: (begin:int64 * size:int64 * delta:int64) -> VectorInfo

A SubVector does not copy any data, and thus any operations on it are reflected in the corresponding part of the parent. This methods returns a Vector with zero as first coordinates.

SubVector(begin, size, delta)
Signature: (begin:int * size:int * delta:int) -> VectorInfo

A SubVector does not copy any data, and thus any operations on it are reflected in the corresponding part of the parent. This methods returns a Vector with zero as first coordinates.

SubVectorWindow(begin, size)
Signature: (begin:int64 * size:int64) -> VectorInfo

A SubVector does not copy any data, and thus any operations on it are reflected in the corresponding part of the parent. This method retains the coordinates of the parent Vector.

SubVectorWindow(begin, size)
Signature: (begin:int * size:int) -> VectorInfo

A SubVector does not copy any data, and thus any operations on it are reflected in the corresponding part of the parent. This method retains the coordinates of the parent Vector.

SubVectorWindow(begin, size, delta)
Signature: (begin:int64 * size:int64 * delta:int64) -> VectorInfo

A SubVector does not copy any data, and thus any operations on it are reflected in the corresponding part of the parent. This method retains the coordinates of the parent Vector.

SubVectorWindow(begin, size, delta)
Signature: (begin:int * size:int * delta:int) -> VectorInfo

A SubVector does not copy any data, and thus any operations on it are reflected in the corresponding part of the parent. This method retains the coordinates of the parent Vector.

SX()
Signature: unit -> unit

Size

Fork me on GitHub