| Value | Description |
val contains : 'T -> 'T array -> bool |
Is an element in the array, uses (=) equality.
|
[<OCamlCompatibilityAttribute
("The F# name for this function is 'createJaggedMatrix'")>]
val create_matrix : int -> int -> 'T -> 'T array array | |
val createJaggedMatrix : int -> int -> 'T -> 'T array array |
Create a jagged 2 dimensional array.
This member is primarily provided for compatibility with implementations
of ML. F# also supports non-jagged 2D arrays - see the Array2D module and
types such as "int[,]".
|
[<OCamlCompatibilityAttribute ("The F# name for this function is 'contains'")>]
val mem : 'T -> 'T array -> bool | |
[<UnverifiableAttribute (); NoDynamicInvocationAttribute ()>]
val pin : 'T [] -> (nativeptr<'T> -> 'b) -> 'b |
Pin the given array for the duration of a single call to the given function. A native pointer to
the first element in the array is passed to the given function. Cleanup the GCHandle associated with the
pin when the function completes, even if an exception is raised.
|
[<UnverifiableAttribute (); NoDynamicInvocationAttribute ()>]
val pinUnscoped : 'T [] -> nativeptr<'T> * GCHandle |
As for Array.pin, except that the caller is responsible for calling Free on the returned GCHandle in order
to release the pin.
|
val scanReduce : ('T -> 'T -> 'T) -> 'T array -> 'T array |
Like reduce, but return both the intermediary and final results
|
val scanReduceBack : ('T -> 'T -> 'T) -> 'T array -> 'T array |
Like reduceBack, but return both the intermediary and final results
|