MOAB
4.9.3pre
|
#include <SparseRef.h>
Public Types | |
typedef SparseMapBase< Derived > | Base |
Public Member Functions | |
SparseRefBase () | |
Protected Member Functions | |
template<typename Expression > | |
void | construct (Expression &expr) |
Definition at line 83 of file SparseRef.h.
typedef SparseMapBase<Derived> Eigen::internal::SparseRefBase< Derived >::Base |
Reimplemented in Eigen::Ref< const SparseVector< MatScalar, MatOptions, MatIndex >, Options, StrideType >, Eigen::Ref< SparseVector< MatScalar, MatOptions, MatIndex >, Options, StrideType >, Eigen::Ref< const SparseMatrix< MatScalar, MatOptions, MatIndex >, Options, StrideType >, and Eigen::Ref< SparseMatrix< MatScalar, MatOptions, MatIndex >, Options, StrideType >.
Definition at line 88 of file SparseRef.h.
Eigen::internal::SparseRefBase< Derived >::SparseRefBase | ( | ) | [inline] |
Definition at line 91 of file SparseRef.h.
void Eigen::internal::SparseRefBase< Derived >::construct | ( | Expression & | expr | ) | [inline, protected] |
Definition at line 98 of file SparseRef.h.
{ if(expr.outerIndexPtr()==0) ::new (static_cast<Base*>(this)) Base(expr.size(), expr.nonZeros(), expr.innerIndexPtr(), expr.valuePtr()); else ::new (static_cast<Base*>(this)) Base(expr.rows(), expr.cols(), expr.nonZeros(), expr.outerIndexPtr(), expr.innerIndexPtr(), expr.valuePtr(), expr.innerNonZeroPtr()); }