Implementations of operations that will work for any type
Type | Description |
Function or value | Description |
|
|
|
|
|
|
|
|
Full Usage:
addDenseMatrixGU a b
Parameters:
DenseMatrix<'a>
b : DenseMatrix<'a>
Returns: DenseMatrix<'a>
|
|
|
|
Full Usage:
addScalarDenseMatrixGU k a
Parameters:
'a
a : DenseMatrix<'a>
Returns: DenseMatrix<'a>
|
|
|
|
Full Usage:
addScalarSparseMatrixGU k a
Parameters:
'a
a : SparseMatrix<'a>
Returns: SparseMatrix<'a>
|
|
|
|
Full Usage:
addSparseMatrixGU a b
Parameters:
SparseMatrix<'a>
b : SparseMatrix<'a>
Returns: SparseMatrix<'a>
|
|
|
|
Full Usage:
arrayDenseMatrixGU ops xss
Parameters:
OpsData<'a>
xss : 'a[][]
Returns: DenseMatrix<'a>
|
|
Full Usage:
assignArray m f arr
Parameters:
int
f : int -> 'a
arr : 'a[]
Modifiers: inline |
|
Full Usage:
assignArray2D m n f arr
Parameters:
int
n : int
f : int -> int -> 'a
arr : 'a[,]
Modifiers: inline |
|
Full Usage:
assignConstArray m x arr
Parameters:
int
x : 'a
arr : 'a[]
Modifiers: inline |
|
Full Usage:
assignConstArray2D m n x arr
Parameters:
int
n : int
x : 'a
arr : 'a[,]
Modifiers: inline |
|
Full Usage:
assignDenseMatrixGU f a
Parameters:
int -> int -> 'a
a : DenseMatrix<'a>
Modifiers: inline |
|
|
|
|
|
Full Usage:
binaryOpDenseMatrixGU f a b
Parameters:
'a -> 'b -> 'a
a : DenseMatrix<'a>
b : DenseMatrix<'b>
Returns: DenseMatrix<'a>
Modifiers: inline |
|
|
|
Full Usage:
binaryOpSparseMatrixGU f a b
Parameters:
'a -> 'a -> 'a
a : SparseMatrix<'a>
b : SparseMatrix<'a>
Returns: SparseMatrix<'a>
|
|
|
|
Full Usage:
colArrayDenseMatrixGU ops xss
Parameters:
OpsData<'a>
xss : 'a[][]
Returns: DenseMatrix<'a>
|
|
Full Usage:
colListDenseMatrixGU ops xss
Parameters:
OpsData<'a>
xss : 'a list list
Returns: DenseMatrix<'a>
|
|
Full Usage:
colSeqDenseMatrixGU ops xss
Parameters:
OpsData<'a>
xss : seq<'b>
Returns: DenseMatrix<'a>
|
|
|
|
|
|
|
|
|
|
Full Usage:
cptMaxDenseMatrixGU a b
Parameters:
DenseMatrix<'a>
b : DenseMatrix<'a>
Returns: DenseMatrix<'a>
|
|
Full Usage:
cptMaxSparseMatrixGU a b
Parameters:
SparseMatrix<'a>
b : SparseMatrix<'a>
Returns: SparseMatrix<'a>
|
|
|
|
Full Usage:
cptMinDenseMatrixGU a b
Parameters:
DenseMatrix<'a>
b : DenseMatrix<'a>
Returns: DenseMatrix<'a>
|
|
Full Usage:
cptMinSparseMatrixGU a b
Parameters:
SparseMatrix<'a>
b : SparseMatrix<'a>
Returns: SparseMatrix<'a>
|
|
|
|
Full Usage:
cptMulDenseMatrixGU a b
Parameters:
DenseMatrix<'a>
b : DenseMatrix<'a>
Returns: DenseMatrix<'a>
|
|
|
|
Full Usage:
cptMulSparseMatrixGU a b
Parameters:
SparseMatrix<'a>
b : SparseMatrix<'a>
Returns: SparseMatrix<'a>
|
|
|
|
Full Usage:
createArray m
Parameters:
int
Returns: 'a[]
Modifiers: inline |
|
Full Usage:
createArray2D m n
Parameters:
int
n : int
Returns: 'a[,]
Modifiers: inline |
|
Full Usage:
createConstDenseMatrixGU ops m n x
Parameters:
OpsData<'a>
m : int
n : int
x : 'a
Returns: DenseMatrix<'a>
|
|
|
|
|
|
Full Usage:
createDenseMatrixGU ops m n f
Parameters:
OpsData<'a>
m : int
n : int
f : int -> int -> 'a
Returns: DenseMatrix<'a>
Modifiers: inline |
|
|
|
|
|
Full Usage:
debug
Returns: bool
|
|
|
|
|
|
|
|
Full Usage:
existsR f (n, m)
Parameters:
int -> bool
n : int
m : int
Returns: bool
|
|
Full Usage:
existsiDenseMatrixGU pred a
Parameters:
int -> int -> 'a -> bool
a : DenseMatrix<'a>
Returns: bool
|
|
|
|
Full Usage:
fold2DenseMatrixGU f z a b
Parameters:
'a -> 'b -> 'c -> 'a
z : 'a
a : DenseMatrix<'b>
b : DenseMatrix<'c>
Returns: 'a
Modifiers: inline |
|
|
|
Full Usage:
foldDenseMatrixGU f z a
Parameters:
'a -> 'b -> 'a
z : 'a
a : DenseMatrix<'b>
Returns: 'a
Modifiers: inline |
|
Full Usage:
foldR f z (a, b)
Parameters:
'b -> int -> 'b
z : 'b
a : int
b : int
Returns: 'b
Modifiers: inline Type parameters: 'b |
|
Full Usage:
foldVecGU f z a
Parameters:
'a -> 'b -> 'a
z : 'a
a : Vector<'b>
Returns: 'a
Modifiers: inline |
|
Full Usage:
foldiDenseMatrixGU f z a
Parameters:
int -> int -> 'a -> 'b -> 'a
z : 'a
a : DenseMatrix<'b>
Returns: 'a
Modifiers: inline |
|
Full Usage:
foldiVecGU f z a
Parameters:
int -> 'a -> 'b -> 'a
z : 'a
a : Vector<'b>
Returns: 'a
Modifiers: inline |
|
Full Usage:
forallR f (n, m)
Parameters:
int -> bool
n : int
m : int
Returns: bool
|
|
Full Usage:
foralliDenseMatrixGU pred a
Parameters:
int -> int -> 'a -> bool
a : DenseMatrix<'a>
Returns: bool
|
|
|
|
Full Usage:
genericMulDenseMatrix a b
Parameters:
DenseMatrix<'a>
b : DenseMatrix<'a>
Returns: DenseMatrix<'a>
|
|
Full Usage:
genericMulSparse zero add mul a b
Parameters:
'a
add : 'a -> 'a -> 'a
mul : 'a -> 'b -> 'a
a : SparseMatrix<'a>
b : SparseMatrix<'b>
Returns: SparseMatrix<'a>
Modifiers: inline |
|
Full Usage:
getArray2D arrDM i j
Parameters:
'a[,]
i : int
j : int
Returns: 'a
Modifiers: inline |
|
|
|
Full Usage:
initSparseMatrixGU maxi maxj ops s
Parameters:
int
-
maxj : int
-
ops : OpsData<'a>
-
s : seq<int * int * 'a>
-
Returns: SparseMatrix<'a>
|
Example
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
inplace_mapDenseMatrixGU f a
Parameters:
'a -> 'a
a : DenseMatrix<'a>
Modifiers: inline |
|
|
|
|
|
Full Usage:
inplace_mapiDenseMatrixGU f a
Parameters:
int -> int -> 'a -> 'a
a : DenseMatrix<'a>
Modifiers: inline |
|
Full Usage:
inplace_mapiRowVecGU f a
Parameters:
int -> 'a -> 'a
a : RowVector<'a>
Modifiers: inline |
|
|
|
Full Usage:
listDenseMatrixGU ops xss
Parameters:
OpsData<'a>
xss : 'a list list
Returns: DenseMatrix<'a>
|
|
|
|
|
|
|
|
|
|
Full Usage:
mapDenseMatrixGU f a
Parameters:
'T -> 'T
a : DenseMatrix<'T>
Returns: DenseMatrix<'T>
|
|
Full Usage:
mapR f (n, m)
Parameters:
int -> 'a
n : int
m : int
Returns: 'a list
|
|
|
|
|
|
Full Usage:
mapiDenseMatrixGU f a
Parameters:
int -> int -> 'T -> 'T
a : DenseMatrix<'T>
Returns: DenseMatrix<'T>
|
|
|
|
|
|
Full Usage:
mkDenseMatrixGU ops arr
Parameters:
OpsData<'a>
arr : 'a[,]
Returns: DenseMatrix<'a>
|
|
|
|
Full Usage:
mkSparseMatrixGU ops arr
Parameters:
OpsData<'a>
arr : 'a[,]
Returns: SparseMatrix<'a>
|
|
|
|
|
|
Full Usage:
mulDenseMatrixVecGU a b
Parameters:
DenseMatrix<'a>
b : Vector<'a>
Returns: Vector<'a>
|
|
Full Usage:
mulRVSparseMatrixGU a b
Parameters:
RowVector<'a>
b : SparseMatrix<'a>
Returns: RowVector<'a>
|
|
Full Usage:
mulRowVecDenseMatrixGU a b
Parameters:
RowVector<'a>
b : DenseMatrix<'a>
Returns: RowVector<'a>
|
|
|
|
Full Usage:
mulSparseMatrixGU a b
Parameters:
SparseMatrix<'a>
b : SparseMatrix<'a>
Returns: SparseMatrix<'a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
nonZeroEntriesSparseMatrixGU a
Parameters:
SparseMatrix<'a>
Returns: seq<int32 * int * 'a>
|
|
Full Usage:
nonzeroEntriesDenseMatrixGU a
Parameters:
DenseMatrix<'a>
Returns: seq<int * int * 'a>
|
|
|
|
|
|
|
|
Full Usage:
permuteRowVecGU p a
Parameters:
permutation
a : RowVector<'a>
Returns: RowVector<'a>
|
|
|
|
Full Usage:
primShowDenseMatrixGU (sepX, sepR) a
Parameters:
string
sepR : string
a : DenseMatrix<'e>
Returns: string
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
scaleSparseMatrixGU k a
Parameters:
'a
a : SparseMatrix<'a>
Returns: SparseMatrix<'a>
|
|
|
|
Full Usage:
seqDenseMatrixGU ops xss
Parameters:
OpsData<'a>
xss : seq<'b>
Returns: DenseMatrix<'a>
|
|
|
|
|
|
Full Usage:
setArray2D arrDM i j x
Parameters:
'a[,]
i : int
j : int
x : 'a
Modifiers: inline |
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
subDenseMatrixGU a b
Parameters:
DenseMatrix<'a>
b : DenseMatrix<'a>
Returns: DenseMatrix<'a>
|
|
|
|
Full Usage:
subScalarDenseMatrixGU k a
Parameters:
'a
a : DenseMatrix<'a>
Returns: DenseMatrix<'a>
|
|
|
|
Full Usage:
subScalarSparseMatrixGU k a
Parameters:
'a
a : SparseMatrix<'a>
Returns: SparseMatrix<'a>
|
|
|
|
Full Usage:
subSparseMatrixGU a b
Parameters:
SparseMatrix<'a>
b : SparseMatrix<'a>
Returns: SparseMatrix<'a>
|
|
|
|
|
|
Full Usage:
sumRGU ops f (arg3, arg4)
Parameters:
INumeric<'a>
f : int -> 'a
arg2 : int
arg3 : int
Returns: 'a
Modifiers: inline |
|
|
|
|
|
Full Usage:
sumfR f (a, b)
Parameters:
int -> float
a : int
b : int
Returns: float
Modifiers: inline |
|
|
|
Full Usage:
unaryOpDenseMatrixGU f a
Parameters:
'a -> 'a
a : DenseMatrix<'a>
Returns: DenseMatrix<'a>
Modifiers: inline |
|
|
|
Full Usage:
unaryOpSparseGU f a
Parameters:
'a -> 'a
a : SparseMatrix<'a>
Returns: SparseMatrix<'a>
|
|
|
|
|
|
|
|
Full Usage:
wrapList (pre, mid, post, trim) show l
Parameters:
string
mid : string
post : string
trim : bool
show : 'a -> string
l : 'a list
Returns: string list
|
|
|
|
Full Usage:
zeroizeDenseMatrixGUA arr m n
Parameters:
'T[,]
m : int
n : int
Returns: DenseMatrix<'T>
|
|
|
|
|
|
|
|