[Home] Module Microsoft.FSharp.Compatibility.CompatMatrix


Psuedo-polymorphic 2-dimensional arrays. Only really used when working with .NET 1.x. For any particular 'a , the "'a[,]" type is type-compatible with the corresponding C# 2-dimensional array type. The module contains operations to manipulate these values. The operations may be used on any version of the .NET CLR. See the 'Advanced' section of the manual for when 'Compatibility' array operations are needed to write code that will function on any version of the CLR. See the sample fsharp/Automation/Excel for an example of passing one of these values to fill in the cells of an Excel spreadsheet.

Values

ValueDescription
val create : int -> int -> 'a -> 'a [,]
val get : 'a [,] -> int -> int -> 'a
val init : int -> int -> (int -> int -> 'a) -> 'a [,]
val iter : ('a -> unit) -> 'a [,] -> unit
val iteri : (int -> int -> 'a -> unit) -> 'a [,] -> unit
val length1 : 'a [,] -> int
val length2 : 'a [,] -> int
val make : int -> int -> 'a -> 'a [,]
val map : ('a -> 'b) -> 'a [,] -> 'b [,]
val mapi : (int -> int -> 'a -> 'b) -> 'a [,] -> 'b [,]
val set : 'a [,] -> int -> int -> 'a -> unit
val zero_create : int -> int -> 'a [,]

See Also

Microsoft.FSharp.Compatibility


Documentation for assembly fslib, version 1.1.10.1, generated using F# version 1.1.10.1