Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ arena_matrix() [5/7]

template<typename MatrixType >
template<typename T , require_eigen_t< T > * = nullptr, require_not_arena_matrix_t< T > * = nullptr, require_t< std::is_rvalue_reference< T && > > * = nullptr, require_plain_type_t< T > * = nullptr, require_same_t< T, MatrixType > * = nullptr>
stan::math::arena_matrix< MatrixType, require_eigen_dense_base_t< MatrixType > >::arena_matrix ( T &&  other)
inline

Constructs arena_matrix from an rvalue expression that is a plain_type, then movies it to the object stack.

Template Parameters
TA type that inherits from Eigen::DenseBase that is not an arena_matrix.
Parameters
otherexpression
Note
When T is both an rvalue and a plain type, the expression is moved to the object stack.

Definition at line 109 of file arena_matrix.hpp.