suanPan
triplet_form.hpp File Reference
#include <Toolbox/utility.h>
#include <numeric>
Include dependency graph for triplet_form.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  csr_comparator< index_t >
 
class  csc_comparator< index_t >
 
class  triplet_form< data_t, index_t >
 

Enumerations

enum class  SparseBase : short unsigned { ZERO , ONE }
 

Functions

template<sp_d data_t, sp_i index_t>
triplet_form< data_t, index_t > operator+ (const triplet_form< data_t, index_t > &mat_a, const triplet_form< data_t, index_t > &mat_b)
 
template<sp_d data_t, sp_i index_t>
triplet_form< data_t, index_t > operator+ (triplet_form< data_t, index_t > &&mat_a, triplet_form< data_t, index_t > &&mat_b)
 
template<sp_d data_t, sp_i index_t>
triplet_form< data_t, index_t > operator+ (const triplet_form< data_t, index_t > &mat_a, triplet_form< data_t, index_t > &&mat_b)
 
template<sp_d data_t, sp_i index_t>
triplet_form< data_t, index_t > operator+ (triplet_form< data_t, index_t > &&mat_a, const triplet_form< data_t, index_t > &mat_b)
 

Enumeration Type Documentation

◆ SparseBase

enum class SparseBase : short unsigned
strong
Enumerator
ZERO 
ONE 

Function Documentation

◆ operator+() [1/4]

template<sp_d data_t, sp_i index_t>
triplet_form< data_t, index_t > operator+ ( const triplet_form< data_t, index_t > &  mat_a,
const triplet_form< data_t, index_t > &  mat_b 
)

◆ operator+() [2/4]

template<sp_d data_t, sp_i index_t>
triplet_form< data_t, index_t > operator+ ( const triplet_form< data_t, index_t > &  mat_a,
triplet_form< data_t, index_t > &&  mat_b 
)

◆ operator+() [3/4]

template<sp_d data_t, sp_i index_t>
triplet_form< data_t, index_t > operator+ ( triplet_form< data_t, index_t > &&  mat_a,
const triplet_form< data_t, index_t > &  mat_b 
)

◆ operator+() [4/4]

template<sp_d data_t, sp_i index_t>
triplet_form< data_t, index_t > operator+ ( triplet_form< data_t, index_t > &&  mat_a,
triplet_form< data_t, index_t > &&  mat_b 
)