FsRandom


Array2D

Provides basic operations on 2-dimensional arrays.

Functions and values

Function or valueDescription
randomCreate(...)
Signature: rowCount:int -> columnCount:int -> generator:GeneratorFunction<'a> -> GeneratorFunction<'a [,]>
Type parameters: 'a

Creates an array whose elements are randomly generated.

randomCreateBased(...)
Signature: rowBase:int -> columnBase:int -> rowCount:int -> columnCount:int -> generator:GeneratorFunction<'a> -> GeneratorFunction<'a [,]>
Type parameters: 'a

Creates a based array whose elements are randomly generated.

randomInit(...)
Signature: rowCount:int -> columnCount:int -> initializer:(int -> int -> GeneratorFunction<'a>) -> GeneratorFunction<'a [,]>
Type parameters: 'a

Creates an array whose elements are randomly generated.

randomInitBased(...)
Signature: rowBase:int -> columnBase:int -> rowCount:int -> columnCount:int -> initializer:(int -> int -> GeneratorFunction<'a>) -> GeneratorFunction<'a [,]>
Type parameters: 'a

Creates a based array whose elements are randomly generated.

Fork me on GitHub