34 #include "BlockHilbert.hpp"
36 #ifndef _H_BISECTIONHILBERT
37 #define _H_BISECTIONHILBERT
43 template<
typename T >
83 this->
load( input, m, n, zero );
The Bisection Hilbert triplet scheme.
Definition: BisectionHilbert.hpp:44
virtual unsigned long int m()
Queries the number of rows this matrix contains.
Definition: SparseMatrix.hpp:107
char bisection
Whether we use fixed block grid or a bisection-based grid.
Definition: BlockHilbert.hpp:59
BisectionHilbert(std::vector< Triplet< T > > &input, unsigned long int m, unsigned long int n, T zero)
Base constructor.
Definition: BisectionHilbert.hpp:81
The Block Hilbert triplet scheme.
Definition: BlockHilbert.hpp:52
void loadFromFile(const std::string file, const T zero=0)
Function which loads a matrix from a matrix market file.
Definition: SparseMatrix.hpp:89
BisectionHilbert()
Base constructor.
Definition: BisectionHilbert.hpp:56
virtual ~BisectionHilbert()
Base deconstructor.
Definition: BisectionHilbert.hpp:53
BisectionHilbert(std::string file, T zero=0)
Base constructor.
Definition: BisectionHilbert.hpp:68
virtual unsigned long int n()
Queries the number of columns this matrix contains.
Definition: SparseMatrix.hpp:115
A single triplet value.
Definition: Triplet.hpp:52
virtual void load(std::vector< Triplet< T > > &input, const LI m, const LI n, const T zero)
Definition: BlockHilbert.hpp:455