| Value | Description |
val create : int -> int -> int -> int -> 'T -> 'T [,,,] |
Create an array whose elements are all initially the given value
|
val get : 'T [,,,] -> int -> int -> int -> int -> 'T |
Fetch an element from a 4D array. You can also use the syntax 'array.[index1,index2,index3,index4]'
|
val init :
int -> int -> int -> int -> (int -> int -> int -> int -> 'T) -> 'T [,,,] |
Create an array given the dimensions and a generator function to compute the elements.
|
val length1 : 'T [,,,] -> int |
Return the length of an array in the first dimension
|
val length2 : 'T [,,,] -> int |
Return the length of an array in the second dimension
|
val length3 : 'T [,,,] -> int |
Return the length of an array in the third dimension
|
val length4 : 'T [,,,] -> int |
Return the length of an array in the fourth dimension
|
val set : 'T [,,,] -> int -> int -> int -> int -> 'T -> unit |
Set the value of an element in an array. You can also
use the syntax 'array.[index1,index2,index3,index4] <- value'.
|
val zeroCreate : int -> int -> int -> int -> 'T [,,,] |
Create an array where the entries are initially the "default" value.
|