Public Member Functions | Public Attributes
momdp::kmatrix Struct Reference

#include <MathLib.h>

List of all members.

Public Member Functions

void canonicalize (void)
void clear (void)
unsigned int filled (void) const
 kmatrix (void)
 kmatrix (unsigned int _size1, unsigned int _size2)
double operator() (unsigned int r, unsigned int c) const
void push_back (unsigned int r, unsigned int c, double value)
void read (std::istream &in)
void resize (unsigned int _size1, unsigned int _size2, double value=0.0)
unsigned int size1 (void) const
unsigned int size2 (void) const

Public Attributes

std::vector< kmatrix_entrydata
unsigned int size1_
unsigned int size2_

Detailed Description

Definition at line 55 of file MathLib.h.


Constructor & Destructor Documentation

momdp::kmatrix::kmatrix ( void  ) [inline]

Definition at line 60 of file MathLib.h.

momdp::kmatrix::kmatrix ( unsigned int  _size1,
unsigned int  _size2 
) [inline]

Definition at line 61 of file MathLib.h.


Member Function Documentation

Definition at line 517 of file MathLib.cpp.

void momdp::kmatrix::clear ( void  )

Definition at line 488 of file MathLib.cpp.

unsigned int momdp::kmatrix::filled ( void  ) const [inline]

Definition at line 67 of file MathLib.h.

double momdp::kmatrix::operator() ( unsigned int  r,
unsigned int  c 
) const

Definition at line 474 of file MathLib.cpp.

void momdp::kmatrix::push_back ( unsigned int  r,
unsigned int  c,
double  value 
)

Definition at line 501 of file MathLib.cpp.

void momdp::kmatrix::read ( std::istream &  in)

Definition at line 537 of file MathLib.cpp.

void momdp::kmatrix::resize ( unsigned int  _size1,
unsigned int  _size2,
double  value = 0.0 
)

Definition at line 493 of file MathLib.cpp.

unsigned int momdp::kmatrix::size1 ( void  ) const [inline]

Definition at line 65 of file MathLib.h.

unsigned int momdp::kmatrix::size2 ( void  ) const [inline]

Definition at line 66 of file MathLib.h.


Member Data Documentation

Definition at line 58 of file MathLib.h.

unsigned int momdp::kmatrix::size1_

Definition at line 57 of file MathLib.h.

unsigned int momdp::kmatrix::size2_

Definition at line 57 of file MathLib.h.


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


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:30