Funktionen und Formeln  

Lineare Algebra  

Lineare Algebra

choleskyGetL

Returns the lower triangular factor L of a Cholesky decomposition, such that L*L'=A.

Collection choleskyGetL(Collection A)

Parameter
A : Matrix to be decomposed, such that L*L'=A

choleskySolve

Returns the solution x of the problem Ax = b for x using Cholesky decomposition. x can be a matrix or vector.

Collection choleskySolve(Collection A, Collection b)

Parameter
A : Matrix A of problem Ax=b
b : Vector (or matrix) b of the problem Ax=b

condition

Returns the condition number of the matrix: max(S)/min(S).

float condition(Collection X)

Parameter
X : The matrix to be analyzed.

cov

Berechnet das Matrixprodukt aus den gegebnenen Matrizen.

Collection cov(Collection m1, Collection m2)

Parameter
m1 : Die erste Matrix
m2 : Die zweite Matrix

determinant

Returns the determinant of the matrix.

float determinant(Collection X)

Parameter
X : Matrix for which the determinant is sought.

eigenproblemGetD

Returns matrix D of A = V*D*V'.

Collection eigenproblemGetD(Collection X)

Parameter
X : The matrix

eigenvalues

Berechnet die Eigenwerte einer Matrix als Vektor bzw. als einzelnen Skalar.

Collection eigenvalues(Collection X, boolean complex=false, int index=0.0, boolean ahp=false)

Parameter
X : Die zu testende Matrix.
complex : wahr: Imaginärteil der Eigenwerte (optional)
index : Index (0 : alle, 1 : größter, 2...)
ahp : wahr: jede Gruppe einzeln berechnen

eigenvectors

Returns a matrix listing the eigenvectors of the given matrix.as columns (in dimension 1) and the values in dimension 0.

Collection eigenvectors(Collection X, int index=0.0, boolean ahp=false)

Parameter
X : The matrix
index : Index (0 : alle, 1 : größter, 2...)
ahp : wahr: jede Gruppe einzeln berechnen

inverse

Returns the inverse of the matrix. The matrix must be invertible, otherwise the result is undefined.

Collection inverse(Collection X)

Parameter
X : The matrix for which the Inverse is sought.

isFullRank

Returns true if the matrix is of full rank

boolean isFullRank(Collection X)

Parameter
X : The Matrix to be tested.

isNonsingular

Returns true if the matrix is nonsingular

boolean isNonsingular(Collection X)

Parameter
X : The Matrix to be tested.

isSPD

Returns true if the matrix is symmetric positive definite.

boolean isSPD(Collection X)

Parameter
X : The matrix to be analyzed

luGetL

Returns matrix L of the LU decomposition of the given matrix.

Collection luGetL(Collection X)

Parameter
X : The matrix.

luGetPivot

Returns the Pivot vector of the LU decomposition of the given matrix.

Collection luGetPivot(Collection X)

Parameter
X : TheMatrix.

luGetU

Returns matrix U of the LU decomposition of the given matrix.

Collection luGetU(Collection X)

Parameter
X : The matrix.

luSolve

Returns solution x of the problem Ax = b for x using LU decomposition.

Collection luSolve(Collection A, Collection b)

Parameter
A : Matrix A of the problem Ax = b. A can be an m-by-n matrix with m<>n.
b : Vector (or matrix) b of the problem Ax = b.

matrixProduct

Berechnet das Matrixprodukt aus den gegebnenen Matrizen.

Collection matrixProduct(Collection m1, Collection m2)

Parameter
m1 : Die erste Matrix
m2 : Die zweite Matrix

norm2

Returns the 2 norm (max(S)) of the matrix

float norm2(Collection X)

Parameter
X : The matrix to be analyzed.

nsum

Adds all negative numbers in a container.

Object nsum(Collection x)

Parameter
x : is the container to sum up.

prod

Multipliziert alle Zahlen in der gegebenen Matrix- oder Vektor-Komponente und liefert das Produkt zurück.

Object prod(Collection x)

Parameter
x : Eine Matrix oder ein Vektor

pseudoInverse

Returns the More-Penrose pseudoinverse of the matrix.

Collection pseudoInverse(Collection X)

Parameter
X : The matrix for which the Inverse is sought.

psum

Adds all positive numbers in a container.

Object psum(Collection x)

Parameter
x : is the container to sum up.

qrGetHouseholder

Returns the Householder vectors from the QR decomposition of the given matrix.

Collection qrGetHouseholder(Collection X)

Parameter
X : The matrix.

qrGetQ

Returns matrix Q of the QR decomposition of the given matrix.

Collection qrGetQ(Collection X)

Parameter
X : The matrix.

qrGetR

Returns matrix R of the QR decomposition of the given matrix.

Collection qrGetR(Collection X)

Parameter
X : The matrix.

qrSolve

Returns solution x of the problem Ax = b for x using QR decomposition.

Collection qrSolve(Collection A, Collection b)

Parameter
A : Matrix A of the problem Ax = b.
b : Vector (or matrix) b of the problem Ax = b.

rank

Berechnet Rangfolge-Nummern für eine Sequenz, entsprechend den Werten eines Vektors. Ist der &#039;reverse&#039; Parameter nicht gesetzt, so bekommt der höchste Wert die Nummer 1, ansonsten der niedrigste.

int rank(Collection X)

Parameter
X : Berechnet Rangfolge-Nummern für eine Sequenz, entsprechend den Werten eines Vektors. Ist der 'reverse' Parameter nicht gesetzt, so bekommt der höchste Wert die Nummer 1, ansonsten der niedrigste.

sum

Addiert alle Zahlen in einer Matrix oder einem Vektor.

Object sum(Collection x, Collection x)

Parameter
x : is the container to sum up
x : is the container to sum up

svdGetS

Returns matrix S of the SVD decomposition of the given matrix.

Collection svdGetS(Collection X)

Parameter
X : The matrix.

svdGetSV

Returns a vector of singular values. Values are ordered from large to small.

Collection svdGetSV(Collection X)

Parameter
X : The matrix.

svdGetU

Returns matrix U of the SVD decomposition of the given matrix.

Collection svdGetU(Collection X)

Parameter
X : The matrix.

svdGetV

Returns matrix V of the SVD decomposition of the given matrix.

Collection svdGetV(Collection X)

Parameter
X : The matrix.

svdSolve

Solves the problem Ax = b for x using singular value decomposition

Collection svdSolve(Collection A, Collection b)

Parameter
A : The matrix A of problem Ax=b.
b : Vector (or matrix) b of the problem Ax = b.

transposed

Liefert die Transponierte der gegebenen quadratischen Matrix

Collection transposed(Collection matrix)

Parameter
matrix : ist die quadratische Matrix, deren Transponierte gesucht wird.

Feedback

War dieser Artikel hilfreich?

Falls Sie fragen zu diesem Thema oder Verbesserungsvorschläge haben, lassen Sie es uns bitte wissen:

=