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