GNU Octave  6.2.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-sort.h"
#include "sparse-util.h"
#include "oct-spparms.h"
#include "mx-inlines.cc"
#include "PermMatrix.h"
Include dependency graph for Sparse.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INSTANTIATE_SPARSE(T, API)
 

Functions

static octave_idx_type lblookup (const octave_idx_type *ridx, octave_idx_type nr, octave_idx_type ri)
 
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,
  API 
)
Value:
template class API Sparse<T>; \
template std::istream& \
read_sparse_matrix<T> (std::istream& is, Sparse<T>& a, \
T (*read_fcn) (std::istream&));
Definition: Sparse.h:49

Definition at line 3026 of file Sparse.cc.

Function Documentation

◆ lblookup()

static octave_idx_type lblookup ( const octave_idx_type ridx,
octave_idx_type  nr,
octave_idx_type  ri 
)
static

◆ 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 2228 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 2236 of file Sparse.cc.