10 #ifndef EIGEN_MAPPED_SPARSEMATRIX_H 11 #define EIGEN_MAPPED_SPARSEMATRIX_H 26 template<
typename _Scalar,
int _Flags,
typename _StorageIndex>
31 template<
typename _Scalar,
int _Flags,
typename _StorageIndex>
33 :
public Map<SparseMatrix<_Scalar, _Flags, _StorageIndex> >
40 typedef typename Base::Scalar
Scalar;
43 : Base(rows, cols, nnz, outerIndexPtr, innerIndexPtr, valuePtr, innerNonZeroPtr)
52 template<
typename _Scalar,
int _Options,
typename _StorageIndex>
54 :
evaluator<SparseCompressedBase<MappedSparseMatrix<_Scalar,_Options,_StorageIndex> > >
60 explicit evaluator(
const XprType &mat) : Base(mat) {}
67 #endif // EIGEN_MAPPED_SPARSEMATRIX_H A matrix or vector expression mapping an existing array of data.
evaluator< SparseCompressedBase< XprType > > Base
Base::StorageIndex StorageIndex
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
MappedSparseMatrix(Index rows, Index cols, Index nnz, StorageIndex *outerIndexPtr, StorageIndex *innerIndexPtr, Scalar *valuePtr, StorageIndex *innerNonZeroPtr=0)
MappedSparseMatrix< _Scalar, _Options, _StorageIndex > XprType
Map< SparseMatrix< _Scalar, _Flags, _StorageIndex > > Base
evaluator(const XprType &mat)