sbpl_math.cpp File Reference

#include <sbpl_arm_planner/pr2/sbpl_math.h>
Include dependency graph for sbpl_math.cpp:

Go to the source code of this file.

Functions

bool check_equality (double *A, double *B, int n)
void create_rotation_matrix (double *A, double yaw, double pitch, double roll)
void cross_product (double *C, double *A, double *B)
double distance_between (std::vector< double > A, double *B, int dim)
double distance_between (double *A, double *B, int dim)
double dot_product (double *A, double *B, int n)
void equate (double *B, double *A, int m, int n)
void matrix_add (double *C, double *A, double *B, int m, int n)
void multiply (double *C, double *A, int mrows, int ncols, double *B, int pcols)
void rotate_vector (double(&result)[3], double *vect, double *axis, double angle)
void scalar_multiply (double *B, double *A, int mrows, int ncols, double num)
void subtract (double *C, double *A, double *B, int m, int n)
void transpose (double *B, double *A, int m, int n)
double vect_divide (double *A, double *B, int n)
double vect_norm (double *A, int n)

Function Documentation

bool check_equality ( double *  A,
double *  B,
int  n 
)

Definition at line 140 of file sbpl_math.cpp.

void create_rotation_matrix ( double *  A,
double  yaw,
double  pitch,
double  roll 
)

Definition at line 157 of file sbpl_math.cpp.

void cross_product ( double *  C,
double *  A,
double *  B 
)

Definition at line 103 of file sbpl_math.cpp.

double distance_between ( std::vector< double >  A,
double *  B,
int  dim 
)

Definition at line 212 of file sbpl_math.cpp.

double distance_between ( double *  A,
double *  B,
int  dim 
)

Definition at line 203 of file sbpl_math.cpp.

double dot_product ( double *  A,
double *  B,
int  n 
)

Definition at line 90 of file sbpl_math.cpp.

void equate ( double *  B,
double *  A,
int  m,
int  n 
)

Definition at line 40 of file sbpl_math.cpp.

void matrix_add ( double *  C,
double *  A,
double *  B,
int  m,
int  n 
)

Definition at line 52 of file sbpl_math.cpp.

void multiply ( double *  C,
double *  A,
int  mrows,
int  ncols,
double *  B,
int  pcols 
)

Definition at line 13 of file sbpl_math.cpp.

void rotate_vector ( double(&)  result[3],
double *  vect,
double *  axis,
double  angle 
)

Definition at line 185 of file sbpl_math.cpp.

void scalar_multiply ( double *  B,
double *  A,
int  mrows,
int  ncols,
double  num 
)

Definition at line 28 of file sbpl_math.cpp.

void subtract ( double *  C,
double *  A,
double *  B,
int  m,
int  n 
)

Definition at line 63 of file sbpl_math.cpp.

void transpose ( double *  B,
double *  A,
int  m,
int  n 
)

Definition at line 74 of file sbpl_math.cpp.

double vect_divide ( double *  A,
double *  B,
int  n 
)

Definition at line 125 of file sbpl_math.cpp.

double vect_norm ( double *  A,
int  n 
)

Definition at line 111 of file sbpl_math.cpp.

 All Classes Namespaces Files Functions Variables Defines


sbpl_arm_planner
Author(s): Benjamin Cohen/bcohen@seas.upenn.edu
autogenerated on Wed Feb 29 11:46:20 2012