Ravelin
Static Public Member Functions | List of all members
Ravelin::OPS Class Reference

Class for general operations. More...

#include <Opsd.h>

Static Public Member Functions

static bool rel_equal (REAL x, REAL y)
 
static bool rel_equal (REAL x, REAL y, REAL tol)
 
template<class V1 , class V2 >
static V2 & axpy (REAL alpha, const V1 &v1, V2 &v2)
 Does a axpy operation.
 
template<class M1 , class M2 >
static M2 & transpose (const M1 &m1, M2 &m2)
 Does a transposition operation.
 
template<class T , class U , class V >
static V & mult_transpose (const T &x, const U &y, V &z)
 Multiples a matrix by the transpose of a matrix or vector.
 
template<class T , class U , class V >
static V & mult (const T &x, const U &y, V &z)
 Multiples a matrix by a matrix or vector.
 
template<class T , class U , class V >
static V & transpose_mult (const T &x, const U &y, V &z)
 Multiples the transpose of a matrix or vector by a matrix or vector.
 
template<class T , class U , class V >
static V & transpose_mult_transpose (const T &x, const U &y, V &z)
 Multiples a matrix by a matrix or vector.
 
template<class U , class V , class M >
static M & outer_prod (const U &x, const V &y, M &z)
 
static bool rel_equal (REAL x, REAL y)
 
static bool rel_equal (REAL x, REAL y, REAL tol)
 
template<class V1 , class V2 >
static V2 & axpy (REAL alpha, const V1 &v1, V2 &v2)
 Does a axpy operation.
 
template<class M1 , class M2 >
static M2 & transpose (const M1 &m1, M2 &m2)
 Does a transposition operation.
 
template<class T , class U , class V >
static V & mult_transpose (const T &x, const U &y, V &z)
 Multiples a matrix by the transpose of a matrix or vector.
 
template<class T , class U , class V >
static V & mult (const T &x, const U &y, V &z)
 Multiples a matrix by a matrix or vector.
 
template<class T , class U , class V >
static V & transpose_mult (const T &x, const U &y, V &z)
 Multiples the transpose of a matrix or vector by a matrix or vector.
 
template<class T , class U , class V >
static V & transpose_mult_transpose (const T &x, const U &y, V &z)
 Multiples a matrix by a matrix or vector.
 
template<class U , class V , class M >
static M & outer_prod (const U &x, const V &y, M &z)
 

Detailed Description

Class for general operations.


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