Flow123d  release_2.2.0-914-gf1a3a4f
Public Member Functions | Private Attributes | Friends | List of all members
ngh::TMVector Class Reference

#include <matrix.h>

Public Member Functions

 TMVector (int)
 
 TMVector (const TMVector &)
 
 ~TMVector ()
 
void Set (int, double)
 
double Get (int)
 
void SwapElements (int, int)
 

Private Attributes

int size
 
double * elm
 

Friends

std::ostream & operator<< (std::ostream &, const TMVector &)
 

Detailed Description

Definition at line 58 of file matrix.h.

Constructor & Destructor Documentation

ngh::TMVector::TMVector ( int  size)

Definition at line 52 of file matrix.cpp.

ngh::TMVector::TMVector ( const TMVector x)

Definition at line 57 of file matrix.cpp.

ngh::TMVector::~TMVector ( )

Definition at line 64 of file matrix.cpp.

Member Function Documentation

double ngh::TMVector::Get ( int  i)

Definition at line 128 of file matrix.cpp.

Here is the caller graph for this function:

void ngh::TMVector::Set ( int  i,
double  value 
)

Definition at line 137 of file matrix.cpp.

Here is the caller graph for this function:

void ngh::TMVector::SwapElements ( int  i1,
int  i2 
)

Definition at line 116 of file matrix.cpp.

Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const TMVector V 
)
friend

Definition at line 78 of file matrix.cpp.

Member Data Documentation

double* ngh::TMVector::elm
private

Definition at line 62 of file matrix.h.

int ngh::TMVector::size
private

Definition at line 60 of file matrix.h.


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