25#ifndef SVD_DECOMPOSITION_HPP
26#define SVD_DECOMPOSITION_HPP
28#include <base/Eigen.hpp>
32inline double PYTHAG(
double a,
double b) {
38 return at*sqrt(1.0+ct*ct);
44 return bt*sqrt(1.0+ct*ct);
49inline double SIGN(
double a,
double b) {
50 return ((b) >= 0.0 ? fabs(a) : -fabs(a));
59 double epsilon=1e-300);
Definition ContactsAccelerationConstraint.cpp:3
double PYTHAG(double a, double b)
Definition SVD.hpp:32
double SIGN(double a, double b)
Definition SVD.hpp:49
int svd_eigen_decomposition(const base::MatrixXd &A, base::MatrixXd &U, base::VectorXd &S, base::MatrixXd &V, base::VectorXd &tmp, int maxiter, double epsilon)
Definition SVD.cpp:5