|
| VariableBlock (const VariableBlock< Mat > &values)=default |
|
VariableBlock< Mat > & | operator= (const VariableBlock< Mat > &values) |
|
| VariableBlock (VariableBlock< Mat > &&)=default |
|
VariableBlock< Mat > & | operator= (VariableBlock< Mat > &&values) |
|
| VariableBlock (Mat &mat) |
|
| VariableBlock (Mat &mat, int rowOffset, int colOffset, int blockRows, int blockCols) |
|
| VariableBlock (Mat &mat, Slice rowSlice, int rowSliceLength, Slice colSlice, int colSliceLength) |
|
VariableBlock< Mat > & | operator= (double value) |
|
void | SetValue (double value) |
|
template<typename Derived > |
VariableBlock< Mat > & | operator= (const Eigen::MatrixBase< Derived > &values) |
|
template<typename Derived >
requires std::same_as<typename Derived::Scalar, double> |
void | SetValue (const Eigen::MatrixBase< Derived > &values) |
|
VariableBlock< Mat > & | operator= (const Mat &values) |
|
VariableBlock< Mat > & | operator= (Mat &&values) |
|
Variable & | operator() (int row, int col) |
|
const Variable & | operator() (int row, int col) const |
|
Variable & | operator() (int row) |
|
const Variable & | operator() (int row) const |
|
VariableBlock< Mat > | Block (int rowOffset, int colOffset, int blockRows, int blockCols) |
|
const VariableBlock< const Mat > | Block (int rowOffset, int colOffset, int blockRows, int blockCols) const |
|
VariableBlock< Mat > | operator() (Slice rowSlice, Slice colSlice) |
|
const VariableBlock< const Mat > | operator() (Slice rowSlice, Slice colSlice) const |
|
VariableBlock< Mat > | operator() (Slice rowSlice, int rowSliceLength, Slice colSlice, int colSliceLength) |
|
const VariableBlock< const Mat > | operator() (Slice rowSlice, int rowSliceLength, Slice colSlice, int colSliceLength) const |
|
VariableBlock< Mat > | Segment (int offset, int length) |
|
const VariableBlock< Mat > | Segment (int offset, int length) const |
|
VariableBlock< Mat > | Row (int row) |
|
VariableBlock< const Mat > | Row (int row) const |
|
VariableBlock< Mat > | Col (int col) |
|
VariableBlock< const Mat > | Col (int col) const |
|
VariableBlock< Mat > & | operator*= (const VariableBlock< Mat > &rhs) |
|
VariableBlock & | operator*= (double rhs) |
|
VariableBlock< Mat > & | operator/= (const VariableBlock< Mat > &rhs) |
|
VariableBlock< Mat > & | operator/= (double rhs) |
|
VariableBlock< Mat > & | operator+= (const VariableBlock< Mat > &rhs) |
|
VariableBlock< Mat > & | operator-= (const VariableBlock< Mat > &rhs) |
|
std::remove_cv_t< Mat > | T () const |
|
int | Rows () const |
|
int | Cols () const |
|
double | Value (int row, int col) |
|
double | Value (int index) |
|
Eigen::MatrixXd | Value () |
|
std::remove_cv_t< Mat > | CwiseTransform (function_ref< Variable(const Variable &x)> unaryOp) const |
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
const_iterator | cbegin () const |
|
const_iterator | cend () const |
|
size_t | size () const |
|
template<
typename Mat>
class sleipnir::VariableBlock< Mat >
A submatrix of autodiff variables with reference semantics.
- Template Parameters
-
Mat | The type of the matrix whose storage this class points to. |