Go to the source code of this file.
◆ 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.