CYCLUS
Public Member Functions | Friends | List of all members
cyclus::LMatrix Class Reference

Detailed Description

Definition at line 14 of file l_matrix.h.

#include <l_matrix.h>

Public Member Functions

void AddRow (std::vector< long double > row)
 
 LMatrix ()
 
 LMatrix (int n, int m)
 
int NumCols () const
 
int NumRows () const
 
const long double & operator() (int i, int j) const
 
long double & operator() (int i, int j)
 
const LMatrixoperator*= (const LMatrix &rhs)
 
const LMatrixoperator+= (const LMatrix &rhs)
 
const LMatrixoperator-= (const LMatrix &rhs)
 
const LMatrixoperator= (const LMatrix &rhs)
 
void Print () const
 
void SetElement (int i, int j, long double aij)
 

Friends

LMatrix operator* (const long double k, const LMatrix &A)
 
LMatrix operator* (const LMatrix &A, const long double k)
 
LMatrix operator^ (const LMatrix &A, const int k)
 

Constructor & Destructor Documentation

cyclus::LMatrix::LMatrix ( )

Definition at line 42 of file l_matrix.cc.

cyclus::LMatrix::LMatrix ( int  n,
int  m 
)

Definition at line 50 of file l_matrix.cc.

Member Function Documentation

void cyclus::LMatrix::AddRow ( std::vector< long double >  row)

Definition at line 85 of file l_matrix.cc.

int cyclus::LMatrix::NumCols ( ) const

Definition at line 63 of file l_matrix.cc.

int cyclus::LMatrix::NumRows ( ) const

Definition at line 58 of file l_matrix.cc.

const long double & cyclus::LMatrix::operator() ( int  i,
int  j 
) const

Definition at line 69 of file l_matrix.cc.

long double & cyclus::LMatrix::operator() ( int  i,
int  j 
)

Definition at line 79 of file l_matrix.cc.

const LMatrix & cyclus::LMatrix::operator*= ( const LMatrix rhs)

Definition at line 176 of file l_matrix.cc.

const LMatrix & cyclus::LMatrix::operator+= ( const LMatrix rhs)

Definition at line 142 of file l_matrix.cc.

const LMatrix & cyclus::LMatrix::operator-= ( const LMatrix rhs)

Definition at line 157 of file l_matrix.cc.

const LMatrix & cyclus::LMatrix::operator= ( const LMatrix rhs)

Definition at line 118 of file l_matrix.cc.

void cyclus::LMatrix::Print ( ) const

Definition at line 94 of file l_matrix.cc.

void cyclus::LMatrix::SetElement ( int  i,
int  j,
long double  aij 
)

Definition at line 74 of file l_matrix.cc.

Friends And Related Function Documentation

LMatrix operator* ( const long double  k,
const LMatrix A 
)
friend

Definition at line 234 of file l_matrix.cc.

LMatrix operator* ( const LMatrix A,
const long double  k 
)
friend

Definition at line 251 of file l_matrix.cc.

LMatrix operator^ ( const LMatrix A,
const int  k 
)
friend

Definition at line 269 of file l_matrix.cc.


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