Value array implementation. The object does not hold ownership of its memory.
More...
|
| ValueBundle () |
| Construct an empty ValueBundle object.
|
|
| ValueBundle (T *data, const int size) |
| Construct a new ValueBundle object. More...
|
|
ValueBundle & | operator= (const ValueBundle< T > &rhs) |
| Assignment operator. More...
|
|
T & | operator[] (const int n) |
| Access the nth value stored in the value bundle. More...
|
|
int | size () const |
| Retrieve the number of elements in the value bundle. More...
|
|
T * | data () const |
| Retrieve the pointer to the first value stored in the bundle. More...
|
|
ValueBundle & | multAdd (const T &rhs1, const ValueBundle< T > &rhs2) |
| Fused multiply-add, equivalent to operator+=(rhs1 * rhs2). More...
|
|
ValueBundle & | multAdd (const ValueBundle< T > &rhs1, const T &rhs2) |
| Fused multiply-add for scalar right-multiplication, equivalent to operator+=(rhs1 * rhs2). More...
|
|
ValueBundle & | multAdd (const ValueBundle< T > &rhs1, const ValueBundle< T > &rhs2) |
| Elementwise fused multiply-add. Equivalent to elementwise operator+=(rhs1 * rhs2). More...
|
|
ValueBundle & | multAdd (const T &rhs1, const ValueBundle< T > &rhs2, const ValueBundle< T > &rhs3) |
| Elementwise double-multiply add. Equivalent to elementwise operator+=(rhs1 * rhs2 * rhs3). More...
|
|
ValueBundle & | multSub (const T &rhs1, const ValueBundle< T > &rhs2) |
| Fused multiply-sub, equivalent to operator-=(rhs1 * rhs2). More...
|
|
ValueBundle & | multSub (const ValueBundle< T > &rhs1, const T &rhs2) |
| Fused multiply-sub for scalar right-multiplication, equivalent to operator-=(rhs1 * rhs2). More...
|
|
ValueBundle & | multSub (const ValueBundle< T > &rhs1, const ValueBundle< T > &rhs2) |
| Elementwise fused multiply-sub. Equivalent to elementwise operator-=(rhs1 * rhs2). More...
|
|
ValueBundle & | multSub (const T &rhs1, const ValueBundle< T > &rhs2, const ValueBundle< T > &rhs3) |
| Elementwise double-multiply sub. Equivalent to elementwise operator-=(rhs1 * rhs2 * rhs3). More...
|
|
ValueBundle & | operator+= (const ValueBundle &rhs) |
| Addition assignment. More...
|
|
ValueBundle & | operator-= (const ValueBundle &rhs) |
| Subtraction assignment. More...
|
|
ValueBundle & | operator*= (const T &rhs) |
| Multiplication assignment. More...
|
|
ValueBundle & | operator/= (const T &rhs) |
| Division assignment. More...
|
|
template<class T>
struct ValueBundle< T >
Value array implementation. The object does not hold ownership of its memory.
- Template Parameters
-
T | Underlying fundamental data type. |