GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Array-f.cc File Reference
#include "lo-mappers.h"
#include "Array.h"
#include "Array-base.cc"
#include "oct-locbuf.h"
#include "oct-sort.cc"
#include "DiagArray2.h"
#include "DiagArray2.cc"
Include dependency graph for Array-f.cc:

Go to the source code of this file.

Macros

#define INLINE_ASCENDING_SORT   1
 
#define INLINE_DESCENDING_SORT   1
 

Functions

static bool nan_ascending_compare (float x, float y)
 
static bool nan_descending_compare (float x, float y)
 
template OCTAVE_API std::ostream & operator<< (std::ostream &, const Array< float > &)
 
Array< float >::compare_fcn_type safe_comparator (sortmode mode, const Array< float > &a, bool allow_chk)
 
template<>
bool sort_isnan< float > (float x)
 

Variables

template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API Array< float >
 

Macro Definition Documentation

◆ INLINE_ASCENDING_SORT

#define INLINE_ASCENDING_SORT   1

Definition at line 44 of file Array-f.cc.

◆ INLINE_DESCENDING_SORT

#define INLINE_DESCENDING_SORT   1

Definition at line 45 of file Array-f.cc.

Function Documentation

◆ nan_ascending_compare()

static bool nan_ascending_compare ( float  x,
float  y 
)
static

Definition at line 56 of file Array-f.cc.

References isnan(), and x.

Referenced by safe_comparator().

◆ nan_descending_compare()

static bool nan_descending_compare ( float  x,
float  y 
)
static

Definition at line 62 of file Array-f.cc.

References isnan(), and x.

Referenced by safe_comparator().

◆ operator<<()

template OCTAVE_API std::ostream& operator<< ( std::ostream &  ,
const Array< float > &   
)

◆ safe_comparator()

Array<float>::compare_fcn_type safe_comparator ( sortmode  mode,
const Array< float > &  a,
bool  allow_chk 
)

◆ sort_isnan< float >()

template<>
bool sort_isnan< float > ( float  x)
inline

Definition at line 49 of file Array-f.cc.

References isnan(), and x.

Variable Documentation

◆ Array< float >

template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API Array< float >

Definition at line 169 of file Array-f.cc.

Referenced by rand::float_vector().