autoppl
v0.8
A C++ template library for probabilistic programming
|
#include <data.hpp>
Data a user-friendly wrapper of DataView. It is a DataView (it views itself). The difference is that it owns the container of values. This will usually be used as a quick means to add values directly into a data object.
A Data is not a variable expression, but a DataView is. This means any model expression that references Data objects will not create copies of underlying container.
ValueType | underlying value type (usually double or int) |
ShapeType | one of the three shape tags. |