Classes | Namespaces | Defines | Functions
MathLib.cpp File Reference
#include "MathLib.h"
Include dependency graph for MathLib.cpp:

Go to the source code of this file.

Classes

struct  momdp::ColumnMajorCompare

Namespaces

namespace  momdp

Defines

#define CHECK_X()
#define CHECK_Y()

Functions

int momdp::argmax_elt (const DenseVector &v)
int momdp::argmax_elt (const SparseVector &v)
int momdp::binarySearch (const SparseVector &x, int lowerbound, int key)
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_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)
template<class T , class U >
void momdp::emult_cc_internal (SparseVector &result, T xbegin, T xend, U ybegin, U yend)
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)
template<class T >
void momdp::emult_dc_internal (DenseVector &result, const DenseVector &x, T ybegin, T yend)
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 SharedPointer< SparseVector > x, const SharedPointer< SparseMatrix > A)
void momdp::mult (SparseVector &result, const SharedPointer< SparseVector > x, const SparseMatrix &A)
void momdp::mult (SparseVector &result, const SparseVector &x, const SharedPointer< SparseMatrix > A)
void momdp::mult (SparseVector &result, const SparseVector &x, const SparseMatrix &A)
int momdp::quickLog2 (int n)
bool momdp::rc_equal (const kmatrix_entry &lhs, const kmatrix_entry &rhs)

Define Documentation

#define CHECK_X ( )
Value:
if (xi == xend) { \
        xdone = true; \
        goto main_loop_done; \
        } else { \
        xind = xi->index; \
        }
#define CHECK_Y ( )
Value:
if (yi == yend) { \
        ydone = true; \
        goto main_loop_done; \
        } else { \
        yind = yi->index; \
        }


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