1#ifndef CGMRES__TYPES_HPP_
2#define CGMRES__TYPES_HPP_
4#ifndef EIGEN_STACK_ALLOCATION_LIMIT
5#define EIGEN_STACK_ALLOCATION_LIMIT 0
8#include "cgmres/thirdparty/eigen/Eigen/Core"
20template <
int rows,
int cols>
21using Matrix = Eigen::Matrix<Scalar, rows, cols>;
27using Vector = Eigen::Matrix<Scalar, size, 1>;
32template <
class MatrixType>
38using MatrixX = Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic>;
43using VectorX = Eigen::Matrix<Scalar, Eigen::Dynamic, 1>;
48using VectorXi = Eigen::Matrix<int, Eigen::Dynamic, 1>;
53template <
class MatrixType>
54using Map = Eigen::Map<MatrixType>;
Definition continuation_gmres.hpp:11
Eigen::Matrix< Scalar, rows, cols > Matrix
Alias of Eigen::Matrix.
Definition types.hpp:21
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > VectorX
Alias of Eigen::VectorXd (dynamic-size vector).
Definition types.hpp:43
Eigen::Map< MatrixType > Map
Alias of Eigen::Map.
Definition types.hpp:54
Eigen::Matrix< int, Eigen::Dynamic, 1 > VectorXi
Alias of Eigen::VectorXi (dynamic-size integer vector).
Definition types.hpp:48
Eigen::Matrix< Scalar, size, 1 > Vector
Alias of Eigen::Vector.
Definition types.hpp:27
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Alias of Eigen::MatrixXd (dynamic-size matrix).
Definition types.hpp:38
double Scalar
Alias of double.
Definition types.hpp:15
Eigen::MatrixBase< MatrixType > MatrixBase
Alias of Eigen::MatrixBase.
Definition types.hpp:33