autoppl  v0.8
A C++ template library for probabilistic programming
ppl::Data< ValueType, ppl::mat > Struct Template Reference

#include <data.hpp>

Inheritance diagram for ppl::Data< ValueType, ppl::mat >:
ppl::DataView< ValueType, ppl::mat > ppl::util::DataBase< Data< ValueType, ppl::mat > > ppl::util::VarExprBase< DataView< ValueType, ppl::mat > > ppl::util::DataBase< DataView< ValueType, ppl::mat > > ppl::util::VarBase< Data< ValueType, ppl::mat > > ppl::util::BaseCRTP< DataView< ValueType, ppl::mat > > ppl::util::VarBase< DataView< ValueType, ppl::mat > > ppl::util::BaseCRTP< Data< ValueType, ppl::mat > > ppl::util::BaseCRTP< DataView< ValueType, ppl::mat > >

Public Types

using base_t = DataView< ValueType, ppl::mat >
 
using value_t = ValueType
 
- Public Types inherited from ppl::DataView< ValueType, ppl::mat >
using value_t = ValueType
 
using var_t = Eigen::Map< const Eigen::Matrix< value_t, Eigen::Dynamic, Eigen::Dynamic > >
 
using id_t = const void *
 
using shape_t = ppl::mat
 

Public Member Functions

 Data (size_t rows, size_t cols)
 
auto & get ()
 
template<class PtrType >
void bind (PtrType begin)
 
const var_tget () const
 
- Public Member Functions inherited from ppl::DataView< ValueType, ppl::mat >
 DataView (const value_t *begin, size_t rows, size_t cols) noexcept
 
const var_teval () const
 
const var_tget () const
 
size_t size () const
 
size_t rows () const
 
size_t cols () const
 
id_t id () const
 
template<class PtrPackType >
auto ad (const PtrPackType &) const
 
template<class PtrType >
void bind (PtrType begin)
 
void activate_refcnt () const
 
- Public Member Functions inherited from ppl::util::BaseCRTP< DataView< ValueType, ppl::mat > >
DataView< ValueType, ppl::mat > & self ()
 
const DataView< ValueType, ppl::mat > & self () const
 
- Public Member Functions inherited from ppl::util::BaseCRTP< Data< ValueType, ppl::mat > >
Data< ValueType, ppl::mat > & self ()
 
const Data< ValueType, ppl::mat > & self () const
 

Additional Inherited Members

- Static Public Attributes inherited from ppl::DataView< ValueType, ppl::mat >
static constexpr bool has_param = false
 

Member Typedef Documentation

◆ base_t

template<class ValueType >
using ppl::Data< ValueType, ppl::mat >::base_t = DataView<ValueType, ppl::mat>

◆ value_t

template<class ValueType >
using ppl::DataView< ValueType, ppl::mat >::value_t = ValueType

Constructor & Destructor Documentation

◆ Data()

template<class ValueType >
ppl::Data< ValueType, ppl::mat >::Data ( size_t  rows,
size_t  cols 
)
inline

Member Function Documentation

◆ bind()

template<class ValueType >
template<class PtrType >
void ppl::DataView< ValueType, ppl::mat >::bind ( class PtrType  )
inline

◆ get() [1/2]

template<class ValueType >
auto& ppl::Data< ValueType, ppl::mat >::get ( )
inline

◆ get() [2/2]

template<class ValueType >
const var_t& ppl::DataView< ValueType, ppl::mat >::get
inline

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