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 thep
-condition number ofm
.
- conditionNumber: JuliaFloat32Matrix -> JuliaFloat32
conditionNumber(m)
computes the condition number ofm
.
- condSkeel: JuliaFloat32Matrix -> JuliaFloat32
condSkeel(m)
computes the Skeel condition number ofm
.
- eigen!: JuliaFloat32Matrix -> Record(values: JuliaComplexF32Vector, vectors: JuliaComplexF32Matrix)
eigen!(m)
computes the spectral decomposition ofm
but overwritesm
to save memory space.
- eigen: JuliaFloat32Matrix -> Record(values: JuliaComplexF32Vector, vectors: JuliaComplexF32Matrix)
eigen(m)
computes the spectral decomposition ofm
.
- eigenSystem!: JuliaFloat32Matrix -> Record(values: JuliaComplexF32Vector, leftVectors: JuliaFloat32Matrix, rightVectors: JuliaFloat32Matrix)
eigenSystem!(m)
computes the spectral decomposition ofm
but overwritesm
to save memory space. If thej
-th eigenvalue (values) is real, then the left eigenvectorsu
(j
) = column(lefVectors,j
), thej
-th column of lefVectors. If thej
-th and (j+1
)-st
eigenvalues form a complex conjugate pair, then the left eigenvectors areu
(j
) = column(lefVectors,j
) + %i*column(lefVectors,j+1
) andu
(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 ofm
. If thej
-th eigenvalue (values) is real, then the left eigenvectorsu
(j
) = column(lefVectors,j
), thej
-th column of lefVectors. If thej
-th and (j+1
)-st
eigenvalues form a complex conjugate pair, then the left eigenvectors areu
(j
) = column(lefVectors,j
) + %i*column(lefVectors,j+1
) andu
(j+1
) = column(lefVectors,j
) - %i*column((lefVectors,j+1
). This applieas also to righVectors.
- eigvals!: JuliaFloat32Matrix -> JuliaComplexF32Vector
eigvals!(m)
returns the eigen values ofm
but overwritesm
to save memory space.
- eigvals: JuliaFloat32Matrix -> JuliaComplexF32Vector
eigvals(m)
returns the eigen values ofm
.
- eigvecs: JuliaFloat32Matrix -> JuliaComplexF32Matrix
eigvecs(m)
returns the eigen vectors ofm
.
- exp: JuliaFloat32Matrix -> JuliaFloat32Matrix
exp(m)
returns the matrix exponential ofm
.
- log: JuliaFloat32Matrix -> JuliaComplexF32Matrix
log(m)
tries to compute the principal matrix logarithm ofm
. Otherwise, returns a non pricipal matrix logarithm ofm
if possible.
- logDeterminant: JuliaFloat32Matrix -> JuliaFloat32
logDeterminant(m)
computes the logarithm of the determinant ofm
, possibly with more accuracy and avoding nder/overflow.
- lu!: JuliaFloat32Matrix -> Record(LU: JuliaFloat32Matrix, ipiv: JuliaInt64Vector)
lu!(m)
computes the LU factorisation ofm
inm
.
- lu: JuliaFloat32Matrix -> Record(LU: JuliaFloat32Matrix, L: JuliaFloat32Matrix, U: JuliaFloat32Matrix, ipiv: JuliaInt64Vector)
lu(m)
computes the LU factorisation ofm
.
- 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 ofm
.
- norm: (JuliaFloat32Matrix, JuliaFloat32) -> JuliaFloat32
norm(m,p)
computes thep
-norm ofm
.
- norm: (JuliaFloat32Vector, JuliaFloat32) -> JuliaFloat32
norm(v,p)
computes thp
-norm ofv
.
- norm: JuliaFloat32Matrix -> JuliaFloat32
norm(m)
computes the 2-norm ofm
, also known as the Frobenius norm.
- norm: JuliaFloat32Vector -> JuliaFloat32
norm(v)
computes the 2-norm ofv
.
- normalize!: JuliaFloat32Matrix -> JuliaFloat32Matrix
normalize!(m)
destructively normalizem
such that its norm equals to 1.
- normalize!: JuliaFloat32Vector -> JuliaFloat32Vector
normalize!(v)
destructively normalizev
such that norm(v
) equals to 1.
- normalize: JuliaFloat32Matrix -> JuliaFloat32Matrix
normalize(m)
returns normalizedm
such that its norm equals to 1.
- normalize: JuliaFloat32Vector -> JuliaFloat32Vector
normalize(v)
returns normalizedv
such that its norm equals to 1.
- operatorNorm: (JuliaFloat32Matrix, JuliaFloat32) -> JuliaFloat32
operatorNorm(m,p)
computes the operator norm ofm
induced by the vectorp
-norm.
- operatorNorm: JuliaFloat32Matrix -> JuliaFloat32
operatorNorm(m)
computes the operator norm ofm
induced by the vector 2-norm.
- rank!: (JuliaFloat32Matrix, JuliaFloat32) -> NonNegativeInteger
rank!(m, tol)
computes rank ofm
. Counts singular value with magnitude greater than tol but overwritesm
to save memory space.
- rank: (JuliaFloat32Matrix, JuliaFloat32) -> NonNegativeInteger
rank(m, tol)
computes rank ofm
. Counts singular value with magnitude greater than tol.
- solve!: (JuliaFloat32Matrix, JuliaFloat32Matrix) -> JuliaFloat32Matrix
solve!(A,B)
solves the matrix equation A*X=B. OverwritesB
with matrixX
and returnsX
.
- solve: (JuliaFloat32Matrix, JuliaFloat32Matrix) -> JuliaFloat32Matrix
solve(A,B)
solves the matrix equation A*X=B, and returnsX
.
- sqrt: JuliaFloat32Matrix -> JuliaComplexF32Matrix
sqrt(m)
returns the principal square root ofm
.
- svd!: JuliaFloat32Matrix -> Record(U: JuliaFloat32Matrix, sv: JuliaFloat32Vector, Vt: JuliaFloat32Matrix)
svd!(m)
is the same assvd
(m
) but overwites a to save memory space.
- svd: JuliaFloat32Matrix -> Record(U: JuliaFloat32Matrix, sv: JuliaFloat32Vector, Vt: JuliaFloat32Matrix)
svd(m)
computes the singular value decompositionSVD
ofm
such thatSVD
.U
* diagonalMatrix(sv
) *SVD
.Vt
=m
.
- svdvals!: JuliaFloat32Matrix -> JuliaFloat32Vector
svdvals!(m)
returns the singular values ofm
but overwritesm
to save memory space.
- svdvals: JuliaFloat32Matrix -> JuliaFloat32Vector
svdvals(m)
returns the singular values ofm
.
- trace: JuliaFloat32Matrix -> JuliaFloat32
trace(m)
computes the trace ofm
.
- tril!: JuliaFloat32Matrix -> JuliaFloat32Matrix
tril!(m)
overwritesm
with its upper triangular matrix counterpart. Returnsm
.
- tril: JuliaFloat32Matrix -> JuliaFloat32Matrix
tril(m)
returns the lower triangular matrix ofm
- triu!: JuliaFloat32Matrix -> JuliaFloat32Matrix
triu!(m)
overwritesm
with its upper triangular matrix counterpart. Returnsm
.
- triu: JuliaFloat32Matrix -> JuliaFloat32Matrix
triu(m)
returns the upper triangular matrix ofm
.