MOOCHO (Single Doxygen Collection) Version of the Day
Public Types | Public Member Functions | Private Member Functions | Private Attributes
DenseLinAlgPack::DMatrixSlice Class Reference

More...

#include <DenseLinAlgPack_DMatrixClass.hpp>

List of all members.

Public Types

typedef DenseLinAlgPack::value_type value_type
typedef DenseLinAlgPack::size_type size_type
typedef ptrdiff_t difference_type
typedef value_typereference
typedef const value_typeconst_reference

Public Member Functions

void bind (DMatrixSlice gms)
 

Private Member Functions

void validate_row_subscript (size_type i) const
void validate_col_subscript (size_type j) const
void validate_setup (size_type size) const
DVectorSlice p_diag (difference_type k) const

Private Attributes

value_typeptr_
size_type max_rows_
size_type rows_
size_type cols_
 DMatrixSlice ()
 DMatrixSlice (value_type *ptr, size_type size, size_type max_rows, size_type rows, size_type cols)
 DMatrixSlice (DMatrixSlice &gms, const Range1D &I, const Range1D &J)
size_type rows () const
 Return the number of rows.
size_type cols () const
 Return the number of columns.
EOverLap overlap (const DMatrixSlice &gms) const
reference operator() (size_type i, size_type j)
 Return element at row i, col j (i,j) (1-based) (throws std::out_of_range if i, j are out of bounds)
const_reference operator() (size_type i, size_type j) const
 Return element at row i, col j (i,j) (1-based) (throws std::out_of_range if i, j are out of bounds)
DVectorSlice row (size_type i)
 Return DVectorSlice object representing the ith row (1-based; 1,2,..,#this->rows()#, or throw std::out_of_range)
const DVectorSlice row (size_type i) const
 Same as above.
DVectorSlice col (size_type j)
 Return DVectorSlice object representing the jth column (1-based; 1,2,..,#this->cols()#, or throw std::out_of_range)
const DVectorSlice col (size_type j) const
 Same as above.
DVectorSlice diag (difference_type k=0)
const DVectorSlice diag (difference_type k=0) const
 Same as above.
DMatrixSlice operator() (const Range1D &I, const Range1D &J)
const DMatrixSlice operator() (const Range1D &I, const Range1D &J) const
 Same as above.
DMatrixSlice operator() (size_type i1, size_type i2, size_type j1, size_type j2)
const DMatrixSlice operator() (size_type i1, size_type i2, size_type j1, size_type j2) const
 Same as above.
DMatrixSliceoperator& ()
 Allow the address to be taken of an rvalue of this object.
const DMatrixSliceoperator& () const
 
DMatrixSliceoperator() ()
 Return reference of this. Included for iniformity with DMatrix.
const DMatrixSliceoperator() () const
 Same as above.
DMatrixSliceoperator= (value_type alpha)
 
DMatrixSliceoperator= (const DMatrixSlice &gms_rhs)
 
size_type max_rows () const
 Return the number of rows in the full matrix. Equivalent to BLAS LDA argument.
value_typecol_ptr (size_type j)
 
const value_typecol_ptr (size_type j) const
 Same as above.

Detailed Description

Definition at line 76 of file DenseLinAlgPack_DMatrixClass.hpp.


Member Typedef Documentation

Definition at line 92 of file DenseLinAlgPack_DMatrixClass.hpp.

Definition at line 93 of file DenseLinAlgPack_DMatrixClass.hpp.

Definition at line 94 of file DenseLinAlgPack_DMatrixClass.hpp.

Definition at line 95 of file DenseLinAlgPack_DMatrixClass.hpp.

Definition at line 96 of file DenseLinAlgPack_DMatrixClass.hpp.


Constructor & Destructor Documentation

DenseLinAlgPack::DMatrixSlice::DMatrixSlice ( ) [inline]

Definition at line 787 of file DenseLinAlgPack_DMatrixClass.hpp.

DenseLinAlgPack::DMatrixSlice::DMatrixSlice ( value_type ptr,
size_type  size,
size_type  max_rows,
size_type  rows,
size_type  cols 
) [inline]

Definition at line 792 of file DenseLinAlgPack_DMatrixClass.hpp.

DenseLinAlgPack::DMatrixSlice::DMatrixSlice ( DMatrixSlice gms,
const Range1D I,
const Range1D J 
) [inline]

Definition at line 800 of file DenseLinAlgPack_DMatrixClass.hpp.


Member Function Documentation

void DenseLinAlgPack::DMatrixSlice::bind ( DMatrixSlice  gms) [inline]

Definition at line 812 of file DenseLinAlgPack_DMatrixClass.hpp.

DMatrixSlice::size_type DenseLinAlgPack::DMatrixSlice::rows ( ) const [inline]

Return the number of rows.

Definition at line 822 of file DenseLinAlgPack_DMatrixClass.hpp.

DMatrixSlice::size_type DenseLinAlgPack::DMatrixSlice::cols ( ) const [inline]

Return the number of columns.

Definition at line 827 of file DenseLinAlgPack_DMatrixClass.hpp.

EOverLap DenseLinAlgPack::DMatrixSlice::overlap ( const DMatrixSlice gms) const

Definition at line 65 of file DenseLinAlgPack_DMatrixClass.cpp.

DMatrixSlice::reference DenseLinAlgPack::DMatrixSlice::operator() ( size_type  i,
size_type  j 
) [inline]

Return element at row i, col j (i,j) (1-based) (throws std::out_of_range if i, j are out of bounds)

Definition at line 836 of file DenseLinAlgPack_DMatrixClass.hpp.

DMatrixSlice::const_reference DenseLinAlgPack::DMatrixSlice::operator() ( size_type  i,
size_type  j 
) const [inline]

Return element at row i, col j (i,j) (1-based) (throws std::out_of_range if i, j are out of bounds)

Definition at line 844 of file DenseLinAlgPack_DMatrixClass.hpp.

DVectorSlice DenseLinAlgPack::DMatrixSlice::row ( size_type  i) [inline]

Return DVectorSlice object representing the ith row (1-based; 1,2,..,#this->rows()#, or throw std::out_of_range)

Definition at line 854 of file DenseLinAlgPack_DMatrixClass.hpp.

const DVectorSlice DenseLinAlgPack::DMatrixSlice::row ( size_type  i) const [inline]

Same as above.

Definition at line 860 of file DenseLinAlgPack_DMatrixClass.hpp.

DVectorSlice DenseLinAlgPack::DMatrixSlice::col ( size_type  j) [inline]

Return DVectorSlice object representing the jth column (1-based; 1,2,..,#this->cols()#, or throw std::out_of_range)

Definition at line 866 of file DenseLinAlgPack_DMatrixClass.hpp.

const DVectorSlice DenseLinAlgPack::DMatrixSlice::col ( size_type  j) const [inline]

Same as above.

Definition at line 872 of file DenseLinAlgPack_DMatrixClass.hpp.

DVectorSlice DenseLinAlgPack::DMatrixSlice::diag ( difference_type  k = 0) [inline]

Definition at line 878 of file DenseLinAlgPack_DMatrixClass.hpp.

const DVectorSlice DenseLinAlgPack::DMatrixSlice::diag ( difference_type  k = 0) const [inline]

Same as above.

Definition at line 883 of file DenseLinAlgPack_DMatrixClass.hpp.

DMatrixSlice DenseLinAlgPack::DMatrixSlice::operator() ( const Range1D I,
const Range1D J 
) [inline]

Definition at line 888 of file DenseLinAlgPack_DMatrixClass.hpp.

const DMatrixSlice DenseLinAlgPack::DMatrixSlice::operator() ( const Range1D I,
const Range1D J 
) const [inline]

Same as above.

Definition at line 893 of file DenseLinAlgPack_DMatrixClass.hpp.

DMatrixSlice DenseLinAlgPack::DMatrixSlice::operator() ( size_type  i1,
size_type  i2,
size_type  j1,
size_type  j2 
) [inline]

Definition at line 899 of file DenseLinAlgPack_DMatrixClass.hpp.

const DMatrixSlice DenseLinAlgPack::DMatrixSlice::operator() ( size_type  i1,
size_type  i2,
size_type  j1,
size_type  j2 
) const [inline]

Same as above.

Definition at line 906 of file DenseLinAlgPack_DMatrixClass.hpp.

DMatrixSlice* DenseLinAlgPack::DMatrixSlice::operator& ( ) [inline]

Allow the address to be taken of an rvalue of this object.

Definition at line 286 of file DenseLinAlgPack_DMatrixClass.hpp.

const DMatrixSlice* DenseLinAlgPack::DMatrixSlice::operator& ( ) const [inline]

Definition at line 290 of file DenseLinAlgPack_DMatrixClass.hpp.

DMatrixSlice & DenseLinAlgPack::DMatrixSlice::operator() ( ) [inline]

Return reference of this. Included for iniformity with DMatrix.

Definition at line 914 of file DenseLinAlgPack_DMatrixClass.hpp.

const DMatrixSlice & DenseLinAlgPack::DMatrixSlice::operator() ( ) const [inline]

Same as above.

Definition at line 919 of file DenseLinAlgPack_DMatrixClass.hpp.

DMatrixSlice & DenseLinAlgPack::DMatrixSlice::operator= ( value_type  alpha) [inline]

Definition at line 926 of file DenseLinAlgPack_DMatrixClass.hpp.

DMatrixSlice & DenseLinAlgPack::DMatrixSlice::operator= ( const DMatrixSlice gms_rhs) [inline]

Definition at line 932 of file DenseLinAlgPack_DMatrixClass.hpp.

DMatrixSlice::size_type DenseLinAlgPack::DMatrixSlice::max_rows ( ) const [inline]

Return the number of rows in the full matrix. Equivalent to BLAS LDA argument.

Definition at line 940 of file DenseLinAlgPack_DMatrixClass.hpp.

DMatrixSlice::value_type * DenseLinAlgPack::DMatrixSlice::col_ptr ( size_type  j) [inline]

Definition at line 944 of file DenseLinAlgPack_DMatrixClass.hpp.

const DMatrixSlice::value_type * DenseLinAlgPack::DMatrixSlice::col_ptr ( size_type  j) const [inline]

Same as above.

Definition at line 951 of file DenseLinAlgPack_DMatrixClass.hpp.

void DenseLinAlgPack::DMatrixSlice::validate_row_subscript ( size_type  i) const [private]

Definition at line 124 of file DenseLinAlgPack_DMatrixClass.cpp.

void DenseLinAlgPack::DMatrixSlice::validate_col_subscript ( size_type  j) const [private]

Definition at line 133 of file DenseLinAlgPack_DMatrixClass.cpp.

void DenseLinAlgPack::DMatrixSlice::validate_setup ( size_type  size) const [private]

Definition at line 142 of file DenseLinAlgPack_DMatrixClass.cpp.

DVectorSlice DenseLinAlgPack::DMatrixSlice::p_diag ( difference_type  k) const [private]

Definition at line 52 of file DenseLinAlgPack_DMatrixClass.cpp.


Member Data Documentation

Definition at line 350 of file DenseLinAlgPack_DMatrixClass.hpp.

Definition at line 351 of file DenseLinAlgPack_DMatrixClass.hpp.

Definition at line 351 of file DenseLinAlgPack_DMatrixClass.hpp.

Definition at line 351 of file DenseLinAlgPack_DMatrixClass.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines