C-XSC - A C++ Class Library for Extended Scientific Computing
2.5.4
|
A slice of a sparse complex interval matrix. More...
#include <scimatrix.hpp>
Public Member Functions | |
cinterval & | element (const int i, const int j) |
Returns a reference to the element (i,j) of the matrix. | |
const cinterval | operator() (const int i, const int j) const |
Returns a copy of the element (i,j) of the matrix. | |
scimatrix_slice & | operator*= (const srmatrix_slice &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const scmatrix_slice &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const simatrix_slice &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const scimatrix_slice &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const srmatrix &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const scmatrix &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const simatrix &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const scimatrix &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const rmatrix &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const cmatrix &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const imatrix &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const cimatrix &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const rmatrix_slice &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const cmatrix_slice &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const imatrix_slice &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const cimatrix_slice &M) |
Assigns the product of the sparse slice and M to the slice. | |
scimatrix_slice & | operator*= (const real &r) |
Assigns the component wise product of the sparse slice and r to the slice. | |
scimatrix_slice & | operator*= (const complex &r) |
Assigns the component wise product of the sparse slice and r to the slice. | |
scimatrix_slice & | operator*= (const interval &r) |
Assigns the component wise product of the sparse slice and r to the slice. | |
scimatrix_slice & | operator*= (const cinterval &r) |
Assigns the component wise product of the sparse slice and r to the slice. | |
scimatrix_slice & | operator+= (const srmatrix_slice &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const scmatrix_slice &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const simatrix_slice &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const scimatrix_slice &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const srmatrix &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const scmatrix &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const simatrix &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const scimatrix &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const rmatrix &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const cmatrix &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const imatrix &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const cimatrix &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const rmatrix_slice &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const cmatrix_slice &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const imatrix_slice &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator+= (const cimatrix_slice &M) |
Assigns the element wise sum of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const srmatrix_slice &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const scmatrix_slice &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const simatrix_slice &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const scimatrix_slice &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const srmatrix &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const scmatrix &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const simatrix &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const scimatrix &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const rmatrix &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const cmatrix &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const imatrix &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const cimatrix &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const rmatrix_slice &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const cmatrix_slice &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const imatrix_slice &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator-= (const cimatrix_slice &M) |
Assigns the element wise difference of the sparse slice and M to the slice. | |
scimatrix_slice & | operator/= (const real &r) |
Assigns the component wise division of the sparse slice and M to the slice. | |
scimatrix_slice & | operator/= (const complex &r) |
Assigns the component wise division of the sparse slice and M to the slice. | |
scimatrix_slice & | operator/= (const interval &r) |
Assigns the component wise division of the sparse slice and M to the slice. | |
scimatrix_slice & | operator/= (const cinterval &r) |
Assigns the component wise division of the sparse slice and M to the slice. | |
scimatrix_slice & | operator= (const real &C) |
Assing C to all elements of the slice. | |
scimatrix_slice & | operator= (const interval &C) |
Assing C to all elements of the slice. | |
scimatrix_slice & | operator= (const complex &C) |
Assing C to all elements of the slice. | |
scimatrix_slice & | operator= (const cinterval &C) |
Assing C to all elements of the slice. | |
scimatrix_slice & | operator= (const srmatrix &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const scmatrix &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const simatrix &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const scimatrix &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const rmatrix &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const cmatrix &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const imatrix &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const cimatrix &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const rmatrix_slice &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const cmatrix_slice &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const imatrix_slice &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const cimatrix_slice &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const srmatrix_slice &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const scmatrix_slice &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const simatrix_slice &C) |
Assing C to the slice. | |
scimatrix_slice & | operator= (const scimatrix_slice &C) |
Assing C to the slice. | |
scimatrix_subv | operator[] (const int) |
Returns a row of the matrix. | |
scimatrix_subv | operator[] (const cxscmatrix_column &) |
Returns a column of the matrix. | |
const scimatrix_subv | operator[] (const int) const |
Returns a row of the matrix. | |
const scimatrix_subv | operator[] (const cxscmatrix_column &) const |
Returns a column of the matrix. | |
scimatrix_slice & | operator|= (const srmatrix_slice &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const scmatrix_slice &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const simatrix_slice &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const scimatrix_slice &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const srmatrix &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const scmatrix &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const simatrix &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const scimatrix &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const rmatrix &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const cmatrix &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const imatrix &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const cimatrix &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const rmatrix_slice &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const cmatrix_slice &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const imatrix_slice &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
scimatrix_slice & | operator|= (const cimatrix_slice &M) |
Assigns the element wise convex hull of the sparse slice and M to the slice. | |
Friends | |
int | ColLen (const scimatrix_slice &) |
Returns the number of rows of the matrix slice. | |
simatrix | Im (const scimatrix_slice &) |
Returns the imaginary part of the slice S. | |
scmatrix | Inf (const scimatrix_slice &) |
Returns the infimum of the slice S. | |
srmatrix | InfIm (const scimatrix_slice &) |
Returns the imaginary part of the infimum of the slice S. | |
srmatrix | InfRe (const scimatrix_slice &) |
Returns the real part of the infimum of the slice S. | |
int | Lb (const scimatrix_slice &, const int) |
Returns the lower index bound of the rows (if i==ROW) or columns (if i==COL) of the slice. | |
std::ostream & | operator<< (std::ostream &, const scimatrix_slice &) |
Standard output operator for sparse matrix slice. | |
simatrix | Re (const scimatrix_slice &) |
Returns the real part of the slice S. | |
int | RowLen (const scimatrix_slice &) |
Returns the number columns of the matrix slice. | |
scmatrix | Sup (const scimatrix_slice &) |
Returns the supremum of the slice S. | |
srmatrix | SupIm (const scimatrix_slice &) |
Returns the imaginary part of the supremum of the slice S. | |
srmatrix | SupRe (const scimatrix_slice &) |
Returns the real part of the supremum of the slice S. | |
int | Ub (const scimatrix_slice &, const int) |
Returns the upper index bound of the rows (if i==ROW) or columns (if i==COL) of the slice. |
A slice of a sparse complex interval matrix.
Represents a slice of a sparse complex interval matrix. This helper class provides read and write access to such a slice using the standard operators. It should normally not be necessary for the user to explicitly work with this data type, which is why the constructors are private.
Definition at line 4918 of file scimatrix.hpp.
cinterval& cxsc::scimatrix_slice::element | ( | const int | i, |
const int | j | ||
) | [inline] |
Returns a reference to the element (i,j) of the matrix.
Returns a reference to the (i,j)-th element. If the element is not explicitly stored, it is added as an explicit zero entry to the data structure. Using this function is faster than using A[i][j], since no temporary subvecto object must be created.
Definition at line 5538 of file scimatrix.hpp.
Referenced by cxsc::scimatrix_subv::operator[]().
const cinterval cxsc::scimatrix_slice::operator() | ( | const int | i, |
const int | j | ||
) | const [inline] |
Returns a copy of the element (i,j) of the matrix.
This operators can only be usd for read access. Note that accessing single elements of a sparse matrix is more expensive than for dense matrices and should in general be avoided.
Definition at line 5524 of file scimatrix.hpp.
std::ostream& operator<< | ( | std::ostream & | os, |
const scimatrix_slice & | M | ||
) | [friend] |
Standard output operator for sparse matrix slice.
The output format is set by global flags, default is dense output. Use cout << SparseInOut; for sparse output or cout << MatrixMarketInOut; for output in matrix market format.
Definition at line 9604 of file scimatrix.hpp.