Cantera  3.0.0
Loading...
Searching...
No Matches
eigen_dense.h
1// This file is part of Cantera. See License.txt in the top-level directory or
2// at https://cantera.org/license.txt for license and copyright information.
3
4#ifndef CT_EIGEN_DENSE_H
5#define CT_EIGEN_DENSE_H
6
7#include "cantera/base/config.h"
8#if CT_USE_SYSTEM_EIGEN
9 #if CT_USE_SYSTEM_EIGEN_PREFIXED
10 #include <eigen3/Eigen/Dense>
11 #else
12 #include <Eigen/Dense>
13 #endif
14#else
15#include "cantera/ext/Eigen/Dense"
16#endif
17
18namespace Cantera
19{
20
21//! @addtogroup matrices
22//! @{
23
24typedef Eigen::Map<Eigen::MatrixXd> MappedMatrix;
25typedef Eigen::Map<const Eigen::MatrixXd> ConstMappedMatrix;
26typedef Eigen::Map<Eigen::VectorXd> MappedVector;
27typedef Eigen::Map<const Eigen::VectorXd> ConstMappedVector;
28typedef Eigen::Map<Eigen::RowVectorXd> MappedRowVector;
29typedef Eigen::Map<const Eigen::RowVectorXd> ConstMappedRowVector;
30
31//! @}
32
33}
34
35#endif
Namespace for the Cantera kernel.
Definition AnyMap.cpp:564