MatrixReplacement Class Reference
+ Inheritance diagram for MatrixReplacement:

Public Types

enum  { ColsAtCompileTime = Eigen::Dynamic , MaxColsAtCompileTime = Eigen::Dynamic , IsRowMajor = false }
 
typedef double Scalar
 
typedef double RealScalar
 
typedef int StorageIndex
 
- Public Types inherited from Eigen::EigenBase< MatrixReplacement >
typedef Eigen::Index Index
 The interface type of indices. More...
 
typedef internal::traits< MatrixReplacement >::StorageKind StorageKind
 

Public Member Functions

Index rows () const
 
Index cols () const
 
template<typename Rhs >
Eigen::Product< MatrixReplacement, Rhs, Eigen::AliasFreeProductoperator* (const Eigen::MatrixBase< Rhs > &x) const
 
 MatrixReplacement ()
 
void attachMyMatrix (const SparseMatrix< double > &mat)
 
const SparseMatrix< doublemy_matrix () const
 
- Public Member Functions inherited from Eigen::EigenBase< MatrixReplacement >
constexpr EIGEN_DEVICE_FUNC MatrixReplacementderived ()
 
constexpr EIGEN_DEVICE_FUNC const MatrixReplacementderived () const
 
EIGEN_DEVICE_FUNC MatrixReplacementconst_cast_derived () const
 
EIGEN_DEVICE_FUNC const MatrixReplacementconst_derived () const
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index size () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC void evalTo (Dest &dst) const
 
EIGEN_DEVICE_FUNC void addTo (Dest &dst) const
 
EIGEN_DEVICE_FUNC void subTo (Dest &dst) const
 
EIGEN_DEVICE_FUNC void applyThisOnTheRight (Dest &dst) const
 
EIGEN_DEVICE_FUNC void applyThisOnTheLeft (Dest &dst) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE DeviceWrapper< MatrixReplacement, Device > device (Device &device)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE DeviceWrapper< const MatrixReplacement, Device > device (Device &device) const
 

Private Attributes

const SparseMatrix< double > * mp_mat
 

Member Typedef Documentation

◆ RealScalar

◆ Scalar

◆ StorageIndex

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ColsAtCompileTime 
MaxColsAtCompileTime 
IsRowMajor 
@ ColsAtCompileTime
Definition: matrixfree_cg.cpp:26
@ IsRowMajor
Definition: matrixfree_cg.cpp:26
@ MaxColsAtCompileTime
Definition: matrixfree_cg.cpp:26
const int Dynamic
Definition: Constants.h:25

Constructor & Destructor Documentation

◆ MatrixReplacement()

MatrixReplacement::MatrixReplacement ( )
inline
37 : mp_mat(0) {}
const SparseMatrix< double > * mp_mat
Definition: matrixfree_cg.cpp:43

Member Function Documentation

◆ attachMyMatrix()

void MatrixReplacement::attachMyMatrix ( const SparseMatrix< double > &  mat)
inline
39 { mp_mat = &mat; }
Eigen::SparseMatrix< double > mat
Definition: EigenUnitTest.cpp:10

References mp_mat.

◆ cols()

◆ my_matrix()

const SparseMatrix<double> MatrixReplacement::my_matrix ( ) const
inline

◆ operator*()

template<typename Rhs >
Eigen::Product<MatrixReplacement, Rhs, Eigen::AliasFreeProduct> MatrixReplacement::operator* ( const Eigen::MatrixBase< Rhs > &  x) const
inline
32  {
34  }
Expression of the product of two arbitrary matrices or vectors.
Definition: Product.h:202
list x
Definition: plotDoE.py:28

References plotDoE::x.

◆ rows()

Member Data Documentation

◆ mp_mat

const SparseMatrix<double>* MatrixReplacement::mp_mat
private

Referenced by attachMyMatrix(), cols(), my_matrix(), and rows().


The documentation for this class was generated from the following file: