Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DMatrix2x1 Class Reference

#include <DMatrix2x1.h>

Public Member Functions

 DMatrix2x1 ()
 
 DMatrix2x1 (double x, double y)
 
 ~DMatrix2x1 ()
 
void Set (double c1, double c2)
 
double & operator() (int row)
 
double operator() (int row) const
 
DMatrix2x1 operator- (const DMatrix2x1 &m2) const
 
DMatrix2x1 operator+ (const DMatrix2x1 &m2) const
 
void Print ()
 

Private Attributes

double mA [2]
 

Detailed Description

Definition at line 7 of file DMatrix2x1.h.

Constructor & Destructor Documentation

DMatrix2x1::DMatrix2x1 ( )
inline

Definition at line 9 of file DMatrix2x1.h.

References mA.

Referenced by operator+(), and operator-().

DMatrix2x1::DMatrix2x1 ( double  x,
double  y 
)
inline

Definition at line 12 of file DMatrix2x1.h.

References mA, x, and y.

DMatrix2x1::~DMatrix2x1 ( )
inline

Definition at line 16 of file DMatrix2x1.h.

Member Function Documentation

double& DMatrix2x1::operator() ( int  row)
inline

Definition at line 24 of file DMatrix2x1.h.

References mA.

double DMatrix2x1::operator() ( int  row) const
inline

Definition at line 27 of file DMatrix2x1.h.

References mA.

DMatrix2x1 DMatrix2x1::operator+ ( const DMatrix2x1 m2) const
inline

Definition at line 37 of file DMatrix2x1.h.

References DMatrix2x1(), and mA.

DMatrix2x1 DMatrix2x1::operator- ( const DMatrix2x1 m2) const
inline

Definition at line 32 of file DMatrix2x1.h.

References DMatrix2x1(), and mA.

void DMatrix2x1::Print ( )
inline

Definition at line 41 of file DMatrix2x1.h.

References mA.

void DMatrix2x1::Set ( double  c1,
double  c2 
)
inline

Definition at line 19 of file DMatrix2x1.h.

References c1, c2, and mA.

Member Data Documentation

double DMatrix2x1::mA[2]
private

Definition at line 52 of file DMatrix2x1.h.

Referenced by DMatrix2x1(), operator()(), operator+(), operator-(), Print(), and Set().


The documentation for this class was generated from the following file: