module LA
Included Modules
Defined in:
linalg.crlinalg/banded.cr
linalg/cholesky.cr
linalg/eig.cr
linalg/expm.cr
linalg/lapack_helper.cr
linalg/linalg.cr
linalg/lu.cr
linalg/matfun.cr
linalg/mult.cr
linalg/qr.cr
linalg/rq_lq_ql.cr
linalg/schur.cr
matrix/banded_matrix.cr
matrix/flag_checks.cr
matrix/flags.cr
matrix/general_matrix.cr
matrix/iteration.cr
matrix/matrix.cr
matrix/special_matrix.cr
matrix/submatrix.cr
Class Method Summary
- .cho_solve(a, b, *, overwrite_b = false)
- .coshm(mat)
- .cosm(mat)
- .eigs(a, b, *, need_left : Bool, need_right : Bool, overwrite_a = false, overwrite_b = false)
- .expm(mat)
-
.inv(matrix, *, overwrite_a = false)
Calculate matrix inversion
- .lapack_version
-
.lstsq(a, b, method : LSMethod = LSMethod::Auto, *, overwrite_a = false, overwrite_b = false, cond = -1)
See
#lstsq
Matrix.lstsq(a,b)
is an alias fora.lstsq(b)
- .qz(a, b, *, overwrite_a = false, overwrite_b = false)
- .sinhm(mat)
- .sinm(mat)
-
.solve(a, b, *, overwrite_a = false, overwrite_b = false)
See
#solve
Matrix.solve(a,b)
is an alias fora.solve(b)
-
.solvels(a, b, *, overwrite_a = false, overwrite_b = false, cond = -1)
See
#solvels
Matrix.solvels(a,b)
is an alias fora.solvels(b)
-
.svd(matrix, *, overwrite_a = false)
See
#svd
Matrix.svd(a)
is an alias fora.svd
- .tanhm(mat)
- .tanm(mat)
Instance Method Summary
Class Method Detail
def self.eigs(a, b, *, need_left : Bool, need_right : Bool, overwrite_a = false, overwrite_b = false)
#
def self.inv(matrix, *, overwrite_a = false)
#
Calculate matrix inversion
if overwrite_a
is true, source matrix isn't needed anymore and can be overriden in process
See #inv!
for details of algorithm
def self.lstsq(a, b, method : LSMethod = LSMethod::Auto, *, overwrite_a = false, overwrite_b = false, cond = -1)
#
See #lstsq
Matrix.lstsq(a,b)
is an alias for a.lstsq(b)
See #solve
Matrix.solve(a,b)
is an alias for a.solve(b)
See #solvels
Matrix.solvels(a,b)
is an alias for a.solvels(b)