|
cMHN 1.2
C++ library for learning MHNs with pRC
|
Class representing an LU solver for linear equations A*x=b. More...
#include <lu.hpp>
Public Member Functions | |
| template<Operator::Transform OT = Operator::Transform::None, Operator::Restrict OR = Operator::Restrict::None, Operator::Hint OH = Operator::Hint::None, class XA , class RA = RemoveConstReference<XA>, class XB , class RB = RemoveReference<XB>, class XX = decltype(zero<RB>()), class RX = RemoveReference<XX>> requires IsInvocable<Apply<OT, OR, OH>, XA, XX> | |
| constexpr auto | operator() (XA &&A, XB &&b) const |
| Solves the linear system A*x=b using an LU decomposition. | |
Class representing an LU solver for linear equations A*x=b.
This solver utilizes the LU decomposition to solve linear equations exactly.
|
inlineconstexpr |
Solves the linear system A*x=b using an LU decomposition.
| OT | Operator::Transform, indicates if the operator should be transformed before application (default is Operator::Transform::None) |
| OR | Operator::Restrict, indicates if a restriction should be applied to the operator before application (default is Operator::Restrict::None) |
| H | Operator::Hint, indicates if the matrix has a special format (e.g., lower triangular) (default is Operator::Hint::None) |
| XA | pRC tensorish class (inferred) |
| XB | pRC tensorish class (inferred) |
| A | object of class XA, operator of the linear equation |
| b | object of class XB, right hand side of the linear equation |