Proxy class for elements of the SparseMatrix (SM).
Definition at line 57 of file SparseMatrix.hpp.
#include <SparseMatrix.hpp>
Public Member Functions | |
operator T () const | |
cast or implicit conversion More... | |
SMatProxy & | operator*= (const SMatProxy< T > &rhs) |
operator*= for non-const (lvalue) More... | |
SMatProxy & | operator*= (T rhs) |
operator*= for const (rvalue) More... | |
SMatProxy & | operator+= (const SMatProxy< T > &rhs) |
operator+= for non-const (lvalue) More... | |
SMatProxy & | operator+= (T rhs) |
operator+= for const (rvalue) More... | |
SMatProxy & | operator-= (const SMatProxy< T > &rhs) |
operator-= for non-const (lvalue) More... | |
SMatProxy & | operator-= (T rhs) |
operator-= for const (rvalue) More... | |
SMatProxy & | operator= (const SMatProxy< T > &rhs) |
operator = for non-const (lvalue) More... | |
SMatProxy & | operator= (T rhs) |
operator = for const (rvalue) More... | |
SMatProxy (SparseMatrix< T > &SM, unsigned int i, unsigned int j) | |
constructor More... | |
Private Member Functions | |
void | assign (T rhs) |
assign the SparseMatrix element, used by operator=,+=,etc More... | |
T | value () const |
get the value of the SparseMatrix at irow,jcol More... | |
Private Attributes | |
unsigned int | irow |
indexes in mySM for this data More... | |
unsigned int | jcol |
SparseMatrix< T > & | mySM |
reference to the matrix to which this data belongs More... | |
gnsstk::SMatProxy< T >::SMatProxy | ( | SparseMatrix< T > & | SM, |
unsigned int | i, | ||
unsigned int | j | ||
) |
constructor
Definition at line 141 of file SparseMatrix.hpp.
|
private |
assign the SparseMatrix element, used by operator=,+=,etc
Definition at line 162 of file SparseMatrix.hpp.
gnsstk::SMatProxy< T >::operator T |
cast or implicit conversion
Definition at line 197 of file SparseMatrix.hpp.
|
inline |
operator*= for non-const (lvalue)
Definition at line 108 of file SparseMatrix.hpp.
|
inline |
operator*= for const (rvalue)
Definition at line 115 of file SparseMatrix.hpp.
|
inline |
operator+= for non-const (lvalue)
Definition at line 80 of file SparseMatrix.hpp.
|
inline |
operator+= for const (rvalue)
Definition at line 87 of file SparseMatrix.hpp.
|
inline |
operator-= for non-const (lvalue)
Definition at line 94 of file SparseMatrix.hpp.
|
inline |
operator-= for const (rvalue)
Definition at line 101 of file SparseMatrix.hpp.
|
inline |
operator = for non-const (lvalue)
Definition at line 64 of file SparseMatrix.hpp.
|
inline |
operator = for const (rvalue)
Definition at line 70 of file SparseMatrix.hpp.
|
private |
get the value of the SparseMatrix at irow,jcol
Definition at line 148 of file SparseMatrix.hpp.
|
private |
indexes in mySM for this data
Definition at line 126 of file SparseMatrix.hpp.
|
private |
Definition at line 126 of file SparseMatrix.hpp.
|
private |
reference to the matrix to which this data belongs
Definition at line 123 of file SparseMatrix.hpp.