GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Sparse.cc File Reference
#include <cassert>
#include <cinttypes>
#include <algorithm>
#include <istream>
#include <ostream>
#include <sstream>
#include <vector>
#include "Array.h"
#include "MArray.h"
#include "Array-util.h"
#include "Range.h"
#include "idx-vector.h"
#include "lo-error.h"
#include "quit.h"
#include "oct-locbuf.h"
#include "Sparse.h"
#include "sparse-util.h"
#include "oct-spparms.h"
#include "mx-inlines.cc"
#include "PermMatrix.h"

Go to the source code of this file.

Macros

#define INSTANTIATE_SPARSE(T)
 

Functions

template<typename T >
std::istream & read_sparse_matrix (std::istream &is, Sparse< T > &a, T(*read_fcn)(std::istream &))
 
template<typename T >
bool sparse_ascending_compare (typename ref_param< T >::type a, typename ref_param< T >::type b)
 
template<typename T >
bool sparse_descending_compare (typename ref_param< T >::type a, typename ref_param< T >::type b)
 

Macro Definition Documentation

◆ INSTANTIATE_SPARSE

#define INSTANTIATE_SPARSE (   T)
Value:
template class Sparse<T>; \
template OCTAVE_API std::istream& \
read_sparse_matrix<T> (std::istream& is, Sparse<T>& a, \
T (*read_fcn) (std::istream&));
#define OCTAVE_API
Definition: main.cc:55

Definition at line 3114 of file Sparse.cc.

Function Documentation

◆ read_sparse_matrix()

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

◆ sparse_ascending_compare()

template<typename T >
bool sparse_ascending_compare ( typename ref_param< T >::type  a,
typename ref_param< T >::type  b 
)

Definition at line 2300 of file Sparse.cc.

◆ sparse_descending_compare()

template<typename T >
bool sparse_descending_compare ( typename ref_param< T >::type  a,
typename ref_param< T >::type  b 
)

Definition at line 2309 of file Sparse.cc.