#include "scppnt/scppnt.h"
#include "scppnt/slice_pointer.h"
#include "scppnt/scppnt_error.h"
#include "scppnt/matop.h"
#include "scppnt/vec.h"
#include <string>
#include <iostream>
#include <strstream>
Go to the source code of this file.
Namespaces | |
namespace | SCPPNT |
Classes | |
class | SCPPNT::Matrix< T > |
Simple concrete dense matrix class for numerical computation. More... | |
Functions | |
template<class T> | |
std::ostream & | SCPPNT::operator<< (std::ostream &s, const Matrix< T > &A) |
Write a matrix to an output stream. | |
template<class T> | |
std::istream & | SCPPNT::operator>> (std::istream &s, Matrix< T > &A) |
Read elements of a matrix to an input stream. | |
template<class T, class M> | |
Matrix< T > | SCPPNT::operator+ (const Matrix< T > &A, const M &B) |
Add two matrices and return new matrix giving sum. | |
template<class T, class M> | |
Matrix< T > | SCPPNT::operator- (const Matrix< T > &A, const M &B) |
Subtract matrix B from matrix A and return matrix giving difference. | |
template<class T, class M> | |
Matrix< T > | SCPPNT::operator * (const Matrix< T > &A, const M &B) |
Multiplication operator returning a new matrix containing the matrix product A*B. | |
template<class T> | |
Vector< T > | SCPPNT::operator * (const Matrix< T > &A, const Vector< T > &x) |
Return a new vector containing the product of the matrix A and the vector x. |
Templated numerical matrix class based on Template Numerical Toolkit (http://math.nist.gov/tnt) Matrix class. This class adds the following to the TNT Matrix class:
Definition in file cmat.h.