10#ifndef EIGEN_MAPPED_SPARSEMATRIX_H
11#define EIGEN_MAPPED_SPARSEMATRIX_H
26template<
typename _Scalar,
int _Flags,
typename _StorageIndex>
31template<
typename _Scalar,
int _Flags,
typename _StorageIndex>
33 :
public Map<SparseMatrix<_Scalar, _Flags, _StorageIndex> >
39 typedef typename Base::StorageIndex StorageIndex;
40 typedef typename Base::Scalar Scalar;
42 inline MappedSparseMatrix(
Index rows,
Index cols,
Index nnz, StorageIndex* outerIndexPtr, StorageIndex* innerIndexPtr, Scalar* valuePtr, StorageIndex* innerNonZeroPtr = 0)
43 :
Base(rows, cols, nnz, outerIndexPtr, innerIndexPtr, valuePtr, innerNonZeroPtr)
52template<
typename _Scalar,
int _Options,
typename _StorageIndex>
54 :
evaluator<SparseCompressedBase<MappedSparseMatrix<_Scalar,_Options,_StorageIndex> > >
A matrix or vector expression mapping an existing array of data.
Definition Map.h:96
Sparse matrix.
Definition MappedSparseMatrix.h:34
~MappedSparseMatrix()
Empty destructor.
Definition MappedSparseMatrix.h:47
Base class for all dense matrices, vectors, and expressions.
Definition MatrixBase.h:50
Namespace containing all symbols from the Eigen library.
Definition LDLT.h:16
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition Meta.h:74
Definition CoreEvaluators.h:91
Definition ForwardDeclarations.h:17