STK++ 0.9.13
STK_Functors.h File Reference

In this file we implement the functors. More...

#include <cmath>
Include dependency graph for STK_Functors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  STK::TestEndOfLineOp
 Template functor testing if a Char is an end of line. More...
struct  STK::EqualOp< Type1, Type2 >
 Template functor testing if a number is equal to an other number. More...
struct  STK::NotEqualOp< Type1, Type2 >
 Template functor testing if a number is not equal to an other number. More...
struct  STK::LessOp< Type1, Type2 >
 Template functor testing if a number is less than an other number. More...
struct  STK::GreaterOp< Type1, Type2 >
 Template functor testing if a number is greater than an other number. More...
struct  STK::LeqOp< Type1, Type2 >
 Template functor testing if a number is less or equal than an other number. More...
struct  STK::GeqOp< Type1, Type2 >
 Template functor testing if a number is greater or equal than an other number. More...
struct  STK::SumOp< Type1, Type2 >
 Template functor which compute the sum of two numbers. More...
struct  STK::DifferenceOp< Type1, Type2 >
 Template functor which compute the difference of two numbers. More...
struct  STK::ProductOp< Type1, Type2 >
 Template functor which compute the product of two numbers. More...
struct  STK::DivisionOp< Type1, Type2 >
 Template functor which compute the division of two numbers. More...
struct  STK::ModuloOp< Type1, Type2 >
 Template functor which compute the modulo of two numbers. More...
struct  STK::MinOp< Type1, Type2 >
 Template functor which compute the minimum of two numbers. More...
struct  STK::MaxOp< Type1, Type2 >
 Template functor which compute the maximum of two numbers. More...
struct  STK::LogicalAndOp< Type1, Type2 >
 Template functor which compute the logical and of two numbers. More...
struct  STK::LogicalOrOp< Type1, Type2 >
 Template functor which compute the logical or of two numbers. More...
struct  STK::BitwiseAndOp< Type1, Type2 >
 Template functor which compute the bitwise and of two numbers. More...
struct  STK::BitwiseOrOp< Type1, Type2 >
 Template functor which compute the bitwise or of two numbers. More...
struct  STK::BitwiseXorOp< Type1, Type2 >
 Template functor which compute the bitwise xor of two numbers. More...
struct  STK::IsNaOp< Type >
 Template functor testing if a number is a NA value. More...
struct  STK::NegOp< Type >
 Template functor giving the not value. More...
struct  STK::IsFiniteOp< Type >
 Template functor testing if a number is a finite value. More...
struct  STK::IsInfiniteOp< Type >
 Template functor testing if a number is an infinite value. More...
struct  STK::EqualWithOp< Type >
 Template functor to test if a number is equal to a fixed value. More...
struct  STK::NotEqualWithOp< Type >
 Template functor to test if a number is different than a fixed value. More...
struct  STK::LessThanOp< Type >
 Template functor to test if a number is less than a fixed value. More...
struct  STK::GreaterThanOp< Type >
 Template functor to test if a number is greater than a fixed value. More...
struct  STK::LeqThanOp< Type >
 Template functor to test if a number is less or equal than a fixed value. More...
struct  STK::GeqThanOp< Type >
 Template functor to test if a number is greater or equal than a fixed value. More...
struct  STK::SumWithOp< Type >
 Template functor to add a number to a fixed value. More...
struct  STK::DifferenceWithOp< Type >
 Template functor to add a number to a fixed value. More...
struct  STK::SubstractToOp< Type >
 Template functor to subtract a number to a fixed value. More...
struct  STK::ProductWithOp< Type >
 Template functor computing the product of a number by a fixed value. More...
struct  STK::ProductWithOp< bool >
 Specialization for boolean. More...
struct  STK::DivisionWithBaseOp< Type, false >
struct  STK::DivisionWithBaseOp< Type, true >
struct  STK::DivisionWithOp< Type >
 Template functor to divide a number by a fixed value. More...
struct  STK::ModuloWithOp< Type >
 Template functor to compute the minimum with a fixed value. More...
struct  STK::MinWithOp< Type >
 Template functor to compute the minimum between a fixed value. More...
struct  STK::MaxWithOp< Type >
 Template functor to compute the minimum with a fixed value. More...
struct  STK::LogicalAndWithOp< Type >
 Template functor computing logical and with a fixed value. More...
struct  STK::LogicalOrWithOp< Type >
 Template functor computing logical and with a fixed value. More...
struct  STK::BitwiseAndWithOp< Type >
 Template functor to compute the bitwise and with a fixed value. More...
struct  STK::BitwiseOrWithOp< Type >
 Template functor to compute the bitwise or with a fixed value. More...
struct  STK::BitwiseXorWithOp< Type >
 Template functor to compute the bitwise xor with a fixed value. More...
struct  STK::OppositeOp< Type >
 Template functor which compute the opposite of a number. More...
struct  STK::SafeOp< Type >
 Template functor which return a default value if the value is NA. More...
struct  STK::SafeInverseOp< Type >
 Template functor which compute safely the inverse of a number. More...
struct  STK::AbsOp< Type >
 Template functor which compute the absolute value of a number. More...
struct  STK::ExpOp< Type >
 Template functor which compute the exponential of a number. More...
struct  STK::LogOp< Type >
 Template functor which compute the logarithm of a number. More...
struct  STK::SqrtOp< Type >
 Template functor which compute the square root of a number. More...
struct  STK::CosOp< Type >
 Template functor which compute the cosine of a number. More...
struct  STK::SinOp< Type >
 Template functor which compute the sine of a number. More...
struct  STK::TanOp< Type >
 Template functor which compute the tan of a number. More...
struct  STK::AcosOp< Type >
 Template functor which compute the arc cosine of a number. More...
struct  STK::AsinOp< Type >
 Template functor which compute the arc sine of a number. More...
struct  STK::PowOp< Type >
 Template functor to raise a number to a power. More...
struct  STK::InverseOp< Type >
 Template functor which compute the inverse of a number. More...
struct  STK::SquareOp< Type >
 Template functor which compute the square of a number. More...
struct  STK::CubeOp< Type >
 Template functor which compute the cube of a number. More...
struct  STK::CastOp< Type, OtherType >
 Template functor which cast a type to another type. More...

Namespaces

namespace  STK
 The namespace STK is the main domain space of the Statistical ToolKit project.

Detailed Description

In this file we implement the functors.

Definition in file STK_Functors.h.