autoppl
v0.8
A C++ template library for probabilistic programming
|
#include <data.hpp>
Public Types | |
using | base_t = DataView< ValueType, ppl::vec > |
using | value_t = ValueType |
Public Types inherited from ppl::DataView< ValueType, ppl::vec > | |
using | value_t = ValueType |
using | var_t = Eigen::Map< const Eigen::Matrix< value_t, Eigen::Dynamic, 1 > > |
using | id_t = const void * |
using | shape_t = ppl::vec |
Public Member Functions | |
Data (size_t n) | |
auto & | get () |
template<class PtrType > | |
void | bind (PtrType begin) |
const var_t & | get () const |
Public Member Functions inherited from ppl::DataView< ValueType, ppl::vec > | |
DataView (const value_t *begin, size_t rows) noexcept | |
const var_t & | eval () const |
const var_t & | get () const |
size_t | size () const |
size_t | rows () const |
constexpr 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::vec > > | |
DataView< ValueType, ppl::vec > & | self () |
const DataView< ValueType, ppl::vec > & | self () const |
Public Member Functions inherited from ppl::util::BaseCRTP< Data< ValueType, ppl::vec > > | |
Data< ValueType, ppl::vec > & | self () |
const Data< ValueType, ppl::vec > & | self () const |
Additional Inherited Members | |
Static Public Attributes inherited from ppl::DataView< ValueType, ppl::vec > | |
static constexpr bool | has_param = false |
using ppl::Data< ValueType, ppl::vec >::base_t = DataView<ValueType, ppl::vec> |
using ppl::DataView< ValueType, ppl::vec >::value_t = ValueType |
|
inline |
|
inline |