#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"
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 |
#define PRECISION double |
The rosenbrock code:
Copyright (c) Dr. Ir. Frank Vanden Berghen For further details see: http://applied-mathematics.net/ email: frank @app lied- math emati cs.n 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:
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.