Implement a QR solver wrapper
This commit is contained in:
parent
bb5d739e5d
commit
bb47b07422
10 changed files with 90 additions and 6 deletions
|
|
@ -193,6 +193,11 @@ namespace rotgen
|
|||
void transposeInPlace() { base().transposeInPlace(); }
|
||||
void adjointInPlace() { base().adjointInPlace(); }
|
||||
|
||||
auto qr_solve(map const& rhs) const
|
||||
{
|
||||
return concrete_type(base().colPivHouseholderQr().solve(rhs.base()));
|
||||
};
|
||||
|
||||
static auto Zero() requires( requires {Ref::Zero();} ) { return Ref::Zero(); }
|
||||
static auto Zero(int rows, int cols) { return Ref::Zero(rows,cols); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue