NEML2 1.4.0
|
Functions | |
Tensor | vector_norm (const Tensor &v) |
Vector norm of a vector. Falls back to math::abs is v is a Scalar. | |
Tensor | inv (const Tensor &m) |
Inverse of a square matrix. | |
Tensor | solve (const Tensor &A, const Tensor &B) |
Solve the linear system A X = B. | |
std::tuple< Tensor, Tensor > | lu_factor (const Tensor &A, bool pivot) |
Tensor | lu_solve (const Tensor &LU, const Tensor &pivots, const Tensor &B, bool left, bool adjoint) |
Tensor lu_solve | ( | const Tensor & | LU, |
const Tensor & | pivots, | ||
const Tensor & | B, | ||
bool | left, | ||
bool | adjoint ) |