Collections.Array4D Module (F#)
Basic operations on rank 4 arrays.
Namespace/Module Path: Microsoft.FSharp.Collections
Assembly: FSharp.Core (in FSharp.Core.dll)
module Array4D
Values
Value |
Description |
---|---|
create : int -> int -> int -> int -> 'T -> 'T [,,,] |
Creates an array whose elements are all initially the given value |
get : 'T [,,,] -> int -> int -> int -> int -> 'T |
Fetches an element from a 4D array. |
init : int -> int -> int -> int -> (int -> int -> int -> int -> 'T) -> 'T [,,,] |
Creates an array given the dimensions and a generator function to compute the elements. |
length1 : 'T [,,,] -> int |
Returns the length of an array in the first dimension |
length2 : 'T [,,,] -> int |
Returns the length of an array in the second dimension. |
length3 : 'T [,,,] -> int |
Returns the length of an array in the third dimension. |
length4 : 'T [,,,] -> int |
Returns the length of an array in the fourth dimension. |
set : 'T [,,,] -> int -> int -> int -> int -> 'T -> unit |
Sets the value of an element in an array. |
zeroCreate : int -> int -> int -> int -> 'T [,,,] |
Creates an array where the entries are initially the default value. |
Platforms
Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2
Version Information
F# Core Library Versions
Supported in: 2.0, 4.0, Portable