|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
View over a matrix that exposes a (possibly reordered) subset of its columns. More...
#include <online_householder_qr.h>
Public Types | |
| using | VectorType = Eigen::Matrix<typename MatrixType::Scalar, Eigen::Dynamic, 1> |
Public Member Functions | |
| ColumnIndexedMatrix (Eigen::Ref< MatrixType > mat) | |
| ColumnIndexedMatrix (Eigen::Ref< MatrixType > mat, momentum::span< const Eigen::Index > colIndices) | |
| auto | col (Eigen::Index colIdx) |
| auto | rows () const |
| auto | cols () const |
| momentum::span< const Eigen::Index > | columnIndices () const |
| VectorType | transpose_times (Eigen::Ref< VectorType > b) const |
| Computes this->transpose() * b, returning a vector of length cols(). | |
View over a matrix that exposes a (possibly reordered) subset of its columns.
When constructed with a colIndices span, accessing column i of this view returns the underlying matrix's column colIndices[i]. This lets callers run QR on a column subset without copying the matrix. When constructed without indices, this is a thin pass-through to the wrapped Eigen reference.
Definition at line 38 of file online_householder_qr.h.
| using momentum::ColumnIndexedMatrix< MatrixType >::VectorType = Eigen::Matrix<typename MatrixType::Scalar, Eigen::Dynamic, 1> |
Definition at line 40 of file online_householder_qr.h.
|
inlineexplicit |
Definition at line 42 of file online_householder_qr.h.
|
inlineexplicit |
Definition at line 44 of file online_householder_qr.h.
References momentum::validateColumnIndices().
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 71 of file online_householder_qr.h.
|
inlinenodiscard |
|
inlinenodiscard |