JuliaF32LinearAlgebraΒΆ

jla32.spad line 1 [edit on github]

Linear Algebra functions computed using Julia and its algorithms. 32 bits version.

conditionNumber: (JuliaFloat32Matrix, JuliaFloat32) -> JuliaFloat32

conditionNumber(m, p) computes the p-condition number of m.

conditionNumber: JuliaFloat32Matrix -> JuliaFloat32

conditionNumber(m) computes the condition number of m.

condSkeel: JuliaFloat32Matrix -> JuliaFloat32

condSkeel(m) computes the Skeel condition number of m.

eigen!: JuliaFloat32Matrix -> Record(values: JuliaComplexF32Vector, vectors: JuliaComplexF32Matrix)

eigen!(m) computes the spectral decomposition of m but overwrites m to save memory space.

eigen: JuliaFloat32Matrix -> Record(values: JuliaComplexF32Vector, vectors: JuliaComplexF32Matrix)

eigen(m) computes the spectral decomposition of m.

eigenSystem!: JuliaFloat32Matrix -> Record(values: JuliaComplexF32Vector, leftVectors: JuliaFloat32Matrix, rightVectors: JuliaFloat32Matrix)

eigenSystem!(m) computes the spectral decomposition of m but overwrites m to save memory space. If the j-th eigenvalue (values) is real, then the left eigenvectors u(j) = column(lefVectors,j), the j-th column of lefVectors. If the j-th and (j+1)-st eigenvalues form a complex conjugate pair, then the left eigenvectors are u(j) = column(lefVectors,j) + %i*column(lefVectors,j+1) and u(j+1) = column(lefVectors,j) - %i*column((lefVectors,j+1). This applieas also to righVectors.

eigenSystem: JuliaFloat32Matrix -> Record(values: JuliaComplexF32Vector, leftVectors: JuliaFloat32Matrix, rightVectors: JuliaFloat32Matrix)

eigenSystem(m) computes the spectral decomposition of m. If the j-th eigenvalue (values) is real, then the left eigenvectors u(j) = column(lefVectors,j), the j-th column of lefVectors. If the j-th and (j+1)-st eigenvalues form a complex conjugate pair, then the left eigenvectors are u(j) = column(lefVectors,j) + %i*column(lefVectors,j+1) and u(j+1) = column(lefVectors,j) - %i*column((lefVectors,j+1). This applieas also to righVectors.

eigvals!: JuliaFloat32Matrix -> JuliaComplexF32Vector

eigvals!(m) returns the eigen values of m but overwrites m to save memory space.

eigvals: JuliaFloat32Matrix -> JuliaComplexF32Vector

eigvals(m) returns the eigen values of m.

eigvecs: JuliaFloat32Matrix -> JuliaComplexF32Matrix

eigvecs(m) returns the eigen vectors of m.

exp: JuliaFloat32Matrix -> JuliaFloat32Matrix

exp(m) returns the matrix exponential of m.

log: JuliaFloat32Matrix -> JuliaComplexF32Matrix

log(m) tries to compute the principal matrix logarithm of m. Otherwise, returns a non pricipal matrix logarithm of m if possible.

logDeterminant: JuliaFloat32Matrix -> JuliaFloat32

logDeterminant(m) computes the logarithm of the determinant of m, possibly with more accuracy and avoding nder/overflow.

lu!: JuliaFloat32Matrix -> Record(LU: JuliaFloat32Matrix, ipiv: JuliaInt64Vector)

lu!(m) computes the LU factorisation of m in m.

lu: JuliaFloat32Matrix -> Record(LU: JuliaFloat32Matrix, L: JuliaFloat32Matrix, U: JuliaFloat32Matrix, ipiv: JuliaInt64Vector)

lu(m) computes the LU factorisation of m.

luReorder!: (JuliaFloat32Matrix, JuliaInt64Vector) -> JuliaFloat32Matrix

luOrder(mat, ipiv) returns mat in-place reordered with ipiv pivot indices.

luReorder: (JuliaFloat32Matrix, JuliaInt64Vector) -> JuliaFloat32Matrix

luOrder(mat, ipiv) returns a copy of mat reordered with ipiv pivot indices.

mpInverse: JuliaFloat32Matrix -> JuliaFloat32Matrix

mpInverse(m) returns the Moore-Penrose pseudo inverse of m.

norm: (JuliaFloat32Matrix, JuliaFloat32) -> JuliaFloat32

norm(m,p) computes the p-norm of m.

norm: (JuliaFloat32Vector, JuliaFloat32) -> JuliaFloat32

norm(v,p) computes th p-norm of v.

norm: JuliaFloat32Matrix -> JuliaFloat32

norm(m) computes the 2-norm of m, also known as the Frobenius norm.

norm: JuliaFloat32Vector -> JuliaFloat32

norm(v) computes the 2-norm of v.

normalize!: JuliaFloat32Matrix -> JuliaFloat32Matrix

normalize!(m) destructively normalize m such that its norm equals to 1.

normalize!: JuliaFloat32Vector -> JuliaFloat32Vector

normalize!(v) destructively normalize v such that norm(v) equals to 1.

normalize: JuliaFloat32Matrix -> JuliaFloat32Matrix

normalize(m) returns normalized m such that its norm equals to 1.

normalize: JuliaFloat32Vector -> JuliaFloat32Vector

normalize(v) returns normalized v such that its norm equals to 1.

operatorNorm: (JuliaFloat32Matrix, JuliaFloat32) -> JuliaFloat32

operatorNorm(m,p) computes the operator norm of m induced by the vector p-norm.

operatorNorm: JuliaFloat32Matrix -> JuliaFloat32

operatorNorm(m) computes the operator norm of m induced by the vector 2-norm.

rank!: (JuliaFloat32Matrix, JuliaFloat32) -> NonNegativeInteger

rank!(m, tol) computes rank of m. Counts singular value with magnitude greater than tol but overwrites m to save memory space.

rank: (JuliaFloat32Matrix, JuliaFloat32) -> NonNegativeInteger

rank(m, tol) computes rank of m. Counts singular value with magnitude greater than tol.

solve!: (JuliaFloat32Matrix, JuliaFloat32Matrix) -> JuliaFloat32Matrix

solve!(A,B) solves the matrix equation A*X=B. Overwrites B with matrix X and returns X.

solve: (JuliaFloat32Matrix, JuliaFloat32Matrix) -> JuliaFloat32Matrix

solve(A,B) solves the matrix equation A*X=B, and returns X.

sqrt: JuliaFloat32Matrix -> JuliaComplexF32Matrix

sqrt(m) returns the principal square root of m.

svd!: JuliaFloat32Matrix -> Record(U: JuliaFloat32Matrix, sv: JuliaFloat32Vector, Vt: JuliaFloat32Matrix)

svd!(m) is the same as svd(m) but overwites a to save memory space.

svd: JuliaFloat32Matrix -> Record(U: JuliaFloat32Matrix, sv: JuliaFloat32Vector, Vt: JuliaFloat32Matrix)

svd(m) computes the singular value decomposition SVD of m such that SVD.U * diagonalMatrix(sv) * SVD.Vt = m.

svdvals!: JuliaFloat32Matrix -> JuliaFloat32Vector

svdvals!(m) returns the singular values of m but overwrites m to save memory space.

svdvals: JuliaFloat32Matrix -> JuliaFloat32Vector

svdvals(m) returns the singular values of m.

trace: JuliaFloat32Matrix -> JuliaFloat32

trace(m) computes the trace of m.

tril!: JuliaFloat32Matrix -> JuliaFloat32Matrix

tril!(m) overwrites m with its upper triangular matrix counterpart. Returns m.

tril: JuliaFloat32Matrix -> JuliaFloat32Matrix

tril(m) returns the lower triangular matrix of m

triu!: JuliaFloat32Matrix -> JuliaFloat32Matrix

triu!(m) overwrites m with its upper triangular matrix counterpart. Returns m.

triu: JuliaFloat32Matrix -> JuliaFloat32Matrix

triu(m) returns the upper triangular matrix of m.