Loading...
Searching...
No Matches
ElementFunctions.h File Reference
`#include <cmath>`
`#include <complex>`
`#include <limits>`

Go to the source code of this file.

## Classes

struct | casacore::arrays_internal::SumSqrDiff< T, Accum >
| Functor to add squared diff of right and base value to left. More...
struct | casacore::arrays_internal::SumSqrDiff< std::complex< T > >
| Specialize for complex values. More...

## Namespaces

namespace | casacore
| this file contains all the compiler specific defines
namespace | casacore::arrays_internal

## Functions

bool | casacore::arrays_internal::near (unsigned val1, unsigned val2, double tol)
bool | casacore::arrays_internal::near (int val1, int val2, double tol)
bool | casacore::arrays_internal::near (float val1, float val2, double tol)
bool | casacore::arrays_internal::near (double val1, double val2, double tol)
bool | casacore::arrays_internal::near (float val1, double val2, double tol)
bool | casacore::arrays_internal::near (double val1, float val2, double tol)
bool | casacore::arrays_internal::near (const std::complex< float > &val1, const std::complex< float > &val2, double tol=1.0e-5)
bool | casacore::arrays_internal::near (const std::complex< double > &val1, const std::complex< double > &val2, double tol=1.0e-13)
bool | casacore::arrays_internal::nearAbs (const std::complex< float > &val1, const std::complex< float > &val2, double tol=1.0e-5)
bool | casacore::arrays_internal::nearAbs (const std::complex< double > &val1, const std::complex< double > &val2, double tol=1.0e-13)
bool | casacore::arrays_internal::nearAbs (unsigned val1, unsigned val2, double tol)
bool | casacore::arrays_internal::nearAbs (int val1, int val2, double tol)
bool | casacore::arrays_internal::nearAbs (float val1, float val2, double tol)
bool | casacore::arrays_internal::nearAbs (double val1, double val2, double tol)
template<typename InputIterator1, typename InputIterator2, typename CompareOperator>
bool | casacore::arrays_internal::compareAll (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, CompareOperator op)
| Define a function to compare all elements of two sequences.
template<typename InputIterator1, typename T, typename CompareOperator>
bool | casacore::arrays_internal::compareAllLeft (InputIterator1 first1, InputIterator1 last1, T left, CompareOperator op)
| For use with a constant left value.
template<typename InputIterator1, typename T, typename CompareOperator>
bool | casacore::arrays_internal::compareAllRight (InputIterator1 first1, InputIterator1 last1, T right, CompareOperator op)
| For use with a constant right value.
template<typename InputIterator1, typename InputIterator2, typename CompareOperator>
bool | casacore::arrays_internal::compareAny (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, CompareOperator op)
| Define a function to compare all elements of two sequences.
template<typename InputIterator1, typename T, typename CompareOperator>
bool | casacore::arrays_internal::compareAnyLeft (InputIterator1 first1, InputIterator1 last1, T left, CompareOperator op)
| For use with a constant left value.
template<typename InputIterator1, typename T, typename CompareOperator>
bool | casacore::arrays_internal::compareAnyRight (InputIterator1 first1, InputIterator1 last1, T right, CompareOperator op)
| For use with a constant right value.
template<typename T>
bool | casacore::arrays_internal::isnan (const std::complex< T > &val)
template<typename T>
bool | casacore::arrays_internal::isinf (const std::complex< T > &val)
template<typename T>
bool | casacore::arrays_internal::isfinite (const std::complex< T > &val)
int | casacore::arrays_internal::floormod (int x, int y)
long long | casacore::arrays_internal::floormod (long long x, long long y)
float | casacore::arrays_internal::floormod (float x, float y)
double | casacore::arrays_internal::floormod (double x, double y)
template<class T, class F>
void | casacore::arrays_internal::convertScalar (T &out, F in)
void | casacore::arrays_internal::convertScalar (std::complex< float > &out, std::complex< double > in)