Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/Functors_8h.html
Дата изменения: Unknown Дата индексирования: Mon Feb 14 19:02:05 2011 Кодировка: Поисковые слова: п п р р р р р р п п п п п п п п |
#include <casa/BasicMath/Math.h>
#include <casa/BasicSL/Complex.h>
#include <functional>
Go to the source code of this file.
Classes | |
struct | casa::Plus< L, R, RES > |
Functor to add variables of possible different types. More... | |
struct | casa::Minus< L, R, RES > |
Functor to subtract variables of possible different types. More... | |
struct | casa::Multiplies< L, R, RES > |
Functor to multiply variables of possible different types. More... | |
struct | casa::Divides< L, R, RES > |
Functor to divide variables of possible different types. More... | |
struct | casa::Modulo< L, R, RES > |
Functor to take modulo of (integer) variables of possible different types. More... | |
struct | casa::BitAnd< T > |
Functor for bitwise and of (integer) values. More... | |
struct | casa::BitOr< T > |
Functor for bitwise or of (integer) values. More... | |
struct | casa::BitXor< T > |
Functor for bitwise xor of (integer) values. More... | |
struct | casa::BitNegate< T > |
Functor for bitwise negate of (integer) values. More... | |
struct | casa::IsNaN< T > |
Functor to test for NaN. More... | |
struct | casa::IsInf< T > |
Functor to test for infinity. More... | |
struct | casa::Near< L, R > |
Functor to test if two values are relatively near each other. More... | |
struct | casa::NearAbs< L, R > |
Functor to test for if two values are absolutely near each other. More... | |
struct | casa::Sin< T, RES > |
Functor to apply sin. More... | |
struct | casa::Sinh< T, RES > |
Functor to apply sinh. More... | |
struct | casa::Asin< T, RES > |
Functor to apply asin. More... | |
struct | casa::Cos< T, RES > |
Functor to apply cos. More... | |
struct | casa::Cosh< T, RES > |
Functor to apply cosh. More... | |
struct | casa::Acos< T, RES > |
Functor to apply acos. More... | |
struct | casa::Tan< T, RES > |
Functor to apply tan. More... | |
struct | casa::Tanh< T, RES > |
Functor to apply tanh. More... | |
struct | casa::Atan< T, RES > |
Functor to apply atan. More... | |
struct | casa::Atan2< L, R, RES > |
Functor to apply atan2. More... | |
struct | casa::Sqr< T, RES > |
Functor to apply sqr (power of 2). More... | |
struct | casa::Pow3< T, RES > |
Functor to apply a power of 3. More... | |
struct | casa::Sqrt< T, RES > |
Functor to apply sqrt. More... | |
struct | casa::Exp< T, RES > |
Functor to apply exp. More... | |
struct | casa::Log< T, RES > |
Functor to apply log. More... | |
struct | casa::Log10< T, RES > |
Functor to apply log10. More... | |
struct | casa::Abs< T, RES > |
Functor to apply abs. More... | |
struct | casa::Floor< T, RES > |
Functor to apply floor. More... | |
struct | casa::Ceil< T, RES > |
Functor to apply ceil. More... | |
struct | casa::Round< T, RES > |
Functor to apply round (e.g. More... | |
struct | casa::Sign< T, RES > |
Functor to apply sign (result is -1, 0, or 1). More... | |
struct | casa::MakeComplex< L, R, RES > |
Functor to form a complex number from the left and right value. More... | |
struct | casa::MakeComplexReal< L, R, RES > |
Functor to form a complex number from the real part of the left value and the right value. More... | |
struct | casa::MakeComplexImag< L, R, RES > |
Functor to form a complex number from the left value and the imaginary part of the right value. More... | |
struct | casa::MakeComplexRealImag< L, R, RES > |
Functor to form a complex number from the real part of the left value and the imaginary part of the right value. More... | |
struct | casa::Conj< T, RES > |
Functor to apply complex function conj. More... | |
struct | casa::Real< T, RES > |
Functor to apply complex function real. More... | |
struct | casa::Imag< T, RES > |
Functor to apply complex function imag. More... | |
struct | casa::CArg< T, RES > |
Functor to apply complex function arg. More... | |
struct | casa::CAbs< T, RES > |
Functor to apply complex function fabs. More... | |
struct | casa::Pow< T, E, RES > |
Functor to apply pow. More... | |
struct | casa::Fmod< L, R, RES > |
Functor to apply fmod. More... | |
struct | casa::Min< L, R, RES > |
Functor to get minimum of two values. More... | |
struct | casa::Max< L, R, RES > |
Functor to get maximum of two values. More... | |
struct | casa::SumSqr< T, Accum > |
Functor to add square of right to left. More... | |
struct | casa::SumSqrDiff< T, Accum > |
Functor to add squared diff of right and base value to left. More... | |
struct | casa::SumAbsDiff< T, Accum > |
Functor to add absolute diff of right and base value to left. More... | |
Namespaces | |
namespace | casa |
this file contains all the compiler specific defines | |
Functions | |
template<typename InputIterator1 , typename InputIterator2 , typename BinaryOperator > | |
void | casa::transformInPlace (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, BinaryOperator op) |
Define a function to do a binary transform in place. | |
template<typename InputIterator1 , typename UnaryOperator > | |
void | casa::transformInPlace (InputIterator1 first1, InputIterator1 last1, UnaryOperator op) |
Define a function to do a unary transform in place. | |
template<typename InputIterator , typename MaskIterator , typename Accum , typename BinaryOperator > | |
Accum | casa::accumulateTrue (InputIterator first, InputIterator last, MaskIterator mask, Accum acc, BinaryOperator op=std::plus< Accum >()) |
Define a function (similar to std::accumulate) to do accumulation of elements for which the corresponding mask value is true. | |
template<typename InputIterator , typename MaskIterator , typename Accum , typename BinaryOperator > | |
Accum | casa::accumulateFalse (InputIterator first, InputIterator last, MaskIterator mask, Accum acc, BinaryOperator op=std::plus< Accum >()) |
Define a function (similar to std::accumulate) to do accumulation of elements for which the corresponding mask value is false. | |
template<typename InputIterator1 , typename InputIterator2 , typename CompareOperator > | |
bool | casa::compareAll (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, CompareOperator op) |
Define a function to compare all elements of two sequences. | |
template<typename InputIterator1 , typename CompareOperator > | |
bool | casa::compareAll (InputIterator1 first1, InputIterator1 last1, CompareOperator op) |
For use with a constant value (through bind1st or bind2nd). | |
template<typename InputIterator1 , typename InputIterator2 , typename CompareOperator > | |
bool | casa::compareAny (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, CompareOperator op) |
Define a function to compare all elements of two sequences. | |
template<typename InputIterator1 , typename CompareOperator > | |
bool | casa::compareAny (InputIterator1 first1, InputIterator1 last1, CompareOperator op) |
For use with a constant value (through bind1st or bind2nd). |