kaleidic.lubeck2

Lubeck 2 - @nogc Linear Algebra

Members

Enums

DeviationEstimator
enum DeviationEstimator
MeanEstimator
enum MeanEstimator

Functions

centerColumns
Slice!(RCI!T, 2) centerColumns(Slice!(const(T)*, 2, kind) matrix, Slice!(RCI!T) mean, MeanEstimator est)
Slice!(RCI!T) centerColumns(Slice!(const(T)*) col, T mean, MeanEstimator est)
Slice!(RCI!T) centerColumns(Slice!(RCI!T) col, T mean, MeanEstimator est)
Slice!(RCI!T, 2) centerColumns(Slice!(RCI!T, 2, kind) matrix, Slice!(RCI!T) mean, MeanEstimator est)

Mean Centring of raw data.

eigen
EigenResult!(realType!T) eigen(Slice!(const(T)*, 2, kind) a)
Undocumented in source. Be warned that the author may not have intended to support it.
eigen
EigenResult!(realType!T) eigen(Slice!(RCI!T, 2, kind) a)
Undocumented in source. Be warned that the author may not have intended to support it.
eye
Slice!(RCI!T, 2) eye(size_t n, size_t m)

Identity matrix.

median
T median(Slice!(RCI!T) data)
T median(Slice!(const(T)*) data)
mldivide
Slice!(RCI!T, 2) mldivide(Slice!(const(T)*, 2, kindA) a, Slice!(const(T)*, 2, kindB) b)
Slice!(RCI!(Unqual!A), 2) mldivide(Slice!(RCI!A, 2, kindA) a, Slice!(RCI!B, 2, kindB) b)
Slice!(RCI!(Unqual!A), 1) mldivide(Slice!(RCI!A, 2, kindA) a, Slice!(RCI!B, 1, kindB) b)
Slice!(RCI!T, 1) mldivide(Slice!(const(T)*, 2, kindA) a, Slice!(const(T)*, 1, kindB) b)

Solve systems of linear equations AX = B for X. Computes minimum-norm solution to a linear least squares problem if A is not a square matrix.

mlinverse
Slice!(RCI!A, 2) mlinverse(Slice!(RCI!A, 2, kindA) a)

Solve systems of linear equations AX = I for X, where I is the identity. X is the right inverse of A if it exists, it's also a (Moore-Penrose) Pseudoinverse if A is invertible then X is the inverse. Computes minimum-norm solution to a linear least squares problem if A is not a square matrix.

mlinverse
Slice!(RCI!A, 2) mlinverse(Slice!(const(A)*, 2, kindA) a)
Undocumented in source. Be warned that the author may not have intended to support it.
mtimes
Slice!(RCI!T, 2) mtimes(Slice!(const(T)*, 2, kindA) a, Slice!(const(T)*, 2, kindB) b)
Slice!(RCI!(Unqual!A), 2) mtimes(Slice!(RCI!A, 2, kindA) a, Slice!(RCI!B, 2, kindB) b)

General matrix-matrix multiplication. Allocates result to using Mir refcounted arrays.

mtimes
Slice!(RCI!(Unqual!A), 2) mtimes(Slice!(RCI!A, 2, kindA) a, Slice!(const(B)*, 2, kindB) b)
Undocumented in source.
mtimes
Slice!(RCI!(Unqual!A), 2) mtimes(Slice!(const(A)*, 2, kindA) a, Slice!(RCI!B, 2, kindB) b)
Undocumented in source.
normalizeColumns
Slice!(RCI!T, 2) normalizeColumns(Slice!(const(T)*, 2, kind) matrix, Slice!(RCI!T) stdDev, DeviationEstimator devEst)
Slice!(RCI!T, 2) normalizeColumns(Slice!(RCI!T, 2, kind) matrix, Slice!(RCI!T) stdDev, DeviationEstimator devEst)

Normalization of raw data.

pca
PcaResult!T pca(Slice!(const(T)*, 2, kind) data, DeviationEstimator devEst, MeanEstimator meanEst, Flag!"fixEigenvectorDirections" fixEigenvectorDirections)

Principal component analysis of raw data. Template: correlation = Flag to use correlation matrix instead of covariance

pca
PcaResult!T pca(Slice!(RCI!T, 2, kind) data, DeviationEstimator devEst, MeanEstimator meanEst, Flag!"fixEigenvectorDirections" fixEigenvectorDirections)
Undocumented in source.
qr
QRResult!T qr(Slice!(RCI!T, 2, kind) matrix)
Undocumented in source. Be warned that the author may not have intended to support it.
qr
QRResult!T qr(Slice!(const(T)*, 2, kind) matrix)
Undocumented in source. Be warned that the author may not have intended to support it.
svd
SvdResult!T svd(Slice!(const(T)*, 2, kind) a, Flag!"slim" slim)

Computes the singular value decomposition.

svd
SvdResult!T svd(Slice!(RCI!T, 2, kind) matrix, Flag!"slim" slim)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

EigenResult
struct EigenResult(T)
Undocumented in source.
PcaResult
struct PcaResult(T)

Principal component analysis result.

QRResult
struct QRResult(T)
Undocumented in source.
SvdResult
struct SvdResult(T)

Singuar value decomposition result

Meta