Base class of any skyline matrices or skyline expressions. More...
#include <SkylineMatrixBase.h>
Public Types | |
enum | { RowsAtCompileTime, ColsAtCompileTime, SizeAtCompileTime, MaxRowsAtCompileTime, MaxColsAtCompileTime, MaxSizeAtCompileTime, IsVectorAtCompileTime, Flags, CoeffReadCost, IsRowMajor } |
typedef internal::index < StorageKind >::type | Index |
typedef internal::traits < Derived >::Scalar | Scalar |
typedef internal::traits < Derived >::StorageKind | StorageKind |
Public Member Functions | |
template<typename OtherDerived > | |
void | assignGeneric (const OtherDerived &other) |
Index | cols () const |
const internal::eval< Derived, IsSkyline >::type | eval () const |
template<typename DenseDerived > | |
void | evalTo (MatrixBase< DenseDerived > &dst) const |
Index | innerSize () const |
bool | isRValue () const |
Derived & | markAsRValue () |
Index | nonZeros () const |
template<typename OtherDerived > | |
const SkylineProductReturnType < Derived, OtherDerived > ::Type | operator* (const MatrixBase< OtherDerived > &other) const |
Derived & | operator= (const Derived &other) |
template<typename OtherDerived > | |
Derived & | operator= (const SkylineMatrixBase< OtherDerived > &other) |
template<typename Lhs , typename Rhs > | |
Derived & | operator= (const SkylineProduct< Lhs, Rhs, SkylineTimeSkylineProduct > &product) |
Index | outerSize () const |
Index | rows () const |
Index | size () const |
Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime > | toDense () const |
Protected Attributes | |
bool | m_isRValue |
Friends | |
std::ostream & | operator<< (std::ostream &s, const SkylineMatrixBase &m) |
Base class of any skyline matrices or skyline expressions.
Derived |
anonymous enum |
RowsAtCompileTime |
The number of rows at compile-time. This is just a copy of the value provided by the Derived type. If a value is not known at compile-time, it is set to the Dynamic constant.
|
ColsAtCompileTime |
The number of columns at compile-time. This is just a copy of the value provided by the Derived type. If a value is not known at compile-time, it is set to the Dynamic constant.
|
SizeAtCompileTime |
This is equal to the number of coefficients, i.e. the number of rows times the number of columns, or to Dynamic if this is not known at compile-time.
|
IsVectorAtCompileTime |
This is set to true if either the number of rows or the number of columns is known at compile-time to be equal to 1. Indeed, in that case, we are dealing with a column-vector (if there is only one column) or with a row-vector (if there is only one row). |
Flags |
This stores expression Flags flags which may or may not be inherited by new expressions constructed from this one. See the list of flags. |
CoeffReadCost |
This is a rough measure of how expensive it is to read one coefficient from this expression. |
Reimplemented from EigenBase< Derived >.
Reimplemented in SkylineMatrix< _Scalar, _Options >.
Referenced by SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::innerSize(), SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::outerSize(), and SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::size().
const internal::eval<Derived, IsSkyline>::type eval | ( | ) | const [inline] |
Notice that in the case of a plain matrix or vector (not an expression) this function just returns a const reference, in order to avoid a useless copy.
Reimplemented in SkylineMatrix< _Scalar, _Options >.
Reimplemented in SkylineMatrix< _Scalar, _Options >.
Reimplemented in SkylineMatrix< _Scalar, _Options >.
Reimplemented from EigenBase< Derived >.
Reimplemented in SkylineMatrix< _Scalar, _Options >.
Referenced by SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::innerSize(), SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::outerSize(), and SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::size().
Reimplemented from EigenBase< Derived >.