Inherits SuperMatrix.
Definition at line 117 of file SuperLUSupport.h.
◆ SluMatrix() [1/2]
Eigen::SluMatrix::SluMatrix |
( |
| ) |
|
|
inline |
◆ SluMatrix() [2/2]
Eigen::SluMatrix::SluMatrix |
( |
const SluMatrix & |
other | ) |
|
|
inline |
◆ Map() [1/2]
template<typename MatrixType >
Definition at line 177 of file SuperLUSupport.h.
182 res.setStorageType(SLU_DN);
186 res.nrow = internal::convert_index<int>(
mat.rows());
187 res.ncol = internal::convert_index<int>(
mat.cols());
189 res.storage.lda = internal::convert_index<int>(MatrixType::IsVectorAtCompileTime ?
mat.size() :
mat.outerStride());
190 res.storage.values = (
void*)(
mat.data());
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
Matrix< float, 1, Dynamic > MatrixType
internal::traits< Derived >::Scalar Scalar
const unsigned int RowMajorBit
◆ Map() [2/2]
template<typename MatrixType >
Definition at line 195 of file SuperLUSupport.h.
201 res.setStorageType(SLU_NR);
202 res.nrow = internal::convert_index<int>(
mat.cols());
203 res.ncol = internal::convert_index<int>(
mat.rows());
207 res.setStorageType(SLU_NC);
208 res.nrow = internal::convert_index<int>(
mat.rows());
209 res.ncol = internal::convert_index<int>(
mat.cols());
214 res.storage.nnz = internal::convert_index<int>(
mat.nonZeros());
215 res.storage.values =
mat.valuePtr();
216 res.storage.innerInd =
mat.innerIndexPtr();
217 res.storage.outerInd =
mat.outerIndexPtr();
222 if (
int(MatrixType::Flags) & int(
Upper))
224 if (
int(MatrixType::Flags) & int(
Lower))
227 eigen_assert(((
int(MatrixType::Flags) &
int(
SelfAdjoint))==0) &&
"SelfAdjoint matrix shape not supported by SuperLU");
◆ operator=()
Definition at line 131 of file SuperLUSupport.h.
133 SuperMatrix::operator=(
static_cast<const SuperMatrix&
>(other));
◆ setScalarType()
template<typename Scalar >
void Eigen::SluMatrix::setScalarType |
( |
| ) |
|
|
inline |
Definition at line 160 of file SuperLUSupport.h.
162 if (internal::is_same<Scalar,float>::value)
164 else if (internal::is_same<Scalar,double>::value)
166 else if (internal::is_same<Scalar,std::complex<float> >::value)
168 else if (internal::is_same<Scalar,std::complex<double> >::value)
172 eigen_assert(
false &&
"Scalar type not supported by SuperLU");
◆ setStorageType()
void Eigen::SluMatrix::setStorageType |
( |
Stype_t |
t | ) |
|
|
inline |
◆ innerInd
int* Eigen::SluMatrix::innerInd |
◆ lda
int Eigen::SluMatrix::lda |
◆ nnz
int Eigen::SluMatrix::nnz |
◆ outerInd
int* Eigen::SluMatrix::outerInd |
struct { ... } Eigen::SluMatrix::storage |
◆ values
void* Eigen::SluMatrix::values |
The documentation for this struct was generated from the following file: