GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Sparse-C.cc File Reference
#include "oct-cmplx.h"
#include "lo-mappers.h"
#include "lo-ieee.h"
#include "Array.h"
#include "Sparse.h"
#include "Sparse.cc"
Include dependency graph for Sparse-C.cc:

Go to the source code of this file.

Functions

template OCTAVE_API std::istream & read_sparse_matrix< Complex > (std::istream &is, Sparse< Complex > &a, Complex(*read_fcn)(std::istream &))
 
template<>
OCTAVE_API bool sparse_ascending_compare< Complex > (const Complex &a, const Complex &b)
 
template<>
OCTAVE_API bool sparse_descending_compare< Complex > (const Complex &a, const Complex &b)
 
static double xabs (const Complex &x)
 

Function Documentation

◆ read_sparse_matrix< Complex >()

template OCTAVE_API std::istream& read_sparse_matrix< Complex > ( std::istream &  is,
Sparse< Complex > &  a,
Complex(*)(std::istream &)  read_fcn 
)

◆ sparse_ascending_compare< Complex >()

template<>
OCTAVE_API bool sparse_ascending_compare< Complex > ( const Complex a,
const Complex b 
)

Definition at line 49 of file Sparse-C.cc.

References isnan(), and xabs().

◆ sparse_descending_compare< Complex >()

template<>
OCTAVE_API bool sparse_descending_compare< Complex > ( const Complex a,
const Complex b 
)

Definition at line 58 of file Sparse-C.cc.

References isnan(), and xabs().

◆ xabs()

static double xabs ( const Complex x)
static

Definition at line 41 of file Sparse-C.cc.

References abs(), Inf, isinf(), and x.

Referenced by sparse_ascending_compare< Complex >(), and sparse_descending_compare< Complex >().