GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-cmplx.h File Reference
#include "octave-config.h"
#include <complex>

Go to the source code of this file.

Macros

#define DECL_COMPLEXR_COMP(OP)
 
#define EXT_INST_COMPLEXR_COMP(OP, T)
 

Typedefs

typedef std::complex< double > Complex
 
typedef std::complex< float > FloatComplex
 

Functions

template bool operator< (const std::complex< double > &a, const std::complex< double > &b)
 
template bool operator< (const std::complex< double > &a, double b)
 
template bool operator< (const std::complex< float > &a, const std::complex< float > &b)
 
template bool operator< (const std::complex< float > &a, float b)
 
template<typename T >
bool operator< (const std::complex< T > &a, const std::complex< T > &b)
 
template<typename T >
bool operator< (const std::complex< T > &a, T b)
 
template bool operator< (double a, const std::complex< double > &b)
 
template bool operator< (float a, const std::complex< float > &b)
 
template<typename T >
bool operator< (T a, const std::complex< T > &b)
 
template bool operator<= (const std::complex< double > &a, const std::complex< double > &b)
 
template bool operator<= (const std::complex< double > &a, double b)
 
template bool operator<= (const std::complex< float > &a, const std::complex< float > &b)
 
template bool operator<= (const std::complex< float > &a, float b)
 
template<typename T >
bool operator<= (const std::complex< T > &a, const std::complex< T > &b)
 
template<typename T >
bool operator<= (const std::complex< T > &a, T b)
 
template bool operator<= (double a, const std::complex< double > &b)
 
template bool operator<= (float a, const std::complex< float > &b)
 
template<typename T >
bool operator<= (T a, const std::complex< T > &b)
 
template bool operator> (const std::complex< double > &a, const std::complex< double > &b)
 
template bool operator> (const std::complex< double > &a, double b)
 
template bool operator> (const std::complex< float > &a, const std::complex< float > &b)
 
template bool operator> (const std::complex< float > &a, float b)
 
template<typename T >
bool operator> (const std::complex< T > &a, const std::complex< T > &b)
 
template<typename T >
bool operator> (const std::complex< T > &a, T b)
 
template bool operator> (double a, const std::complex< double > &b)
 
template bool operator> (float a, const std::complex< float > &b)
 
template<typename T >
bool operator> (T a, const std::complex< T > &b)
 
template bool operator>= (const std::complex< double > &a, const std::complex< double > &b)
 
template bool operator>= (const std::complex< double > &a, double b)
 
template bool operator>= (const std::complex< float > &a, const std::complex< float > &b)
 
template bool operator>= (const std::complex< float > &a, float b)
 
template<typename T >
bool operator>= (const std::complex< T > &a, const std::complex< T > &b)
 
template<typename T >
bool operator>= (const std::complex< T > &a, T b)
 
template bool operator>= (double a, const std::complex< double > &b)
 
template bool operator>= (float a, const std::complex< float > &b)
 
template<typename T >
bool operator>= (T a, const std::complex< T > &b)
 

Macro Definition Documentation

◆ DECL_COMPLEXR_COMP

#define DECL_COMPLEXR_COMP (   OP)
Value:
template <typename T> bool operator OP (const std::complex<T>& a, \
const std::complex<T>& b); \
template <typename T> bool operator OP (const std::complex<T>& a, T b); \
template <typename T> bool operator OP (T a, const std::complex<T>& b);

Definition at line 37 of file oct-cmplx.h.

◆ EXT_INST_COMPLEXR_COMP

#define EXT_INST_COMPLEXR_COMP (   OP,
 
)
Value:
extern template OCTAVE_EXTERN_TEMPLATE_API \
bool operator OP (const std::complex<T>& a, const std::complex<T>& b); \
extern template OCTAVE_EXTERN_TEMPLATE_API \
bool operator OP (const std::complex<T>& a, T b); \
extern template OCTAVE_EXTERN_TEMPLATE_API \
bool operator OP (T a, const std::complex<T>& b);

Definition at line 49 of file oct-cmplx.h.

Typedef Documentation

◆ Complex

typedef std::complex<double> Complex

Definition at line 33 of file oct-cmplx.h.

◆ FloatComplex

typedef std::complex<float> FloatComplex

Definition at line 34 of file oct-cmplx.h.

Function Documentation

◆ operator<() [1/9]

template bool operator< ( const std::complex< double > &  a,
const std::complex< double > &  b 
)

◆ operator<() [2/9]

template bool operator< ( const std::complex< double > &  a,
double  b 
)

◆ operator<() [3/9]

template bool operator< ( const std::complex< float > &  a,
const std::complex< float > &  b 
)

◆ operator<() [4/9]

template bool operator< ( const std::complex< float > &  a,
float  b 
)

◆ operator<() [5/9]

template<typename T >
bool operator< ( const std::complex< T > &  a,
const std::complex< T > &  b 
)

Definition at line 173 of file oct-cmplx.cc.

◆ operator<() [6/9]

template<typename T >
bool operator< ( const std::complex< T > &  a,
b 
)

Definition at line 173 of file oct-cmplx.cc.

◆ operator<() [7/9]

template bool operator< ( double  a,
const std::complex< double > &  b 
)

◆ operator<() [8/9]

template bool operator< ( float  a,
const std::complex< float > &  b 
)

◆ operator<() [9/9]

template<typename T >
bool operator< ( a,
const std::complex< T > &  b 
)

Definition at line 173 of file oct-cmplx.cc.

◆ operator<=() [1/9]

template bool operator<= ( const std::complex< double > &  a,
const std::complex< double > &  b 
)

◆ operator<=() [2/9]

template bool operator<= ( const std::complex< double > &  a,
double  b 
)

◆ operator<=() [3/9]

template bool operator<= ( const std::complex< float > &  a,
const std::complex< float > &  b 
)

◆ operator<=() [4/9]

template bool operator<= ( const std::complex< float > &  a,
float  b 
)

◆ operator<=() [5/9]

template<typename T >
bool operator<= ( const std::complex< T > &  a,
const std::complex< T > &  b 
)

Definition at line 175 of file oct-cmplx.cc.

◆ operator<=() [6/9]

template<typename T >
bool operator<= ( const std::complex< T > &  a,
b 
)

Definition at line 175 of file oct-cmplx.cc.

◆ operator<=() [7/9]

template bool operator<= ( double  a,
const std::complex< double > &  b 
)

◆ operator<=() [8/9]

template bool operator<= ( float  a,
const std::complex< float > &  b 
)

◆ operator<=() [9/9]

template<typename T >
bool operator<= ( a,
const std::complex< T > &  b 
)

Definition at line 175 of file oct-cmplx.cc.

◆ operator>() [1/9]

template bool operator> ( const std::complex< double > &  a,
const std::complex< double > &  b 
)

◆ operator>() [2/9]

template bool operator> ( const std::complex< double > &  a,
double  b 
)

◆ operator>() [3/9]

template bool operator> ( const std::complex< float > &  a,
const std::complex< float > &  b 
)

◆ operator>() [4/9]

template bool operator> ( const std::complex< float > &  a,
float  b 
)

◆ operator>() [5/9]

template<typename T >
bool operator> ( const std::complex< T > &  a,
const std::complex< T > &  b 
)

Definition at line 172 of file oct-cmplx.cc.

◆ operator>() [6/9]

template<typename T >
bool operator> ( const std::complex< T > &  a,
b 
)

Definition at line 172 of file oct-cmplx.cc.

◆ operator>() [7/9]

template bool operator> ( double  a,
const std::complex< double > &  b 
)

◆ operator>() [8/9]

template bool operator> ( float  a,
const std::complex< float > &  b 
)

◆ operator>() [9/9]

template<typename T >
bool operator> ( a,
const std::complex< T > &  b 
)

Definition at line 172 of file oct-cmplx.cc.

◆ operator>=() [1/9]

template bool operator>= ( const std::complex< double > &  a,
const std::complex< double > &  b 
)

◆ operator>=() [2/9]

template bool operator>= ( const std::complex< double > &  a,
double  b 
)

◆ operator>=() [3/9]

template bool operator>= ( const std::complex< float > &  a,
const std::complex< float > &  b 
)

◆ operator>=() [4/9]

template bool operator>= ( const std::complex< float > &  a,
float  b 
)

◆ operator>=() [5/9]

template<typename T >
bool operator>= ( const std::complex< T > &  a,
const std::complex< T > &  b 
)

Definition at line 174 of file oct-cmplx.cc.

◆ operator>=() [6/9]

template<typename T >
bool operator>= ( const std::complex< T > &  a,
b 
)

Definition at line 174 of file oct-cmplx.cc.

◆ operator>=() [7/9]

template bool operator>= ( double  a,
const std::complex< double > &  b 
)

◆ operator>=() [8/9]

template bool operator>= ( float  a,
const std::complex< float > &  b 
)

◆ operator>=() [9/9]

template<typename T >
bool operator>= ( a,
const std::complex< T > &  b 
)

Definition at line 174 of file oct-cmplx.cc.