VecArray<'T>
A companion structure to the generic vector structure that holds arrays of generic vectors. Again this acts as a facade to an arbitrarily sized data array.
Constructors
Constructor | Description |
new(data, origin, dim, count)
Signature: (data:'T [] * origin:int64 * dim:int64 * count:int64) -> unit
|
|
new(dim, count)
Signature: (dim:int64 * count:int64) -> unit
|
|
new(dim, count, capacity)
Signature: (dim:int64 * count:int64 * capacity:int64) -> unit
|
Create a new vec array with specified dimension, count and capacity that specifies an expected count after additional elements are added. Note that the capacity need not be exact, as the array will be resized if necessary. |
Instance members
Instance member | Description |
Add(v)
Signature: v:Vec<'T> -> unit
|
Standard List functionality. WARNING: Do not use this method on a SubArray, as this will affect the parent array in non-ovious ways. |
AddRange(vecs)
Signature: vecs:IEnumerable<Vec<'T>> -> unit
|
Standard List functionality. WARNING: Do not use this method on a SubArray, as this will affect the parent array in non-ovious ways. |
Copy()
Signature: unit -> VecArray<'T>
|
|
Copy(element_fun)
Signature: element_fun:Func<Vec<'T>,Vec<'T1>> -> VecArray<'T1>
|
|
Copy(element_fun, newDim)
Signature: (element_fun:Func<Vec<'T>,Vec<'T1>> * newDim:int64) -> VecArray<'T1>
|
|
Count
Signature: int64
|
|
Dim
Signature: int64
Modifiers: abstract |
|
ForEach(vec_act)
Signature: vec_act:Action<Vec<'T>> -> VecArray<'T>
|
|
ForeachIndex(vec_index_act)
Signature: vec_index_act:Action<Vec<'T>,int64> -> VecArray<'T>
|
|
GetEnumerator()
Signature: unit -> IEnumerator<Vec<'T>>
Modifiers: abstract |
|
GetValue(index)
Signature: index:int64 -> obj
Modifiers: abstract |
|
[()]
Signature: unit -> int64
Modifiers: abstract |
|
RemoveAt(index)
Signature: index:int -> unit
|
Standard List functionality. WARNING: Do not use this method on a SubArray, as this will affect the parent array in non-ovious ways. |
Set(va1)
Signature: va1:VecArray<'T> -> VecArray<'T>
|
|
Set(va1, vec_fun)
Signature: (va1:VecArray<'T1> * vec_fun:Func<Vec<'T1>,Vec<'T>>) -> VecArray<'T>
|
|
Set(vecs)
Signature: vecs:IEnumerable<Vec<'T>> -> VecArray<'T>
|
|
SetByIndex(index_fun)
Signature: index_fun:Func<int64,Vec<'T>> -> VecArray<'T>
|
|
SetValue(value, index)
Signature: (value:obj * index:int64) -> unit
Modifiers: abstract |
|
SubArray(begin)
Signature: begin:int64 -> VecArray<'T>
|
|
SubArray(begin, count)
Signature: (begin:int64 * count:int64) -> VecArray<'T>
|