1.11.1
CCC
 
Loading...
Searching...
No Matches

Functions

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)
 

Detailed Description

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)

Function Documentation

◆ add()

template<typename T >
static VectorNumT< T > gstlrn::VectorHelper::add ( const VectorNumT< T > &  v1,
const VectorNumT< T > &  v2 
)
inlinestatic

◆ addCst()

template<typename T >
static VectorNumT< T > gstlrn::VectorHelper::addCst ( const VectorNumT< T > &  v1,
v2 
)
inlinestatic

◆ divide()

template<typename T >
static VectorNumT< T > gstlrn::VectorHelper::divide ( const VectorNumT< T > &  v1,
const VectorNumT< T > &  v2 
)
inlinestatic

◆ divideCst()

template<typename T >
static VectorNumT< T > gstlrn::VectorHelper::divideCst ( const VectorNumT< T > &  v1,
v2,
bool  flagOpposite = false 
)
inlinestatic

◆ multiply()

template<typename T >
static VectorNumT< T > gstlrn::VectorHelper::multiply ( const VectorNumT< T > &  v1,
const VectorNumT< T > &  v2 
)
inlinestatic

◆ multiplyCst()

template<typename T >
static VectorNumT< T > gstlrn::VectorHelper::multiplyCst ( const VectorNumT< T > &  v1,
v2 
)
inlinestatic

◆ subtract()

template<typename T >
static VectorNumT< T > gstlrn::VectorHelper::subtract ( const VectorNumT< T > &  v1,
const VectorNumT< T > &  v2 
)
inlinestatic

◆ subtractCst()

template<typename T >
static VectorNumT< T > gstlrn::VectorHelper::subtractCst ( const VectorNumT< T > &  v1,
v2,
bool  flagOpposite = false 
)
inlinestatic