|
void | set_u_epsilon (Real a) |
|
void | reset_u_epsilon () |
|
void | set_zero_epsilon (Real a) |
|
void | reset_zero_epsilon () |
|
int | apx_equal (Real x, Real y) |
|
int | apx_equal (Real x, Real y, Real eps) |
|
template<typename type , typename T > |
type | force_cast (const Complex< T > &p) |
|
template<typename type , typename T > |
type | force_cast (const T &p) |
|
Real | minOfArr (const std::vector< Real > &arr) |
|
Real | minOfArr (const Real *src, const int &size) |
|
Real | maxOfArr (const std::vector< Real > &arr) |
|
Real | maxOfArr (const Real *src, const int &size) |
|
Real | average (const Real *src, const int &size) |
|
template<typename T > |
void | abs (const oph::Complex< T > &src, oph::Complex< T > &dst) |
|
template<typename T > |
void | absArr (const std::vector< Complex< T >> &src, std::vector< oph::Complex< T >> &dst) |
|
template<typename T > |
void | absMat (const oph::matrix< oph::Complex< T >> &src, oph::matrix< oph::Complex< T >> &dst) |
|
template<typename T > |
void | absCplx (const oph::Complex< T > &src, T &dst) |
|
template<typename T > |
void | absCplxArr (const oph::Complex< T > *src, T *dst, const int &size) |
|
template<typename T > |
T | getReal (const oph::Complex< T > src) |
|
template<typename T > |
void | realPart (const oph::Complex< T > *src, T *dst, const int &size) |
|
template<typename T > |
void | angle (const std::vector< Complex< T >> &src, std::vector< T > &dst) |
|
template<typename T > |
T | angle (const oph::Complex< T > &src) |
|
template<typename T > |
void | normalize (const Complex< T > *src, Complex< T > *dst, const int &size) |
| Normalize all elements of Complex<T>* src from 0 to 1. More...
|
|
template<typename T > |
void | normalize (const T *src, T *dst, const int &size) |
|
template<typename T > |
void | normalize (T *src, oph::uchar *dst, const oph::uint nx, const oph::uint ny) |
| Normalize all elements of T* src from 0 to 255. More...
|
|
template<typename T > |
void | normalize (const std::vector< T > *src, std::vector< oph::uchar > *dst) |
| Normalize all elements from 0 to 255. More...
|
|
template<typename T > |
void | memsetArr (const std::vector< T > *pArr, T _Value, oph::uint beginIndex, oph::uint endIndex) |
| Set elements to specific values from begin index to end index. More...
|
|
template<typename T > |
void | memsetArr (T *pArr, const T &_Value, const oph::uint &beginIndex, const oph::uint &endIndex) |
|
template<typename T > |
void | circShift (const T *src, T *dst, int shift_x, int shift_y, int xdim, int ydim) |
| Shifts the elements by shift_x, shift_y. More...
|
|
Real | rand (const Real min, const Real max, oph::ulong _SEED_VALUE=0) |
| Get random Real value from min to max. More...
|
|
int | rand (const int min, const int max, oph::ulong _SEED_VALUE=0) |
| Get random Integer value from min to max. More...
|
|
void | getPhase (oph::Complex< Real > *src, Real *dst, const int &size) |
|
void | getAmplitude (oph::Complex< Real > *src, Real *dst, const int &size) |
|
template<typename T > |
void | Field2Buffer (matrix< T > &src, T **dst) |
|
template<typename T > |
void | Buffer2Field (const T *src, matrix< T > &dst, const ivec2 buffer_size) |
|
void | meshGrid () |
|
ivec2 | operator+ (const ivec2 &a, const ivec2 &b) |
|
ivec2 | operator+ (int a, const ivec2 &b) |
|
ivec2 | operator+ (const ivec2 &a, int b) |
|
ivec2 | operator- (const ivec2 &a, const ivec2 &b) |
|
ivec2 | operator- (int a, const ivec2 &b) |
|
ivec2 | operator- (const ivec2 &a, int b) |
|
ivec2 | operator* (const ivec2 &a, const ivec2 &b) |
|
ivec2 | operator* (int a, const ivec2 &b) |
|
ivec2 | operator* (const ivec2 &a, int b) |
|
ivec2 | operator+= (ivec2 &a, const ivec2 &b) |
|
ivec2 | operator+= (ivec2 &a, int b) |
|
ivec2 | operator-= (ivec2 &a, const ivec2 &b) |
|
ivec2 | operator-= (ivec2 &a, int b) |
|
ivec2 | operator*= (ivec2 &a, const ivec2 &b) |
|
ivec2 | operator*= (ivec2 &a, int b) |
|
int | operator== (const ivec2 &a, const ivec2 &b) |
|
int | operator== (int a, const ivec2 &b) |
|
int | operator== (const ivec2 &a, int b) |
|
int | operator< (const ivec2 &a, const ivec2 &b) |
|
int | operator< (int a, const ivec2 &b) |
|
int | operator< (const ivec2 &a, int b) |
|
int | operator<= (const ivec2 &a, const ivec2 &b) |
|
int | operator<= (int a, const ivec2 &b) |
|
int | operator<= (const ivec2 &a, int b) |
|
int | operator> (const ivec2 &a, const ivec2 &b) |
|
int | operator> (int a, const ivec2 &b) |
|
int | operator> (const ivec2 &a, int b) |
|
int | operator>= (const ivec2 &a, const ivec2 &b) |
|
int | operator>= (int a, const ivec2 &b) |
|
int | operator>= (const ivec2 &a, int b) |
|
int | operator!= (const ivec2 &a, const ivec2 &b) |
|
ivec2 | operator- (const ivec2 &a) |
|
ivec3 | operator+ (const ivec3 &a, const ivec3 &b) |
|
ivec3 | operator+ (int a, const ivec3 &b) |
|
ivec3 | operator+ (const ivec3 &a, int b) |
|
ivec3 | operator- (const ivec3 &a, const ivec3 &b) |
|
ivec3 | operator- (int a, const ivec3 &b) |
|
ivec3 | operator- (const ivec3 &a, int b) |
|
ivec3 | operator* (const ivec3 &a, const ivec3 &b) |
|
ivec3 | operator* (int a, const ivec3 &b) |
|
ivec3 | operator* (const ivec3 &a, int b) |
|
ivec3 | operator+= (ivec3 &a, const ivec3 &b) |
|
ivec3 | operator+= (ivec3 &a, int b) |
|
ivec3 | operator-= (ivec3 &a, const ivec3 &b) |
|
ivec3 | operator-= (ivec3 &a, int b) |
|
ivec3 | operator*= (ivec3 &a, const ivec3 &b) |
|
ivec3 | operator*= (ivec3 &a, int b) |
|
int | operator== (const ivec3 &a, const ivec3 &b) |
|
int | operator== (int a, const ivec3 &b) |
|
int | operator== (const ivec3 &a, int b) |
|
int | operator< (const ivec3 &a, const ivec3 &b) |
|
int | operator< (int a, const ivec3 &b) |
|
int | operator< (const ivec3 &a, int b) |
|
int | operator<= (const ivec3 &a, const ivec3 &b) |
|
int | operator<= (int a, const ivec3 &b) |
|
int | operator<= (const ivec3 &a, int b) |
|
int | operator> (const ivec3 &a, const ivec3 &b) |
|
int | operator> (int a, const ivec3 &b) |
|
int | operator> (const ivec3 &a, int b) |
|
int | operator>= (const ivec3 &a, const ivec3 &b) |
|
int | operator>= (int a, const ivec3 &b) |
|
int | operator>= (const ivec3 &a, int b) |
|
int | operator!= (const ivec3 &a, const ivec3 &b) |
|
ivec3 | operator- (const ivec3 &a) |
|
ivec4 | operator+ (const ivec4 &a, const ivec4 &b) |
|
ivec4 | operator+ (int a, const ivec4 &b) |
|
ivec4 | operator+ (const ivec4 &a, int b) |
|
ivec4 | operator- (const ivec4 &a, const ivec4 &b) |
|
ivec4 | operator- (int a, const ivec4 &b) |
|
ivec4 | operator- (const ivec4 &a, int b) |
|
ivec4 | operator* (const ivec4 &a, const ivec4 &b) |
|
ivec4 | operator* (int a, const ivec4 &b) |
|
ivec4 | operator* (const ivec4 &a, int b) |
|
ivec4 | operator+= (ivec4 &a, const ivec4 &b) |
|
ivec4 | operator+= (ivec4 &a, int b) |
|
ivec4 | operator-= (ivec4 &a, const ivec4 &b) |
|
ivec4 | operator-= (ivec4 &a, int b) |
|
ivec4 | operator*= (ivec4 &a, const ivec4 &b) |
|
ivec4 | operator*= (ivec4 &a, int b) |
|
int | operator== (const ivec4 &a, const ivec4 &b) |
|
int | operator== (int a, const ivec4 &b) |
|
int | operator== (const ivec4 &a, int b) |
|
int | operator< (const ivec4 &a, const ivec4 &b) |
|
int | operator< (int a, const ivec4 &b) |
|
int | operator< (const ivec4 &a, int b) |
|
int | operator<= (const ivec4 &a, const ivec4 &b) |
|
int | operator<= (int a, const ivec4 &b) |
|
int | operator<= (const ivec4 &a, int b) |
|
int | operator> (const ivec4 &a, const ivec4 &b) |
|
int | operator> (int a, const ivec4 &b) |
|
int | operator> (const ivec4 &a, int b) |
|
int | operator>= (const ivec4 &a, const ivec4 &b) |
|
int | operator!= (const ivec4 &a, const ivec4 &b) |
|
int | operator>= (int a, const ivec4 &b) |
|
int | operator>= (const ivec4 &a, int b) |
|
ivec4 | operator- (const ivec4 &a) |
|
void | store (FILE *fp, const vec2 &v) |
|
int | apx_equal (const vec2 &a, const vec2 &b) |
|
int | apx_equal (const vec2 &a, const vec2 &b, Real eps) |
|
void | store (FILE *fp, const vec3 &v) |
|
int | apx_equal (const vec3 &a, const vec3 &b) |
|
int | apx_equal (const vec3 &a, const vec3 &b, Real eps) |
|
void | store (FILE *fp, const vec4 &v) |
|
int | apx_equal (const vec4 &a, const vec4 &b) |
|
int | apx_equal (const vec4 &a, const vec4 &b, Real eps) |
|
vec3 | cross (const vec3 &a, const vec3 &b) |
|
vec2 | operator+ (const vec2 &a, const vec2 &b) |
|
vec2 | operator+ (Real a, const vec2 &b) |
|
vec2 | operator+ (const vec2 &a, Real b) |
|
vec2 | operator- (const vec2 &a, const vec2 &b) |
|
vec2 | operator- (Real a, const vec2 &b) |
|
vec2 | operator- (const vec2 &a, Real b) |
|
vec2 | operator* (const vec2 &a, const vec2 &b) |
|
vec2 | operator* (Real a, const vec2 &b) |
|
vec2 | operator* (const vec2 &a, Real b) |
|
vec2 | operator/ (const vec2 &a, const vec2 &b) |
|
vec2 | operator/ (Real a, const vec2 &b) |
|
vec2 | operator/ (const vec2 &a, Real b) |
|
vec2 | operator+= (vec2 &a, const vec2 &b) |
|
vec2 | operator+= (vec2 &a, Real b) |
|
vec2 | operator-= (vec2 &a, const vec2 &b) |
|
vec2 | operator-= (vec2 &a, Real b) |
|
vec2 | operator*= (vec2 &a, const vec2 &b) |
|
vec2 | operator*= (vec2 &a, Real b) |
|
vec2 | operator/= (vec2 &a, const vec2 &b) |
|
vec2 | operator/= (vec2 &a, Real b) |
|
int | operator== (const vec2 &a, const vec2 &b) |
|
int | operator== (Real a, const vec2 &b) |
|
int | operator== (const vec2 &a, Real b) |
|
int | operator< (const vec2 &a, const vec2 &b) |
|
int | operator< (Real a, const vec2 &b) |
|
int | operator< (const vec2 &a, Real b) |
|
int | operator<= (const vec2 &a, const vec2 &b) |
|
int | operator<= (Real a, const vec2 &b) |
|
int | operator<= (const vec2 &a, Real b) |
|
int | operator> (const vec2 &a, const vec2 &b) |
|
int | operator> (Real a, const vec2 &b) |
|
int | operator> (const vec2 &a, Real b) |
|
int | operator>= (const vec2 &a, const vec2 &b) |
|
int | operator>= (Real a, const vec2 &b) |
|
int | operator>= (const vec2 &a, Real b) |
|
vec2 | operator- (const vec2 &a) |
|
Real | sum (const vec2 &a) |
|
Real | inner (const vec2 &a, const vec2 &b) |
|
Real | norm (const vec2 &a) |
|
Real | squaredNorm (const vec2 &a) |
|
vec2 | unit (const vec2 &a) |
|
Real | angle (const vec2 &a, const vec2 &b) |
|
vec2 | proj (const vec2 &axis, const vec2 &a) |
|
vec2 | absolute (const vec2 &val) |
|
vec3 | operator+ (const vec3 &a, const vec3 &b) |
|
vec3 | operator+ (Real a, const vec3 &b) |
|
vec3 | operator+ (const vec3 &a, Real b) |
|
vec3 | operator- (const vec3 &a, const vec3 &b) |
|
vec3 | operator- (Real a, const vec3 &b) |
|
vec3 | operator- (const vec3 &a, Real b) |
|
vec3 | operator* (const vec3 &a, const vec3 &b) |
|
vec3 | operator* (Real a, const vec3 &b) |
|
vec3 | operator* (const vec3 &a, Real b) |
|
vec3 | operator/ (const vec3 &a, const vec3 &b) |
|
vec3 | operator/ (Real a, const vec3 &b) |
|
vec3 | operator/ (const vec3 &a, Real b) |
|
vec3 | operator+= (vec3 &a, const vec3 &b) |
|
vec3 | operator+= (vec3 &a, Real b) |
|
vec3 | operator-= (vec3 &a, const vec3 &b) |
|
vec3 | operator-= (vec3 &a, Real b) |
|
vec3 | operator*= (vec3 &a, const vec3 &b) |
|
vec3 | operator*= (vec3 &a, Real b) |
|
vec3 | operator/= (vec3 &a, const vec3 &b) |
|
vec3 | operator/= (vec3 &a, Real b) |
|
int | operator== (const vec3 &a, const vec3 &b) |
|
int | operator== (Real a, const vec3 &b) |
|
int | operator== (const vec3 &a, Real b) |
|
int | operator< (const vec3 &a, const vec3 &b) |
|
int | operator< (Real a, const vec3 &b) |
|
int | operator< (const vec3 &a, Real b) |
|
int | operator<= (const vec3 &a, const vec3 &b) |
|
int | operator<= (Real a, const vec3 &b) |
|
int | operator<= (const vec3 &a, Real b) |
|
int | operator> (const vec3 &a, const vec3 &b) |
|
int | operator> (Real a, const vec3 &b) |
|
int | operator> (const vec3 &a, Real b) |
|
int | operator>= (const vec3 &a, const vec3 &b) |
|
int | operator>= (Real a, const vec3 &b) |
|
int | operator>= (const vec3 &a, Real b) |
|
vec3 | operator- (const vec3 &a) |
|
vec3 | absolute (const vec3 &val) |
|
Real | sum (const vec3 &a) |
|
Real | inner (const vec3 &a, const vec3 &b) |
|
Real | squaredNorm (const vec3 &a) |
|
Real | norm (const vec3 &a) |
|
vec3 | unit (const vec3 &a) |
|
Real | angle (const vec3 &a, const vec3 &b) |
|
vec3 | proj (const vec3 &axis, const vec3 &a) |
|
vec4 | operator+ (const vec4 &a, const vec4 &b) |
|
vec4 | operator+ (Real a, const vec4 &b) |
|
vec4 | operator+ (const vec4 &a, Real b) |
|
vec4 | operator- (const vec4 &a, const vec4 &b) |
|
vec4 | operator- (Real a, const vec4 &b) |
|
vec4 | operator- (const vec4 &a, Real b) |
|
vec4 | operator* (const vec4 &a, const vec4 &b) |
|
vec4 | operator* (Real a, const vec4 &b) |
|
vec4 | operator* (const vec4 &a, Real b) |
|
vec4 | operator/ (const vec4 &a, const vec4 &b) |
|
vec4 | operator/ (Real a, const vec4 &b) |
|
vec4 | operator/ (const vec4 &a, Real b) |
|
vec4 | operator+= (vec4 &a, const vec4 &b) |
|
vec4 | operator+= (vec4 &a, Real b) |
|
vec4 | operator-= (vec4 &a, const vec4 &b) |
|
vec4 | operator-= (vec4 &a, Real b) |
|
vec4 | operator*= (vec4 &a, const vec4 &b) |
|
vec4 | operator*= (vec4 &a, Real b) |
|
vec4 | operator/= (vec4 &a, const vec4 &b) |
|
vec4 | operator/= (vec4 &a, Real b) |
|
int | operator== (const vec4 &a, const vec4 &b) |
|
int | operator== (Real a, const vec4 &b) |
|
int | operator== (const vec4 &a, Real b) |
|
int | operator< (const vec4 &a, const vec4 &b) |
|
int | operator< (Real a, const vec4 &b) |
|
int | operator< (const vec4 &a, Real b) |
|
int | operator<= (const vec4 &a, const vec4 &b) |
|
int | operator<= (Real a, const vec4 &b) |
|
int | operator<= (const vec4 &a, Real b) |
|
int | operator> (const vec4 &a, const vec4 &b) |
|
int | operator> (Real a, const vec4 &b) |
|
int | operator> (const vec4 &a, Real b) |
|
int | operator>= (const vec4 &a, const vec4 &b) |
|
int | operator>= (Real a, const vec4 &b) |
|
int | operator>= (const vec4 &a, Real b) |
|
vec4 | operator- (const vec4 &a) |
|
vec4 | absolute (const vec4 &val) |
|
Real | sum (const vec4 &a) |
|
Real | inner (const vec4 &a, const vec4 &b) |
|
Real | squaredNorm (const vec4 &a) |
|
Real | norm (const vec4 &a) |
|
vec4 | unit (const vec4 &a) |
|
Real | angle (const vec4 &a, const vec4 &b) |
|
vec4 | proj (const vec4 &axis, const vec4 &a) |
|