|
| template<typename T > |
| static VectorNumT< T > | gstlrn::VectorHelper::add (const VectorNumT< T > &v1, const VectorNumT< T > &v2) |
| |
| template<typename T > |
| static VectorNumT< T > | gstlrn::VectorHelper::addCst (const VectorNumT< T > &v1, T v2) |
| |
| template<typename T > |
| static VectorNumT< T > | gstlrn::VectorHelper::subtract (const VectorNumT< T > &v1, const VectorNumT< T > &v2) |
| |
| template<typename T > |
| static VectorNumT< T > | gstlrn::VectorHelper::subtractCst (const VectorNumT< T > &v1, T v2, bool flagOpposite=false) |
| |
| template<typename T > |
| static VectorNumT< T > | gstlrn::VectorHelper::multiply (const VectorNumT< T > &v1, const VectorNumT< T > &v2) |
| |
| template<typename T > |
| static VectorNumT< T > | gstlrn::VectorHelper::multiplyCst (const VectorNumT< T > &v1, T v2) |
| |
| template<typename T > |
| static VectorNumT< T > | gstlrn::VectorHelper::divide (const VectorNumT< T > &v1, const VectorNumT< T > &v2) |
| |
| template<typename T > |
| static VectorNumT< T > | gstlrn::VectorHelper::divideCst (const VectorNumT< T > &v1, T v2, bool flagOpposite=false) |
| |
Action: These operators perform basic operations between two vectors of the same size (or a vector and a scalar) and return a new vector as result (not in place)
◆ add()
◆ addCst()
◆ divide()
◆ divideCst()
template<typename T >
| static VectorNumT< T > gstlrn::VectorHelper::divideCst |
( |
const VectorNumT< T > & |
v1, |
|
|
T |
v2, |
|
|
bool |
flagOpposite = false |
|
) |
| |
|
inlinestatic |
◆ multiply()
◆ multiplyCst()
◆ subtract()
◆ subtractCst()
template<typename T >
| static VectorNumT< T > gstlrn::VectorHelper::subtractCst |
( |
const VectorNumT< T > & |
v1, |
|
|
T |
v2, |
|
|
bool |
flagOpposite = false |
|
) |
| |
|
inlinestatic |