71 template <
typename TData,
typename T>
73 const std::string &execSpace =
"");
77 const typename T::value_type a,
78 const typename T::value_type b, T &x,
79 const std::string &execSpace =
"");
83 const typename T::value_type mean,
84 const typename T::value_type sigma, T &x,
85 const std::string &execSpace =
"");
101 const std::string &execSpace =
"");
103 template <
typename T>
105 const std::string &execSpace =
"");
107 template <
typename T>
109 const std::string &execSpace =
"");
111 template <
typename T>
113 const std::string &execSpace =
"");
115 template <
typename T>
117 const std::string &execSpace =
"");
119 template <
typename T>
121 const std::string &execSpace =
"");
123 template <
typename T>
125 T &z,
const std::string &execSpace =
"");
127 template <
typename T>
129 const typename T::value_type
beta, T &y, T &z,
130 const std::string &execSpace =
"");
132 template <
typename T>
134 const typename T::value_type
beta, T &y, T &z,
135 T &w,
const std::string &execSpace =
"");
137 template <
typename T>
139 const typename T::value_type
beta, T &y,
140 const typename T::value_type gamma, T &z,
141 T &w,
const std::string &execSpace =
"");
145 template <
typename T>
147 const std::vector<typename T::value_type> &alpha,
148 const std::vector<T *> &x, T &y,
const bool append,
149 const std::string &execSpace =
"");
151 template <
typename T>
153 T &x,
const std::string &execSpace =
"");
155 template <
typename M,
typename T>
157 M &mask, T &x,
const std::string &execSpace =
"");
159 template <
typename T>
161 T &x,
const std::string &execSpace =
"");
163 template <
typename M,
typename T>
165 M &mask, T &x,
const std::string &execSpace =
"");
167 template <
typename T>
169 T &x,
const std::string &execSpace =
"");
171 template <
typename M,
typename T>
173 M &mask, T &x,
const std::string &execSpace =
"");
175 template <
typename T>
177 T &x, T &y,
const std::string &execSpace =
"");
179 template <
typename M,
typename T>
181 M &mask, T &x, T &y,
const std::string &execSpace =
"");
184 template <
typename T>
186 T &x, T &y, T &z,
const std::string &execSpace =
"");
188 template <
typename M,
typename T>
190 M &mask, T &x, T &y, T &z,
const std::string &execSpace =
"");
192 template <
typename T>
194 T &x,
const std::string &execSpace =
"");
196 template <
typename M,
typename T>
198 M &mask, T &x,
const std::string &execSpace =
"");
200 template <
typename T>
202 T &,
const std::string &execSpace =
"");
204 template <
typename M,
typename T>
206 M &mask, T &,
const std::string &execSpace =
"");
208 template <
typename T>
210 T &x,
const std::string &execSpace =
"");
212 template <
typename M,
typename T>
214 M &mask, T &x,
const std::string &execSpace =
"");
LIB_MATH_EXPORT void abs(T &x, T &y, const std::string &execSpace="")
LIB_MATH_EXPORT void daxpbypcz(const typename T::value_type alpha, T &x, const typename T::value_type beta, T &y, const typename T::value_type gamma, T &z, T &w, const std::string &execSpace="")
LIB_MATH_EXPORT T::value_type l2norm(T &, const std::string &execSpace="")
LIB_MATH_EXPORT void add(T &x, T &y, T &z, const std::string &execSpace="")
LIB_MATH_EXPORT void zero(T &x, const std::string &execSpace="")
LIB_MATH_EXPORT void daxpby(const typename T::value_type alpha, T &x, const typename T::value_type beta, T &y, T &z, const std::string &execSpace="")
LIB_MATH_EXPORT T::value_type reduceMin(T &x, const std::string &execSpace="")
LIB_MATH_EXPORT void sqrt(T &x, T &y, const std::string &execSpace="")
LIB_MATH_EXPORT void daxpy(const typename T::value_type alpha, T &x, T &y, T &z, const std::string &execSpace="")
LIB_MATH_EXPORT T::value_type reduceMax(T &x, const std::string &execSpace="")
LIB_MATH_EXPORT T::value_type linfnorm(M &mask, T &x, const std::string &execSpace="")
LIB_MATH_EXPORT T::value_type l1norm(T &x, const std::string &execSpace="")
LIB_MATH_EXPORT T::value_type l2norm(M &mask, T &, const std::string &execSpace="")
LIB_MATH_EXPORT void daxpbypz(const typename T::value_type alpha, T &x, const typename T::value_type beta, T &y, T &z, T &w, const std::string &execSpace="")
LIB_MATH_EXPORT void fillNormal(RandomGenerator &gen, const typename T::value_type mean, const typename T::value_type sigma, T &x, const std::string &execSpace="")
LIB_MATH_EXPORT T::value_type linfnorm(T &x, const std::string &execSpace="")
LIB_MATH_EXPORT std::array< typename T::value_type, 2 > ddot2(T &x, T &y, T &z, const std::string &execSpace="")
Math::MathHelper & operator=(const Math::MathHelper &rhs)
LIB_MATH_EXPORT T::value_type ddot(M &mask, T &x, T &y, const std::string &execSpace="")
LIB_MATH_EXPORT void fillUniform(RandomGenerator &gen, const typename T::value_type a, const typename T::value_type b, T &x, const std::string &execSpace="")
LIB_MATH_EXPORT T::value_type ddot(T &x, T &y, const std::string &execSpace="")
LIB_MATH_EXPORT void mul(T &x, T &y, T &z, const std::string &execSpace="")
LIB_MATH_EXPORT void div(T &x, T &y, T &z, const std::string &execSpace="")
LIB_MATH_EXPORT void sub(T &x, T &y, T &z, const std::string &execSpace="")
LIB_MATH_EXPORT T::value_type reduceSum(T &x, const std::string &execSpace="")
LIB_MATH_EXPORT T::value_type reduceMax(M &mask, T &x, const std::string &execSpace="")
LIB_MATH_EXPORT std::array< typename T::value_type, 2 > ddot2(M &mask, T &x, T &y, T &z, const std::string &execSpace="")
std::string m_defaultExecSpace
LIB_MATH_EXPORT T::value_type reduceSum(M &mask, T &x, const std::string &execSpace="")
LIB_MATH_EXPORT T::value_type reduceMin(M &mask, T &x, const std::string &execSpace="")
LIB_MATH_EXPORT void fill(const TData &val, T &x, const std::string &execSpace="")
MathHelper(const std::string &defaultExecSpace)
LIB_MATH_EXPORT void neg(T &x, T &y, const std::string &execSpace="")
LIB_MATH_EXPORT void mul(const typename T::value_type alpha, T &x, T &y, const std::string &execSpace="")
LIB_MATH_EXPORT void copy(T &x, T &y, const std::string &execSpace="")
LIB_MATH_EXPORT void div(const typename T::value_type alpha, T &x, T &y, const std::string &execSpace="")
LIB_MATH_EXPORT T::value_type l1norm(M &mask, T &x, const std::string &execSpace="")
LIB_MATH_EXPORT void linearCombination(const std::vector< typename T::value_type > &alpha, const std::vector< T * > &x, T &y, const bool append, const std::string &execSpace="")
Pseudo-random number generator behind Math::fillUniform and Math::fillNormal.
@ beta
Gauss Radau pinned at x=-1,.