MCL
A C++ library mirroring some of the most common Matlab functions.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Functions
comparisonop.cpp File Reference
#include "comparisonop.h"
#include "mcltypes.h"
#include "vectorop.h"
#include "pointwiseop.h"
#include "quaternion.h"
#include <vector>

Namespaces

namespace  mcl
 

Functions

bool mcl::IsEqual (Real num_a, Real num_b, Real precision=VERY_SMALL)
 
bool mcl::IsNan (Real num)
 
std::vector< bool > mcl::IsNan (std::vector< Real > input)
 
bool mcl::IsInf (Real num)
 
std::vector< bool > mcl::IsInf (std::vector< Real > input)
 
std::vector< bool > mcl::Not (std::vector< bool > input)
 
bool mcl::All (std::vector< bool > input)
 
bool mcl::None (std::vector< bool > input)
 
bool mcl::Any (std::vector< bool > input)
 
bool mcl::IsSmallerOrEqual (const Real num_a, const Real num_b, const Real precision=VERY_SMALL)
 
bool mcl::IsLargerOrEqual (const Real num_a, const Real num_b, const Real precision=VERY_SMALL)
 
bool mcl::AreAllSmallerOrEqual (const std::vector< Real > &vector_a, const std::vector< Real > &vector_b)
 
bool mcl::IsEqual (Complex num_a, Complex num_b, Real precision=VERY_SMALL)
 
bool mcl::IsEqual (const Quaternion &quaternion_a, const Quaternion &quaternion_b)
 
bool mcl::IsEqual (const std::vector< Int > &vector_a, const std::vector< Int > &vector_b)
 
bool mcl::IsReal (const std::vector< Complex > &input)
 
bool mcl::IsEqual (std::vector< Point > points_a, std::vector< Point > points_b)
 
bool mcl::IsEqual (const Point &point_a, const Point &point_b, const Real precision=VERY_SMALL)
 
bool mcl::IsEqual (const Real *input_data_a, const Real *input_data_b, const Int num_samples, Real precision=VERY_SMALL)
 
bool mcl::IsEqual (const Real *input_data_a, const std::vector< Real > input_data_b, Real precision=VERY_SMALL)
 
bool mcl::IsEqual (const std::vector< Real > input_data_b, const Real *input_data_a, Real precision=VERY_SMALL)