Contains extensions to the F# Array module.
| Function or value |
Description
|
Full Usage:
allClose relativeTolerance absoluteTolerance array1 array2
Parameters:
^T
absoluteTolerance : ^T
array1 : ^T[]
array2 : ^T[]
Returns: bool
Modifiers: inline Type parameters: ^T, ^a, ^b (requires (static member op_Subtraction : ^T * ^T -> ^a) and (static member op_Addition : ^T * ^b -> ^a) and (static member op_Multiply : ^T * ^T -> ^b) and (static member Abs : ^T -> ^T) and (static member Abs : ^a -> ^a) and comparison and (static member op_Addition : ^T * ^b -> ^a)) |
Determines if all values of the first array lie within the given tolerances of the second array.
|
Full Usage:
cumulativeSum a
Parameters:
^a[]
Returns: ^b array
Modifiers: inline Type parameters: ^a, ^b (requires (static member op_Addition : ^b * ^a -> ^b) and (static member get_Zero : -> ^b) and (static member op_Addition : ^b * ^a -> ^b)) |
Gets the cumulative sum of the input array.
|
Full Usage:
foralli f arr
Parameters:
int -> 'T -> bool
arr : 'T[]
Returns: bool
Type parameters: 'T |
|
Full Usage:
getUniqueCounts sorted values
Parameters:
bool
values : 'T[]
Returns: 'T array * int array
Type parameters: 'T (requires equality) |
Gets the unique counts of the input array.
|
Full Usage:
initFlat2D i j f
Parameters:
int
j : int
f : int -> int -> 'a
Returns: 'a array
Type parameters: 'a |
|
Full Usage:
initFlat3D i j k f
Parameters:
int
j : int
k : int
f : int -> int -> int -> 'a
Returns: 'a array
Type parameters: 'a |
|
Full Usage:
insertManyAt index values source
Parameters:
int
values : 'T seq
source : 'T[]
Returns: 'T[]
Type parameters: 'T |
|
Full Usage:
removeAt index source
Parameters:
int
source : 'T[]
Returns: 'T[]
Type parameters: 'T |
|
© Copyright 2021, DiffSharp and dfx Contributors.