Classes | Namespaces | Functions
IntervalArithmetic.h File Reference
#include <array>
#include <ostream>
#include "SurgSim/Math/IntervalArithmetic-inl.h"

Go to the source code of this file.

Classes

class  SurgSim::Math::Interval< T >
 Interval defines the concept of a mathematical interval and provides operations on it including arithmetic operations, construction, and IO. More...
 
class  SurgSim::Math::IntervalND< T, N >
 IntervalND defines the concept of a group of mathematical intervals and provides operations on them including arithmetic operations, construction, and IO. More...
 
class  SurgSim::Math::IntervalND< T, 3 >
 IntervalND<T,3> defines the concept of a group of mathematical intervals specialized to 3 intervals and provides operations on them including arithmetic operations, construction, and IO. More...
 

Namespaces

 SurgSim
 
 SurgSim::Math
 

Functions

template<typename T >
Interval< T > SurgSim::Math::operator+ (T v, const Interval< T > &i)
 
template<typename T >
Interval< T > SurgSim::Math::operator* (T v, const Interval< T > &i)
 
template<typename T >
std::ostream & SurgSim::Math::operator<< (std::ostream &o, const Interval< T > &interval)
 Write a textual version of the interval to an output stream. More...
 
template<class P >
void SurgSim::Math::IntervalArithmetic_add (const Interval< P > &a, const Interval< P > &b, Interval< P > *res)
 Calculate the sum of two intervals. More...
 
template<class P >
void SurgSim::Math::IntervalArithmetic_addadd (const Interval< P > &a, const Interval< P > &b, Interval< P > *res)
 Calculate the sum of three intervals res + a + b. More...
 
template<class P >
void SurgSim::Math::IntervalArithmetic_sub (const Interval< P > &a, const Interval< P > &b, Interval< P > *res)
 Calculate the difference of two intervals. More...
 
template<class P >
void SurgSim::Math::IntervalArithmetic_addsub (const Interval< P > &a, const Interval< P > &b, Interval< P > *res)
 Add the difference of two intervals to an existing value. More...
 
template<class P >
void SurgSim::Math::IntervalArithmetic_mul (const Interval< P > &a, const Interval< P > &b, Interval< P > *res)
 Calculate the product of two intervals. More...
 
template<class P >
void SurgSim::Math::IntervalArithmetic_addmul (const Interval< P > &a, const Interval< P > &b, Interval< P > *res)
 Add the product of two intervals to an existing value. More...
 
template<class P >
void SurgSim::Math::IntervalArithmetic_submul (const Interval< P > &a, const Interval< P > &b, Interval< P > *res)
 Subtract the product of two intervals from an existing value. More...
 
template<typename T , int N>
std::ostream & SurgSim::Math::operator<< (std::ostream &o, const IntervalND< T, N > &interval)
 Write a textual version of an interval group to an output stream. More...
 
template<class P >
void SurgSim::Math::IntervalArithmetic_add (const IntervalND< P, 3 > &a, const IntervalND< P, 3 > &b, IntervalND< P, 3 > *res)
 Calculate the sum of two interval groups. More...
 
template<class P >
void SurgSim::Math::IntervalArithmetic_sub (const IntervalND< P, 3 > &a, const IntervalND< P, 3 > &b, IntervalND< P, 3 > *res)
 Calculate the difference of two interval groups. More...
 
template<class P >
void SurgSim::Math::IntervalArithmetic_dotProduct (const IntervalND< P, 3 > &a, const IntervalND< P, 3 > &b, Interval< P > *res)
 Calculate the dot product of two interval groups. More...
 
template<class P >
void SurgSim::Math::IntervalArithmetic_crossProduct (const IntervalND< P, 3 > &a, const IntervalND< P, 3 > &b, IntervalND< P, 3 > *res)
 Calculate the cross product of two interval groups. More...