Spatial C++ Library
Generic MultiDimensional Containers and Spatial Operations

This functor uses the minus operator to calculate the difference between 2 elements of Tp along the dimension n
accessed through the bracket operator.
More...
#include <spatial_builtin.hpp>
Public Member Functions  
bracket_minus ()  
template<typename AnyUnit >  
bracket_minus (const bracket_minus< Tp, AnyUnit > &)  
Unit  operator() (dimension_type n, const Tp &x, const Tp &y) const 
This functor uses the minus operator to calculate the difference between 2 elements of Tp along the dimension n
accessed through the bracket operator.
The returned value is cast into the type Unit
.
Definition at line 24 of file spatial_builtin.hpp.
spatial::bracket_minus< Tp, Unit >::bracket_minus  (  ) 
Definition at line 58 of file function.hpp.
spatial::bracket_minus< Tp, Unit >::bracket_minus  (  const bracket_minus< Tp, AnyUnit > &  ) 
Definition at line 61 of file function.hpp.
Unit spatial::bracket_minus< Tp, Unit >::operator()  (  dimension_type  n, 
const Tp &  x,  
const Tp &  y  
)  const 
Definition at line 64 of file function.hpp.