Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::arena_matrix< MatrixType, require_eigen_sparse_base_t< MatrixType > > Class Template Reference

Detailed Description

template<typename MatrixType>
class stan::math::arena_matrix< MatrixType, require_eigen_sparse_base_t< MatrixType > >

Definition at line 138 of file arena_matrix.hpp.

#include <arena_matrix.hpp>

+ Inheritance diagram for stan::math::arena_matrix< MatrixType, require_eigen_sparse_base_t< MatrixType > >:

Public Types

using Scalar = value_type_t< MatrixType >
 
using Base = Eigen::Map< MatrixType >
 
using PlainObject = std::decay_t< MatrixType >
 
using StorageIndex = typename PlainObject::StorageIndex
 

Public Member Functions

 arena_matrix ()
 Default constructor.
 
 arena_matrix (Eigen::Index rows, Eigen::Index cols, Eigen::Index nnz, StorageIndex *outerIndexPtr, StorageIndex *innerIndexPtr, Scalar *valuePtr, StorageIndex *innerNonZerosPtr=nullptr)
 Constructor for CDC formatted data.
 
template<typename T , require_same_t< T, PlainObject > * = nullptr>
 arena_matrix (T &&other)
 Constructs arena_matrix from an Eigen::SparseMatrix.
 
template<typename S , require_convertible_t< S &, PlainObject > * = nullptr, require_not_same_t< S, PlainObject > * = nullptr>
 arena_matrix (S &&other)
 Constructs arena_matrix from an Eigen expression.
 
 arena_matrix (const Base &other)
 Constructs arena_matrix from an expression.
 
 arena_matrix (const arena_matrix< MatrixType > &other)
 Const copy constructor.
 
 arena_matrix (arena_matrix< MatrixType > &&other)
 Move constructor.
 
 arena_matrix (arena_matrix< MatrixType > &other)
 Copy constructor.
 
template<typename ArenaMatrix , require_same_t< std::decay_t< ArenaMatrix >, arena_matrix< MatrixType > > * = nullptr>
arena_matrixoperator= (ArenaMatrix &&other)
 Copy assignment operator.
 
template<typename Expr , require_not_same_t< Expr, arena_matrix< MatrixType > > * = nullptr>
arena_matrixoperator= (Expr &&expr)
 Assignment operator for assigning an expression.
 
template<typename T >
arena_matrixoperator+= (T &&other)
 Inplace operator +=
 
template<typename T >
arena_matrixoperator-= (T &&other)
 Inplace operator +=
 

Private Member Functions

template<typename T , typename Integral >
T * copy_vector (const T *ptr, Integral size)
 
template<typename F , typename Expr , require_convertible_t< Expr &, MatrixType > * = nullptr, require_same_t< Expr, arena_matrix< MatrixType > > * = nullptr>
void inplace_ops_impl (F &&f, Expr &&other)
 inplace operations functor for Sparse (.
 
template<typename F , typename Expr , require_convertible_t< Expr &, MatrixType > * = nullptr, require_not_same_t< Expr, arena_matrix< MatrixType > > * = nullptr>
void inplace_ops_impl (F &&f, Expr &&other)
 inplace operations functor for Sparse (.
 
template<typename F , typename Expr , require_not_convertible_t< Expr &, MatrixType > * = nullptr, require_eigen_dense_base_t< Expr > * = nullptr>
void inplace_ops_impl (F &&f, Expr &&other)
 inplace operations functor for Sparse (.
 
template<typename F , typename T , require_convertible_t< T &, Scalar > * = nullptr>
void inplace_ops_impl (F &&f, T &&other)
 inplace operations functor for Sparse (.
 

The documentation for this class was generated from the following file: