Index of values


($) [Nla(BLOP]
($=>) [Nla(BLOP]
(a $=> (sr<->lr,sc<->lc)) b will replace the contents of b $ (sr<->lc,sc<->lc) with that of a.
($@) [Nla(BLOP]
a $@ (i,j) returns the (i,j)-th entry of the matrix a.
(*$) [Nla(BLOP]
a *$ b will create a new matrix with the contents of a * b.
(*$~) [Nla(BLOP]
a *$~ b will create a new matrix with the contents of a *$ transp b.
(*@) [Nla(BLOP]
a *@ q applies the transform q to the matrix a from the right, changing its contents.
(*~$) [Nla(BLOP]
a *~$ b will create a new matrix with the contents of transp a *$ b.
(*~@) [Nla(BLOP]
a *~@ q applies the conjugate-transpose of the transform q to the matrix a from the right, changing its contents.
(+$) [Nla(BLOP]
a +$ b returns a new matrix whose entries are those of a + b.
(-$) [Nla(BLOP]
a -$ b returns a new matrix whose entries are those of a - b.
(/$) [Nla(BLOP]
a /$ b returns a new matrix obtained by applying the pseudo-inverse of a to b.
(/~$) [Nla(BLOP]
a /~$ b returns a new matrix obtained by applying the pseudo-inverse of the conjugate-transpose of a to b.
(<-$) [Nla(BLOP]
People who do not like to write (a $=> (sr<->lr,All)) b can now write (b $ (sr<->lr,All)) <-$ a instead.
(<->) [Nla(BLOP]
Equivalent to Matlab's colon operator.
(<-|) [Nla(BLOP]
People who do not like to write the destination storage on the right-hand side, need this operator <-|.
(=>) [Nla(BLOP]
The weird syntax (x => (i,j)) a has the effect of making a $@ (i,j) be equal to x.
(@*) [Nla(BLOP]
q @* a applies a transform q to the matrix a changing its contents.
(@~*) [Nla(BLOP]
q @~* a applies the conjugate-transpose of the transform q to the matrix a, changing its contents.
(|*++|) [Nla(BLOP]
(a |*++| b) c will replace the contents of c with that of c + a * b.
(|*--|) [Nla(BLOP]
(a |*--| b) c will replace the contents of c with that of c - a * b.
(|*|) [Nla(BLOP]
(a |*| b) c will replace the contents of c with that of a * b.
(|*~++|) [Nla(BLOP]
(a |*~++| b) c will replace the contents of c with that of c + a * transp b.
(|*~--|) [Nla(BLOP]
(a |*~--| b) c will replace the contents of c with that of a * b.
(|*~|) [Nla(BLOP]
(a |*~| b) c will replace the contents of c with that of a *$ transp b.
(|++|) [Nla(BLOP]
a |++| b will replace the contents of b with that of a + b.
(|+|) [Nla(BLOP]
(a |+| b) c will replace the contents of c with that of a + b.
(|--|) [Nla(BLOP]
a |--| b will replace the contents of b with that of b - a.
(|-|) [Nla(BLOP]
(a |-| b) c will replace the contents of c with that of a - b.
(|/|) [Nla(BLOP]
a |/| b replaces the contents of the matrix b by the contents of the minimum-norm least-squares solution of the system of linear equations ax = b.
(|~*++|) [Nla(BLOP]
(a |~*++| b) c will replace the contents of c with that of c + transp a * b.
(|~*--|) [Nla(BLOP]
(a |~*--| b) c will replace the contents of c with that of c - transp a * b.
(|~*|) [Nla(BLOP]
(a |~*| b) c will replace the contents of c with that of transp a *$ b.
(|~/|) [Nla(BLOP]
The same semantics and restrictions as |/|, except that the system being solved now is (transp a)x=b.

A
addn [Nla.BLOP]
Adds two possibly complex numbers.

C
colScale' [Nla.BLOP]
colScale' a x scales every column of a in place by the corresponding entry in x.
colScale_real' [Nla.BLOP]
Same as colScale' except that the second argument must be a real array.
col_partitions [Sparse.SPARSE]
(col_partitions sp).(j) is the size of the j-th colun partition of sp.
cond [Nla.BLOP]
cond a returns the 2-norm condition number of the matrix a.
conjg' [Nla.BLOP]
conjg' a replaces the entries of a by their conjugates.
conjugate [Nla.BLOP]
conjugate z returns the complex conjugate of the (possibly) complex number z.
const [Nla.BLOP]
const x a sets every entry of the matrix a to x.
consts [Nla.BLOP]
consts x m n creates an m by n matrix with every entry set to x.
copy [Sparse.SPARSE]
copy sp returns a new sparse matrix that does not share its spine or its blocks with sp.
copy [Nla.BLOP]
Since the $ operator produces sub-matrices that share storage with the parent matrix, we need a way to make copies of matrices.
copyL [Nla.BLOP]
Given an L factor l computed from ql' or lq', copyL l returns a lower-triangular (or lower-trapezoidal) matrix that is equivalent to l.

E
empty [Sparse.SPARSE]
empty m n returns a zero sparse matrix with m row partitions and n column partitions.
eye [Nla.BLOP]
eye m n returns the top-left m by n submatrix of the max m n by max m n identity matrix.

F
fSubs' [Sparse.SPARSE]
fSubs' l b applies the inverse of the sparse block lower-triangular l (usually computed by ql_factorize') to the matrix b.
fromFloat [Nla.BLOP]
Converts a floating point number to floating point number or Complex.t as the case may be.
fromInt [Nla.BLOP]
fromInt n returns either the floating-point version of n or the Complex.t version of n.
fun2mat [Nla.BLOP]
fun2mat fn m n creates an m by n matrix whose (i,j)-th entry is fn i j.
fun2mat' [Nla.BLOP]
fun2mat' fn a modifies all the entries of the matrix a such that the (i,j)-th entry becomes fn i j.

G
get [Sparse.SPARSE]
get sp i j returns the (i,j)-th block from the sparse matrix sp.

I
iD [Nla.BLOP]
iD a b replaces the contents of the matrix b with that of a.
iDL [Nla.BLOP]
Given an l factor computed using ql' or lq', iDL l a copies the lower-trianglar (or lower-trapezoidal) part of l into a.
im [Nla.BLOP]
im z returns the imaginary part of the (possibly) complex number z.

L
linear_solve' [Sparse.SPARSE]
linear_solve' sp b applies the inverse of sp to b.
lq' [Nla.BLOP]
lq' a computes the LQ factorization of a.

M
machine_epsilon [Nla.BLOP]
The machine precision.
matrix [Nla.BLOP]
Efficiently converts a standard two-dimensional OCaml array into a matrix.
matrix1x2 [Nla.BLOP]
matrix1x2 n1 n2 a1 a2 a modifies the entries of a by applying the two transformers a1 and a2 to the two block column partitions of a.
matrix1x3 [Nla.BLOP]
matrix1x3 n1 n2 n3 a1 a2 a3 a modifies the entries of the matrix a by applying the transformers a1, a2 and a3 to the corresponding block column partitions of a.
matrix2x1 [Nla.BLOP]
matrix2x1 m1 a1 m2 a2 a modifies the entries of the matrix a, by applying the function (transformer) a1 to a $ (1<-> m1, All) and the transformer a2 to a $ (m1+1 <-> m1+m1, All).
matrix2x2 [Nla.BLOP]
matrix2x2 n1 n2 m1 a11 a12 m2 a21 a22 a modifies the entries of the matrix a by applying the transformers a11, a12, a21 and a22 to the corresponding sub-matrices of a obtained by a block 2 by 2 partitioning.
matrix2x3 [Nla.BLOP]
matrix2x3 n1 n2 n3 m1 a11 a12 a13 m2 a21 a22 a23 a modifies the entries of the matrix a by applying the transformers a11, a12, a13, a21, a22 and a23 to the corresponding sub-matrices of a obtained by a block 2 by 3 partitioning.
matrix3x1 [Nla.BLOP]
matrix3x1 m1 a1 m2 a2 m3 a3 a modifies the entries of a by first applying the transformer a1 to the first block row of the 3 by 1 block row partitioning of a, then applying the transformer a2 to the second block row partition of a, and so on.
matrix4x2 [Nla.BLOP]
matrix4x2 n1 n2 m1 a11 a12 m2 a21 a22 m3 a31 a32 m4 a41 a42 a modifies the entries of the matrix a by applying the transformers aij to the corresponding sub-matrices of a obtained by a block 4 by 2 partitioning.
matrixInfx1 [Nla.BLOP]
matrixInfx1 ms ais a applies the transformers in the list ais to the corresponding row partitions of a as determined by the block sizes in the list ms.
minus_one [Nla.BLOP]
Either the real or complex minus one.
mul [Sparse.SPARSE]
mul sp b c replaces the contents of the matrix c with the product of the sparse matrix sp and the matrix b.
mul_transform [Sparse.SPARSE]
mul_transform q_sp b will apply the sparse unitary transform q_sp computed by ql_factorize' to the matrix b.
muln [Nla.BLOP]
Multiplies two possibly complex numbers.
mulr [Nla.BLOP]
mulr r z multiplies the possibly complex number z by the real number r.

N
noOfCols [Nla.BLOP]
Returns the number of columns in the matrix.
noOfRows [Nla.BLOP]
Returns the number of rows in the matrix.
no_of_col_partitions [Sparse.SPARSE]
no_of_col_partitions (empty m n) returns n.
no_of_cols [Sparse.SPARSE]
no_of_cols sp returns the actual number of columns that sp has.
no_of_row_partitions [Sparse.SPARSE]
no_of_row_partitions (empty m n) returns m.
no_of_rows [Sparse.SPARSE]
no_of_rows sp returns the actual number of rows that sp has.
norm1 [Nla.BLOP]
norm1 a returns the 1-norm of a.
normF [Nla.BLOP]
normF a returns the Frobenius-norm of a.
normInf [Nla.BLOP]
normInf a returns the infinity-norm of a.
normMax [Nla.BLOP]
normMax a returns the largest entry of a in magnitude.

O
one [Nla.BLOP]
Either the real or complex one.
ones [Nla.BLOP]
ones m n creates a m by n matrix of ones.
ooo [Nla.BLOP]
The function ooo is a nop.

P
partition1x2 [Nla.BLOP]
partition1x2 n1 n2 a returns the tuple (a1,a2) obtained by column partitioning a, with first block column a1 having the first n1 columns, and the second block column a2 having the last n2 columns.
partition1x3 [Nla.BLOP]
partition1x3 n1 n2 n3 a returns (a1,a2,a3) obtained by doing a 1 by 3 block column partition of a.
partition1xInf [Nla.BLOP]
partition1xInf ns a returns a list of block column partitions of a, where the number of columns in the j-th partition is determined by the number in the j-th position in the list ns.
partition1xN [Nla.BLOP]
partition1xN ns a is identical to partition1xInf ns a, except that ns must be an array now.
partition2x1 [Nla.BLOP]
In CamlFloat I strongly discourage you from programming as if you were in Matlab.
partition2x2 [Nla.BLOP]
partition2x2 n1 n2 m1 m2 a returns the tuple (a11, a12, a21, a22) obtained by block partitioning a into a 2 by 2 matrix, with n1 columns in the first column partition and m1 rows in the first row partition.
partition3x1 [Nla.BLOP]
partition3x1 m1 m2 m3 a returns (a1,a2,a3) obtained by doing a 3 by 1 block row partition of a.
partition3x3 [Nla.BLOP]
partition3x3 n1 n2 n3 m1 m2 m3 a returns (a11,a12,a13,a21,a22,a23,a31,a32,a33) obtained by doing a 3 by 3 block partitioning of a.
partitionInfx1 [Nla.BLOP]
partitionInfx1 ms a returns a list of block row partitions of a, where the number of rows in the i-th partition is determined by the number in the i-th position in the list ms.
partitionNx1 [Nla.BLOP]
partitionNx1 ms a is identical to partitionInfx1 ms a, except tha ms must be an array now.
precision [Nla.BLOP]
The mechanism for specifying the type of array you want from Bigarray.
precision_real [Nla.BLOP]
Same as above except when you need a real array even inside a complex module.
printMatrix [Nla.BLOP]
Prints a matrix to stdout.
printMatrixHeight [Nla.BLOP]
Determine the number of rows in a matrix that will be printed by printMatrix.
printMatrixWidth [Nla.BLOP]
Determines the number of columns of a matrix that will be printed by printMatrix.
printfn [Nla.BLOP]
Prints a possibly complex number to stdout.

Q
ql' [Nla.BLOP]
ql' a computes the QL factorization of a.
ql_factorize' [Sparse.SPARSE]
ql_factorize' sp computes the QL factorization of the sparse matrix sp.

R
randn [Nla.BLOP]
randn () returns a random possibly complex number.
randomMatrix [Nla.BLOP]
randomMatrix m n creates a m by n random matrix whose entries (real and imaginary parts) are uniformly distributed between -1.0 and 1.0.
rawMatrix [Nla.BLOP]
rawMatrix m n creates an m by n matrix whose entries are uninitialized.
re [Nla.BLOP]
re z returns the real part of the (possibly) complex number z.
rowScale' [Nla.BLOP]
rowScale' x a scales every row of a in place by the corresponding entry in x.
rowScale_real' [Nla.BLOP]
Same as rowScale' except that the first argument must be a real array.
row_partitions [Sparse.SPARSE]
(row_partitions sp).(i) is the size of the i-th row partition of sp.

S
scale' [Nla.BLOP]
scale' x a multiplies every entry of a in place by x.
scale_real' [Nla.BLOP]
Same as scale' except that first argument must be a real number.
set [Sparse.SPARSE]
set sp i j (Some a) will set the (i,j)-th block of the sparse matrix sp to the matrix a.
shallow_copy [Sparse.SPARSE]
shallow_copy sp returns a new sparse matrix that shares its blocks with sp but not its spine.
singValues' [Nla.BLOP]
singValues' a is identical to svd' a except that the none of the singular vectors are computed.
subn [Nla.BLOP]
Subtracts two possibly complex numebrs.
subs' [Nla.BLOP]
subs' l b replaces the contents of the matrix b by l-1b.
subsT' [Nla.BLOP]
subsT' l b replaces the contents of the matrix b with that of (transpose l)-1b.
svd' [Nla.BLOP]
svd' a returns the economy SVD of a, destroying its contents in the process.
svdL' [Nla.BLOP]
svdL' a is identical svd' a except that the right singular vectors are not calculated.
svdR' [Nla.BLOP]
svdR' a is identical to svd' a except that the left singular vectors are not calculated.

T
toInt [Nla.BLOP]
toInt z returns the integer part of the real part of (possibly) complex number z.
transp [Nla.BLOP]
transp a returns a new matrix formed by conjugate-transposing a.
transp' [Nla.BLOP]
transp' a b replaces the contents of b with the conjugate-transpose of a.

Z
zero [Nla.BLOP]
Either the real or complex zero.
zeros [Nla.BLOP]
zeros m n creates a m by n zero matrix.