CYCLUS
Loading...
Searching...
No Matches
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
 
long doubleoperator() (int i, int j)
 
const long doubleoperator() (int i, int j) const
 
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)
 

Constructor & Destructor Documentation

◆ LMatrix() [1/2]

cyclus::LMatrix::LMatrix ( )

Definition at line 42 of file l_matrix.cc.

◆ LMatrix() [2/2]

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

Definition at line 50 of file l_matrix.cc.

Member Function Documentation

◆ AddRow()

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

Definition at line 85 of file l_matrix.cc.

◆ NumCols()

int cyclus::LMatrix::NumCols ( ) const

Definition at line 63 of file l_matrix.cc.

◆ NumRows()

int cyclus::LMatrix::NumRows ( ) const

Definition at line 58 of file l_matrix.cc.

◆ operator()() [1/2]

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

Definition at line 79 of file l_matrix.cc.

◆ operator()() [2/2]

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

Definition at line 69 of file l_matrix.cc.

◆ operator*=()

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

Definition at line 176 of file l_matrix.cc.

◆ operator+=()

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

Definition at line 142 of file l_matrix.cc.

◆ operator-=()

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

Definition at line 157 of file l_matrix.cc.

◆ operator=()

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

Definition at line 118 of file l_matrix.cc.

◆ Print()

void cyclus::LMatrix::Print ( ) const

Definition at line 94 of file l_matrix.cc.

◆ SetElement()

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

Definition at line 74 of file l_matrix.cc.


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