MyraMath
Public Member Functions | List of all members
myra::CLowerMatrixRange< Number > Class Template Reference

Represents a const LowerMatrixRange. More...

#include <LowerMatrixRange.h>

Public Member Functions

 CLowerMatrixRange ()
 Default constructs a size 0x0 range.
 
 CLowerMatrixRange (const Number *in_begin, int N)
 Constructs on top of underlying contiguous storage of size N*(N+1)/2.
 
void write (OutputStream &out) const
 Writes to OutputStream. Layout compatible with LowerMatrix's InputStream constructor.
 
int size () const
 Size inspector.
 
uint64_t n_words () const
 Storage requirements.
 
std::pair< int, int > blocking () const
 Returns [N1,N2], the partition sizes of [A11 0; A21 A22'].
 
LowerMatrixRange< Number > remove_const () const
 Casts away "const" (C) qualifier, returning a LowerMatrixRange<Number>
 
CMatrixRange< Number > rectangle () const
 Returns a MatrixRange over all contents of *this, viewed as a rectangle.
 
const Number & operator() (int i, int j) const
 Random accessor.
 
const Number & at (int i, int j) const
 Bounds checked random accessor.
 
Matrix< Number > make_Matrix (char op='N') const
 Accumulates *this onto the lower triangle of a Matrix<Number>
 
void make_Matrix (const MatrixRange< Number > &A, char op='N') const
 Accumulates *this onto the lower triangle of a Matrix<Number>
 
CMatrixRange< Number > range11 () const
 Returns MatrixRange's over various subblocks, viewed as rectangles.
 
CMatrixRange< Number > range21 () const
 Returns MatrixRange's over various subblocks, viewed as rectangles.
 
CMatrixRange< Number > range22t () const
 Returns MatrixRange's over various subblocks, viewed as rectangles.
 

Public Attributes

const Number * begin
 ---------— Data members, all public ----------------—
 
int N1
 ---------— Data members, all public ----------------—
 
int N2
 ---------— Data members, all public ----------------—
 
int LD
 ---------— Data members, all public ----------------—
 

Detailed Description

template<class Number>
class myra::CLowerMatrixRange< Number >

Represents a const LowerMatrixRange.


The documentation for this class was generated from the following files: