#include "scppnt/scppnt.h"
#include "scppnt/slice_pointer.h"
#include "scppnt/scppnt_error.h"
#include "scppnt/matop.h"
#include "scppnt/index.h"
#include <iostream>

Go to the source code of this file.
Namespaces | |
| namespace | SCPPNT |
Classes | |
| class | SCPPNT::Region2D_iterator< T, IT2D > |
| Foward iterator over all elements of a matrix region. More... | |
| class | SCPPNT::Region2D< Array2D > |
| A rectangular subset of a matrix. More... | |
| class | SCPPNT::const_Region2D< Array2D > |
| Constant version of Region2D. More... | |
Functions | |
| template<class Array2D> | |
| std::ostream & | SCPPNT::operator<< (std::ostream &s, const Region2D< Array2D > &A) |
| Write a matrix to an output stream. | |
| template<class Array2D, class M> | |
| M | SCPPNT::operator+ (const Region2D< Array2D > &A, const M &B) |
| Add two matrices and return new matrix giving sum. | |
| template<class Array2D, class M> | |
| M | SCPPNT::operator- (const Region2D< Array2D > &A, const M &B) |
| Subtract matrix B from matrix A and return matrix giving difference. | |
| template<class Array2D, class M> | |
| M | SCPPNT::operator * (const Region2D< Array2D > &A, const M &B) |
| Multiplication operator returning a new matrix containing the matrix product A*B. | |
| template<class T, class Array2D> | |
| Vector< T > | SCPPNT::operator * (const Region2D< Array2D > &A, const Vector< T > &x) |
| Return a new vector containing the product of the matrix A and the vector x. | |
| template<class Array2D> | |
| std::ostream & | SCPPNT::operator<< (std::ostream &s, const const_Region2D< Array2D > &A) |
| Write a matrix to an output stream. | |
| template<class Array2D, class M> | |
| M | SCPPNT::operator+ (const const_Region2D< Array2D > &A, const M &B) |
| Add two matrices and return new matrix giving sum. | |
| template<class Array2D, class M> | |
| M | SCPPNT::operator- (const const_Region2D< Array2D > &A, const M &B) |
| Subtract matrix B from matrix A and return matrix giving difference. | |
| template<class Array2D, class M> | |
| M | SCPPNT::operator * (const const_Region2D< Array2D > &A, const M &B) |
| Multiplication operator returning a new matrix containing the matrix product A*B. | |
| template<class T, class Array2D> | |
| Vector< T > | SCPPNT::operator * (const const_Region2D< Array2D > &A, const Vector< T > &x) |
| Return a new vector containing the product of the matrix A and the vector x. | |
Contains definitions of Region2D and const_Region2D classes which allow working with a rectangular region of a matrix without creating a new matrix, and the definition of the class Region2D_iterator which defines an iterator over all elements of a Region2D.
Definition in file region2d.h.
1.5.4