#include "vector.hh"#include <math.h>#include <string.h>#include <stdlib.h>#include <stdio.h>Include dependency graph for vector.cc:

Go to the source code of this file.
Namespaces | |
| namespace | anoid |
| namespace | anoid::simple |
Functions | |
| double * | matMult (double *A, const double *B) |
| double * | matAdd (double *A, const double *B) |
| double * | copyMatrix (double *A, double *B) |
| double * | transpose (double *A) |
| double * | tilde (double *A, const anoid::simple::Vector v) |
|
||||||||||||
|
Definition at line 146 of file vector.cc. Referenced by anoid::plugin::Spin::getOldRotation(), anoid::plugin::Dynamics::receive(), anoid::plugin::Spin::setRotation(), anoid::plugin::Spin::setSpin(), anoid::plugin::SpinVelocity::update(), and anoid::plugin::Spin::update(). |
|
||||||||||||
|
Cheap-o matrix addition; adds two 4x4 matrices to each other; actually only the top left 3x3 matrices are added. The result, A+B is stored in the first matrix
Definition at line 132 of file vector.cc. Referenced by anoid::plugin::Spin::update(). |
|
||||||||||||
|
Cheap-o matrix multiplication; multiplies two 4x4 matrices with each other; actually only the top left 3x3 matrices are multiplied. The result, AB is stored in the first matrix
Definition at line 105 of file vector.cc. Referenced by anoid::plugin::SpinVelocity::update(). |
|
||||||||||||
|
Does the tilde operator of a vector and stores the result in the provided matrix. The result matrix is a 4x4 matrix
Definition at line 185 of file vector.cc. References anoid::simple::Point::getX(), anoid::simple::Point::getY(), and anoid::simple::Point::getZ(). Referenced by anoid::plugin::SpinVelocity::update(). |
|
|
Transposes the upper left 3x3 matrix of a 4x4 matrix and returns the matrix in A
Definition at line 167 of file vector.cc. Referenced by anoid::plugin::SpinVelocity::update(). |