Template Numerical Library version\ main:c173bea
Loading...
Searching...
No Matches
TNL::Matrices::Sandbox Namespace Reference

Namespace for sandbox matrices. More...

Classes

struct  IsSandboxMatrix
 
struct  IsSandboxMatrix< SparseSandboxMatrix< Real, Device, Index, MatrixType, RealAllocator, IndexAllocator > >
 
class  SparseSandboxMatrix
 Template of a sparse matrix that can be used for testing of new sparse-matrix formats. More...
 
class  SparseSandboxMatrixRowView
 RowView is a simple structure for accessing rows of sparse matrix. More...
 
class  SparseSandboxMatrixView
 Implementation of sparse sandbox matrix view. More...
 

Functions

template<typename ValuesView , typename ColumnsIndexesView , bool isBinary_>
std::ostreamoperator<< (std::ostream &str, const SparseSandboxMatrixRowView< ValuesView, ColumnsIndexesView, isBinary_ > &row)
 Insertion operator for a sparse matrix row.
 

Detailed Description

Namespace for sandbox matrices.

Function Documentation

◆ operator<<()

template<typename ValuesView , typename ColumnsIndexesView , bool isBinary_>
std::ostream & TNL::Matrices::Sandbox::operator<< ( std::ostream & str,
const SparseSandboxMatrixRowView< ValuesView, ColumnsIndexesView, isBinary_ > & row )

Insertion operator for a sparse matrix row.

Parameters
stris an output stream.
rowis an input sparse matrix row.
Returns
reference to the output stream.