SpinParser
1.0
|
Collection of ValueBundles. More...
#include <ValueBundle.hpp>
Public Member Functions | |
ValueSuperbundle (const int bundleSize) | |
Construct a new ValueSuperbundle object and allocate ValueBundles. More... | |
ValueSuperbundle (const ValueSuperbundle &rhs) | |
Copy constructor. The copy will not have ownership of the ValueBundle memory. More... | |
~ValueSuperbundle () | |
Destroy the ValueSuperbundle object. | |
ValueBundle< T > & | bundle (const int m) |
Return reference to ValueBundle. More... | |
ValueSuperbundle & | reset () |
Write zeros to all ValueBundles. More... | |
ValueSuperbundle & | multAdd (const T &rhs1, const ValueSuperbundle< T, n > &rhs2) |
Fused multiply-add on all ValueBundles. More... | |
ValueSuperbundle & | operator*= (const T &rhs) |
Multiplication assignent. More... | |
ValueSuperbundle & | operator/= (const T &rhs) |
Division assignment. More... | |
ValueSuperbundle & | operator+= (const ValueSuperbundle< T, n > &rhs) |
Addition assignment. More... | |
Collection of ValueBundles.
T | Fundamental data type of the ValueBundles. |
n | Number of ValueBundles in the collection. |
|
inline |
Construct a new ValueSuperbundle object and allocate ValueBundles.
bundleSize | Number of elements in each ValueBundle. |
|
inline |
Copy constructor. The copy will not have ownership of the ValueBundle memory.
rhs | Right hand side operand. |
|
inline |
Return reference to ValueBundle.
m | Id of the ValueBundle. |
|
inline |
Fused multiply-add on all ValueBundles.
rhs1 | Scalar operand. |
rhs2 | Array operand. |
|
inline |
Multiplication assignent.
rhs | Right hand side operator. |
|
inline |
Addition assignment.
rhs | Right hand side operator. |
|
inline |
Division assignment.
rhs | Right hand side operator. |
|
inline |
Write zeros to all ValueBundles.