Classes | Namespaces | Functions
MathLib.h File Reference
#include <algorithm>
#include <cstdlib>
#include <cmath>
#include "mdpCassandra.h"
#include "pomdpCassandraWrapper.h"
#include "SparseVector.h"
#include "SparseMatrix.h"
#include "DenseVector.h"
Include dependency graph for MathLib.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  momdp::kmatrix
struct  momdp::kmatrix_entry
class  momdp::MathLib

Namespaces

namespace  momdp

Functions

int momdp::argmax_elt (const DenseVector &v)
int momdp::argmax_elt (const SparseVector &v)
REAL_VALUE momdp::BeliefEntryTruncate (REAL_VALUE input)
int momdp::binarySearch (const SparseVector &x, int key)
int momdp::chooseFromDistribution (const DenseVector &b)
int momdp::chooseFromDistribution (const SparseVector &b)
int momdp::chooseFromDistribution (const SparseVector &b, double r)
void momdp::copy (DenseVector &result, const SparseVector &x)
void momdp::copy (SparseVector &result, const DenseVector &x)
void momdp::copy (SparseMatrix &result, kmatrix &A)
void momdp::copy (SparseVector &result, const SparseVector &x)
void momdp::copy (DenseVector &result, const DenseVector &x)
void momdp::copy (SparseMatrix &result, CassandraMatrix A, int numColumns)
void momdp::copy (kmatrix &result, CassandraMatrix A, int numColumns)
void momdp::copy_from_column (SparseVector &result, const SparseMatrix &A, unsigned int c)
void momdp::copy_from_column (DenseVector &result, const SparseMatrix &A, unsigned int c)
bool momdp::dominates (const DenseVector &x, const DenseVector &y, double eps)
bool momdp::dominates (const SparseVector &x, const SparseVector &y, double eps)
void momdp::emult (DenseVector &result, const DenseVector &x, const DenseVector &y)
void momdp::emult (SparseVector &result, const SparseVector &x, const SparseVector &y)
void momdp::emult (DenseVector &result, const DenseVector &x, const SparseVector &y)
void momdp::emult_column (SparseVector &result, const SparseMatrix &A, unsigned int c, const SparseVector &x)
void momdp::emult_column (DenseVector &result, const SparseMatrix &A, unsigned int c, const DenseVector &x)
double momdp::inner_prod (const DenseVector &x, const SparseVector &y)
double momdp::inner_prod (const SparseVector &x, const SparseVector &y)
double momdp::inner_prod_binary (const SparseVector &x, const SparseVector &y)
double momdp::inner_prod_column (const SparseMatrix &A, unsigned int c, const SparseVector &x)
void momdp::kmatrix_set_entry (kmatrix &A, unsigned int r, unsigned int c, double v)
void momdp::kmatrix_transpose_in_place (kmatrix &A)
void momdp::max_assign (DenseVector &result, const DenseVector &x)
void momdp::mult (DenseVector &result, const SparseMatrix &A, const SparseVector &x)
void momdp::mult (DenseVector &result, const SparseMatrix &A, const DenseVector &x)
void momdp::mult (SparseVector &result, const SparseMatrix &A, const SparseVector &x)
void momdp::mult (DenseVector &result, const DenseVector &x, const SparseMatrix &A)
void momdp::mult (DenseVector &result, const SparseVector &x, const SparseMatrix &A)
void momdp::mult (SparseVector &result, const SparseVector &x, const SparseMatrix &A)
int momdp::quickLog2 (int n)
void momdp::set_to_zero (kmatrix &M)
void momdp::set_to_zero (SparseMatrix &M)
void momdp::set_to_zero (DenseVector &v)
void momdp::set_to_zero (SparseVector &v)
REAL_VALUE momdp::unit_rand (void)


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