![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Utility functions for ipsdk math library. More...
#include <IPSDKMath/IPSDKMathExports.h>#include <IPSDKMath/Constants.h>#include <boost/type_traits.hpp>#include <vector>Go to the source code of this file.
Namespaces | |
| ipsdk | |
| Main namespace for IPSDK library. | |
| ipsdk::math | |
| Namespace agregating IPSDK mathematical routines and classes. | |
Functions | |
| template<typename T > | |
| IPSDKMATH_API void | ipsdk::math::sort (const T &x1, const T &x2, const T &x3, T &y1, T &y2, T &y3) |
| function allowing to sort 3 numbers in ascending order More... | |
| template<typename OutputType , typename InputType > | |
| IPSDKMATH_API OutputType | ipsdk::math::round (const InputType value) |
| function allowing to round number from a type to an other | |
| template<typename OutputType , typename InputType > | |
| IPSDKMATH_API OutputType | ipsdk::math::saturatedRound (const InputType value) |
| function allowing to round number from a type to an other with overflow management | |
| template<typename T > | |
| IPSDKMATH_API boost::enable_if< typename boost::is_arithmetic< T >::type, bool >::type | ipsdk::math::compare (const T val1, const T val2, const T tolerance=NumericLimits< T >::sqrt_epsilon()) |
| function allowing to compare two values More... | |
| template<typename T > | |
| IPSDKMATH_API boost::enable_if< typename boost::is_arithmetic< T >::type, bool >::type | ipsdk::math::compare (const std::vector< T > &vec1, const std::vector< T > &vec2, const T tolerance=NumericLimits< T >::sqrt_epsilon()) |
| function allowing to compare two values More... | |
| template<typename T > | |
| IPSDKMATH_API boost::enable_if< typename boost::is_arithmetic< T >::type, bool >::type | ipsdk::math::compareRelative (const T val1, const T val2, const T tolerance=NumericLimits< T >::sqrt_epsilon()) |
| function allowing to compare two values More... | |
| template<typename T > | |
| IPSDKMATH_API boost::enable_if< typename boost::is_arithmetic< T >::type, bool >::type | ipsdk::math::compareRelative (const std::vector< T > &vec1, const std::vector< T > &vec2, const T tolerance=NumericLimits< T >::sqrt_epsilon()) |
| function allowing to compare two values More... | |
Utility functions for ipsdk math library.
1.8.14