OpenMD 3.0
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
DynamicRectMatrix.hpp File Reference
#include <cmath>
#include "math/DynamicVector.hpp"
#include "math/RectMatrix.hpp"

Go to the source code of this file.

Classes

class  OpenMD::DynamicRectMatrix< Real >
 rectangular matrix class More...
 

Namespaces

namespace  OpenMD
 This basic Periodic Table class was originally taken from the data.cpp file in OpenBabel.
 

Functions

template<typename Real >
DynamicRectMatrix< Real > OpenMD::operator- (const DynamicRectMatrix< Real > &m)
 Negate the value of every element of this matrix.
 
template<typename Real >
DynamicRectMatrix< Real > OpenMD::operator+ (const DynamicRectMatrix< Real > &m1, const DynamicRectMatrix< Real > &m2)
 Return the sum of two matrixes (m1 + m2).
 
template<typename Real >
DynamicRectMatrix< Real > OpenMD::operator- (const DynamicRectMatrix< Real > &m1, const DynamicRectMatrix< Real > &m2)
 Return the difference of two matrixes (m1 - m2).
 
template<typename Real >
DynamicRectMatrix< Real > OpenMD::operator* (const DynamicRectMatrix< Real > &m, Real s)
 Return the multiplication of scalar and matrix (m * s).
 
template<typename Real >
DynamicRectMatrix< Real > OpenMD::operator* (Real s, const DynamicRectMatrix< Real > &m)
 Return the multiplication of a scalar and a matrix (s * m).
 
template<typename Real >
DynamicRectMatrix< Real > OpenMD::operator* (const DynamicRectMatrix< Real > &m1, const DynamicRectMatrix< Real > &m2)
 Return the multiplication of two matrixes (m1 * m2).
 
template<typename Real >
DynamicVector< Real > OpenMD::operator* (const DynamicRectMatrix< Real > &m, const DynamicVector< Real > &v)
 Return the multiplication of a matrix and a vector (m * v).
 
template<typename Real >
DynamicRectMatrix< Real > OpenMD::operator/ (const DynamicRectMatrix< Real > &m, Real s)
 Return the scalar division of matrix (m / s).
 
template<typename Real >
std::ostream & OpenMD::operator<< (std::ostream &o, const DynamicRectMatrix< Real > &m)
 Write to an output stream.
 

Detailed Description

Author
Teng Lin
Date
10/11/2004
Version
1.0

Definition in file DynamicRectMatrix.hpp.