1#ifndef STAN_MATH_PRIM_META_MODIFY_EIGEN_OPTIONS_HPP
2#define STAN_MATH_PRIM_META_MODIFY_EIGEN_OPTIONS_HPP
15template <
typename Mat,
int NewOptions,
typename =
void>
18template <
typename Mat,
int NewOptions>
22 = Eigen::Matrix<
typename Mat::Scalar, Mat::RowsAtCompileTime,
23 Mat::ColsAtCompileTime, NewOptions,
24 Mat::MaxRowsAtCompileTime, Mat::MaxColsAtCompileTime>;
27template <
typename Mat,
int NewOptions>
30 = Eigen::Array<
typename Mat::Scalar, Mat::RowsAtCompileTime,
31 Mat::ColsAtCompileTime, NewOptions,
32 Mat::MaxRowsAtCompileTime, Mat::MaxColsAtCompileTime>;
40template <
typename Mat,
int NewOptions>
require_t< is_eigen_array< std::decay_t< T > > > require_eigen_array_t
Require type satisfies is_eigen_array.
require_t< is_eigen_matrix_base< std::decay_t< T > > > require_eigen_matrix_base_t
Require type satisfies is_eigen_matrix_base.
typename internal::change_eigen_options_impl< plain_type_t< std::decay_t< Mat > >, NewOptions >::type change_eigen_options_t
Change the options of an Eigen matrix or array.
typename plain_type< T >::type plain_type_t
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Eigen::Array< typename Mat::Scalar, Mat::RowsAtCompileTime, Mat::ColsAtCompileTime, NewOptions, Mat::MaxRowsAtCompileTime, Mat::MaxColsAtCompileTime > type
Eigen::Matrix< typename Mat::Scalar, Mat::RowsAtCompileTime, Mat::ColsAtCompileTime, NewOptions, Mat::MaxRowsAtCompileTime, Mat::MaxColsAtCompileTime > type
Change the options of an Eigen matrix or array.