![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
Definition at line 14 of file arena_matrix.hpp.
#include <arena_matrix.hpp>
Public Types | |
using | Scalar = value_type_t< MatrixType > |
using | Base = Eigen::Map< MatrixType > |
using | PlainObject = std::decay_t< MatrixType > |
Public Member Functions | |
arena_matrix () | |
Default constructor. | |
arena_matrix (Eigen::Index rows, Eigen::Index cols) | |
Constructs arena_matrix with given number of rows and columns. | |
arena_matrix (Eigen::Index size) | |
Constructs arena_matrix with given size. | |
template<typename T , require_eigen_t< T > * = nullptr> | |
arena_matrix (const T &other) | |
Constructs arena_matrix from an expression. | |
template<typename T , require_eigen_t< T > * = nullptr> | |
arena_matrix & | operator= (const T &other) |
Overwrite the current arena_matrix with new memory and assign a matrix to it. | |
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> | |
arena_matrix (T &&other) | |
Constructs arena_matrix from an rvalue expression that is a plain_type , then movies it to the object stack. | |
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> | |
arena_matrix & | operator= (T &&other) |
Assignment operator for assigning an expression. | |
arena_matrix (const Base &other) | |
Constructs arena_matrix from an expression. | |
arena_matrix (const arena_matrix< MatrixType > &other) | |
Copy constructor. | |
arena_matrix & | operator= (const arena_matrix< MatrixType > &other) |
Copy assignment operator. | |
template<typename T > | |
void | deep_copy (const T &x) |
Forces hard copying matrices into an arena matrix. | |
Static Public Attributes | |
static constexpr int | RowsAtCompileTime = MatrixType::RowsAtCompileTime |
static constexpr int | ColsAtCompileTime = MatrixType::ColsAtCompileTime |
Private Member Functions | |
template<typename T > | |
constexpr auto | get_rows (const T &x) |
template<typename T > | |
constexpr auto | get_cols (const T &x) |