Go to the source code of this file.
|
typedef ImageStateConstModIPAlgorithm< CosFnc > | Cos |
|
typedef ImageStateConstModIPAlgorithm< ExpFnc > | Exp |
|
typedef ImageStateConstModIPAlgorithm< LogFnc > | Log |
|
typedef ImageStateConstModIPAlgorithm< Log10Fnc > | Log10 |
|
typedef ImageStateConstModIPAlgorithm< SinFnc > | Sin |
|
typedef ImageStateConstModIPAlgorithm< SqrtFnc > | Sqrt |
|
typedef ImageStateConstModIPAlgorithm< TanFnc > | Tan |
|
typedef ImageStateConstModIPAlgorithm< PowFnc > | Pow |
|
◆ IMG_ALG_TRANSCENDENTALS_BLOCK
#define IMG_ALG_TRANSCENDENTALS_BLOCK |
( |
|
FF, |
|
|
|
NN, |
|
|
|
SS |
|
) |
| |
Value:struct FF { \
FF() {} \
~FF() {} \
template <typename T, class D> \
void VisitState(ImageStateImpl<T,D>& isi) const { \
const T*
end = isi.Data().GetEnd(); \
for(T* it = isi.Data().GetData(); it!=
end; ++it) { \
(*it) = SS (*it); \
} \
} \
template <class D> \
void VisitState(ImageStateImpl<Word,D>& isi) const { \
const
Word*
end = isi.Data().GetEnd(); \
for(
Word* it = isi.Data().GetData(); it!=
end; ++it) { \
(*it) =
static_cast<Word>(SS(
static_cast<Real>(*it))); \
} \
} \
static
String GetAlgorithmName() {
return "";} \
}; \
typedef ImageStateConstModIPAlgorithm<FF> NN;
pointer_it< T > end(const std::vector< T > &values)
Definition at line 39 of file transcendentals.hh.