ug4
vec_functions.h File Reference
#include "common/error.h"

Go to the source code of this file.

Functions

template<typename T >
void VecAdd (double a1, T &v1, double a2, const T &v2)
 
template<typename T >
void VecAdd (double a1, T &v1, double a2, const T &v2, double a3, const T &v3)
 
template<typename T >
void VecAdd (double a1, T &v1, double a2, const T &v2, double a3, const T &v3, double a4, const T &v4)
 
template<typename T >
double VecNorm2 (T &v)
 
template<typename T >
double VecProd (T &v1, T &v2)
 

Function Documentation

◆ VecAdd() [1/3]

template<typename T >
void VecAdd ( double  a1,
T &  v1,
double  a2,
const T &  v2 
)
inline

References ASSERT_EQUAL.

◆ VecAdd() [2/3]

template<typename T >
void VecAdd ( double  a1,
T &  v1,
double  a2,
const T &  v2,
double  a3,
const T &  v3 
)
inline

References ASSERT_EQUAL_3.

◆ VecAdd() [3/3]

template<typename T >
void VecAdd ( double  a1,
T &  v1,
double  a2,
const T &  v2,
double  a3,
const T &  v3,
double  a4,
const T &  v4 
)
inline

References ASSERT_EQUAL_4.

◆ VecNorm2()

template<typename T >
double VecNorm2 ( T &  v)
inline

References s.

◆ VecProd()

template<typename T >
double VecProd ( T &  v1,
T &  v2 
)
inline

References ASSERT_EQUAL, and s.