Classes | Namespaces | Macros | Functions | Variables
vecmath.h File Reference
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/uniform_01.hpp>
#include <boost/random/variate_generator.hpp>
#include <math.h>
#include <vector>
#include <string>
#include <string.h>
#include "config.h"
Include dependency graph for vecmath.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  robotLibPbD::CMathLib
 Mathematical functions. More...
 
class  robotLibPbD::CMatrix
 Homogenous matrix. More...
 
class  robotLibPbD::CVec
 Homogenous vector. More...
 

Namespaces

 robotLibPbD
 

Macros

#define ANGLE2RAD(X)   ((X)*1.745329251994e-02)
 
#define PI360   6.283185307179586
 
#define PI90   1.570796326794897
 
#define PRECISION   double
 
#define RAD2ANGLE(X)   ((X)*57.295779513082322)
 
#define RAD2ANGLEMAP(X)   (X > M_PI ? RAD2ANGLE(PI360 - X) : RAD2ANGLE(X))
 
#define SWAPELEMENTS(x, y)   tmp = a[x];a[x]=a[y];a[y] = tmp;
 

Functions

void robotLibPbD::calculateTransformationFromPlane (CVec &plane, CMatrix &transformation)
 
void robotLibPbD::convertMatrix (CMatrix &from, double(*R)[3], double *T)
 
void robotLibPbD::convertMatrix (double(*R)[3], double *T, CMatrix &to)
 
unsigned long robotLibPbD::fac (unsigned int value)
 
double robotLibPbD::getGaussian (double value, double mean, double std)
 
double robotLibPbD::getGaussianProb (double mean, double std)
 
double robotLibPbD::getGaussianWithoutNormalization (double value, double mean, double std)
 
double robotLibPbD::getLogisticProb (double alpha, double beta)
 
void robotLibPbD::getMeanFromVectors (std::vector< std::vector< double > > &values, std::vector< double > &mean)
 
double robotLibPbD::getSigmoid (double value, double offset, double factor)
 
double robotLibPbD::getUniform ()
 
int robotLibPbD::getUniform (int min, int max)
 
void robotLibPbD::orientation2scaledAxis (CMatrix &matrix, CVec &axis)
 
void robotLibPbD::orientation2scaledAxis (CMatrix &matrix, std::vector< double > &axis)
 
int robotLibPbD::rnd (PRECISION value)
 Rounds a value. More...
 
void robotLibPbD::rosenbrock (int n, double *x, double *bl, double *bu, double bigbnd, int maxiter, double eps, int verbose, void obj(int, double *, double *, void *), void *extraparams)
 
int robotLibPbD::roundToInt (double value)
 
void robotLibPbD::scaledAxis2Orientation (CVec &axis, CMatrix &matrix)
 
void robotLibPbD::scaledAxis2Orientation (std::vector< double > &axis, CMatrix &matrix)
 
void robotLibPbD::setUniformSeed (unsigned int seed)
 
double robotLibPbD::sign (double value)
 
void robotLibPbD::simulatedannealing (int n, double *x, double *bl, double *bu, double bigbnd, int maxiter, double eps, int verbose, void obj(int, double *, double *, void *), void *extraparams)
 
double robotLibPbD::vectorlength (std::vector< double > &v)
 

Variables

boost::uniform_01< double > robotLibPbD::pRngDist
 
boost::mt19937 robotLibPbD::pRngMt19937
 
boost::variate_generator< boost::mt19937 &, boost::uniform_01< double > > robotLibPbD::pRngUniform01
 

Macro Definition Documentation

#define ANGLE2RAD (   X)    ((X)*1.745329251994e-02)

Definition at line 48 of file vecmath.h.

#define PI360   6.283185307179586

Definition at line 45 of file vecmath.h.

#define PI90   1.570796326794897

Definition at line 46 of file vecmath.h.

#define PRECISION   double

The rosenbrock code:

Copyright (c) Dr. Ir. Frank Vanden Berghen For further details see: http://applied-mathematics.net/ email: frank.nosp@m.@app.nosp@m.lied-.nosp@m.math.nosp@m.emati.nosp@m.cs.n.nosp@m.et

Anything else is licensed as follows:

Copyright (c) 2016, Aumann Florian, Heller Florian, Jäkel Rainer, Wittenbeck Valerij All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 44 of file vecmath.h.

#define RAD2ANGLE (   X)    ((X)*57.295779513082322)

Definition at line 47 of file vecmath.h.

#define RAD2ANGLEMAP (   X)    (X > M_PI ? RAD2ANGLE(PI360 - X) : RAD2ANGLE(X))

Definition at line 49 of file vecmath.h.

#define SWAPELEMENTS (   x,
 
)    tmp = a[x];a[x]=a[y];a[y] = tmp;

Definition at line 458 of file vecmath.h.



asr_kinematic_chain_optimizer
Author(s): Aumann Florian, Heller Florian, Jäkel Rainer, Wittenbeck Valerij
autogenerated on Mon Jun 10 2019 12:35:36