Fork me on GitHub
 All Classes Files Functions Variables Groups Pages
Classes
Functional

Set of useful functors. More...

Classes

struct  cusp::plus_value< T >
 plus_value is a function object to add a constant value to a given element. More...
 
struct  cusp::divide_value< T >
 divide_value is a function object to divide a given element by a constant value. More...
 
struct  cusp::modulus_value< T >
 modulus_value is a function object that computes the modulus of a given element by a constant value. More...
 
struct  cusp::multiplies_value< T >
 multiplies_value is a function object that computes the multiply of a given element by a constant value. More...
 
struct  cusp::greater_value< T >
 greater_value is a function object that compares a given element with a constant value. More...
 
struct  cusp::greater_equal_value< T >
 greater_equal_value is a function object that compares a given element with a constant value. More...
 
struct  cusp::less_value< T >
 less_value is a function object that compares a given element with a constant value. More...
 
struct  cusp::less_equal_value< T >
 less_equal_value is a function object that compares a given element with a constant value. More...
 
struct  cusp::constant_functor< T >
 constant_functor is a function object returns a constant value, ignores the input. More...
 
struct  cusp::square_functor< T >
 square_functor is a function object that computes the square (x*x) of a given element. More...
 
struct  cusp::sqrt_functor< T >
 sqrt_functor is a function object that computes the square root of a given element. More...
 
struct  cusp::reciprocal_functor< T >
 reciprocal_functor is a function object computes the reciprocal, 1/x, of a given element. More...
 
struct  cusp::abs_functor< T >
 abs_functor is a function object that computes the absolute value of a given element. More...
 
struct  cusp::abs_squared_functor< T >
 abs_squared_functor is a function object that computes the square of the absolute value of a given element. More...
 
struct  cusp::conj_functor< T >
 conj_functor is a function object that computes the conjugate of a given element. More...
 
struct  cusp::norm_functor< T >
 norm_functor is a function object that computes the norm of a given element. More...
 
struct  cusp::sum_pair_functor< T >
 sum_pair_functor is a function object that computes the sum of a 2 element tuple. More...
 
struct  cusp::divide_pair_functor< T >
 divide_pair_functor is a function object that divides the first element of a 2 element tuple by the second element. More...
 
struct  cusp::equal_pair_functor< T >
 equal_pair_functor is a function object that compares 2 element tuple entries. More...
 
struct  cusp::not_equal_pair_functor< T >
 not_equal_pair_functor is a function object that compares 2 element tuple entries. More...