ALP User Documentation 0.7.0
Algebraic Programming User Documentation
Classes
grb::operators Namespace Reference

This namespace holds various standard operators such as grb::operators::add and grb::operators::mul. More...

Classes

class  abs_diff
 This operator returns the absolute difference between two numbers. More...
 
class  add
 This operator takes the sum of the two input parameters and writes it to the output variable. More...
 
class  any_or
 This operator is a generalisation of the logical or. More...
 
class  argmax
 The argmax operator on key-value pairs. More...
 
class  argmin
 The argmin operator on key-value pairs. More...
 
class  divide
 Numerical division of two numbers. More...
 
class  divide_reverse
 Reversed division of two numbers. More...
 
class  equal
 Operator which returns true if its inputs compare equal, and false otherwise. More...
 
class  equal_first
 Compares std::pair inputs taking the first entry in every pair as the comparison key, and returns true or false accordingly. More...
 
class  geq
 This operation returns whether the left operand compares greater-than or equal to the right operand. More...
 
class  greater_than
 This operation returns whether the left operand compares greater-than the right operand. More...
 
class  left_assign
 This operator discards all right-hand side input and simply copies the left-hand side input to the output variable. More...
 
class  left_assign_if
 This operator assigns the left-hand input if the right-hand input evaluates true. More...
 
class  leq
 This operation returns whether the left operand compares less-than or equal to the right operand. More...
 
class  less_than
 This operation returns whether the left operand compares less-than the right operand. More...
 
class  logical_and
 The logical and. More...
 
class  logical_or
 The logical or. More...
 
class  max
 This operator takes the maximum of the two input parameters and writes the result to the output variable. More...
 
class  min
 This operator takes the minimum of the two input parameters and writes the result to the output variable. More...
 
class  mul
 This operator multiplies the two input parameters and writes the result to the output variable. More...
 
class  not_equal
 Operator that returns false whenever its inputs compare equal, and true otherwise. More...
 
class  relu
 This operation is equivalent to grb::operators::min. More...
 
class  right_assign
 This operator discards all left-hand side input and simply copies the right-hand side input to the output variable. More...
 
class  right_assign_if
 This operator assigns the right-hand input if the left-hand input evaluates true. More...
 
class  square_diff
 This operation returns the squared difference between two numbers. More...
 
class  subtract
 Numerical substraction of two numbers. More...
 
class  zip
 The zip operator that operators on keys as a left-hand input and values as a right hand input, producing a key-value std::pair. More...
 

Detailed Description

This namespace holds various standard operators such as grb::operators::add and grb::operators::mul.