YARP Yet Another Robot Platform
Searching...
No Matches
SVD.h File Reference
`#include <yarp/sig/Vector.h>`
`#include <yarp/sig/Matrix.h>`
`#include <yarp/math/api.h>`
Include dependency graph for SVD.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Namespaces

namespace  yarp
The main, catch-all namespace for YARP.

namespace  yarp::math

## Functions

void yarp::math::SVD (const yarp::sig::Matrix &in, yarp::sig::Matrix &U, yarp::sig::Vector &S, yarp::sig::Matrix &V)
Factorize the M-by-N matrix 'in' into the singular value decomposition in = U S V^T (defined in SVD.h).

void yarp::math::SVDMod (const yarp::sig::Matrix &in, yarp::sig::Matrix &U, yarp::sig::Vector &S, yarp::sig::Matrix &V)
Perform SVD decomposition on a MxN matrix (for M >= N) (defined in SVD.h).

void yarp::math::SVDJacobi (const yarp::sig::Matrix &in, yarp::sig::Matrix &U, yarp::sig::Vector &S, yarp::sig::Matrix &V)
Perform SVD decomposition on a matrix using the Jacobi method (defined in SVD.h).

yarp::sig::Matrix yarp::math::pinv (const yarp::sig::Matrix &in, double tol=0.0)
Perform the moore-penrose pseudo-inverse of a matrix (defined in SVD.h).

void yarp::math::pinv (const yarp::sig::Matrix &in, yarp::sig::Matrix &out, double tol=0.0)
Perform the moore-penrose pseudo-inverse of a matrix (defined in SVD.h).

yarp::sig::Matrix yarp::math::pinv (const yarp::sig::Matrix &in, yarp::sig::Vector &sv, double tol=0.0)
Perform the moore-penrose pseudo-inverse of a matrix (defined in SVD.h).

void yarp::math::pinv (const yarp::sig::Matrix &in, yarp::sig::Matrix &out, yarp::sig::Vector &sv, double tol=0.0)
Perform the moore-penrose pseudo-inverse of a matrix (defined in SVD.h).

yarp::sig::Matrix yarp::math::pinvDamped (const yarp::sig::Matrix &in, yarp::sig::Vector &sv, double damp)
Perform the damped pseudo-inverse of a matrix (defined in SVD.h).

yarp::sig::Matrix yarp::math::pinvDamped (const yarp::sig::Matrix &in, double damp)
Perform the damped pseudo-inverse of a matrix (defined in SVD.h).

void yarp::math::pinvDamped (const yarp::sig::Matrix &in, yarp::sig::Matrix &out, double damp)
Perform the damped pseudo-inverse of a matrix (defined in SVD.h).

void yarp::math::pinvDamped (const yarp::sig::Matrix &in, yarp::sig::Matrix &out, yarp::sig::Vector &sv, double damp)
Perform the damped pseudo-inverse of a matrix (defined in SVD.h).

yarp::sig::Matrix yarp::math::projectionMatrix (const yarp::sig::Matrix &A, double tol=0.0)
Compute the projection matrix of A, that is defined as A times its pseudoinverse: A*pinv(A) (defined in SVD.h).

void yarp::math::projectionMatrix (const yarp::sig::Matrix &A, yarp::sig::Matrix &out, double tol=0.0)
Compute the projection matrix of A, that is defined as A times its pseudoinverse: A*pinv(A) (defined in SVD.h).

yarp::sig::Matrix yarp::math::nullspaceProjection (const yarp::sig::Matrix &A, double tol=0.0)
Compute the nullspace projection matrix of A, that is defined as the difference between the identity matrix and the pseudoinverse of A times A: (I - pinv(A)*A) (defined in SVD.h).

void yarp::math::nullspaceProjection (const yarp::sig::Matrix &A, yarp::sig::Matrix &out, double tol=0.0)
Compute the nullspace projection matrix of A, that is defined as the difference between the identity matrix and the pseudoinverse of A times A: (I - pinv(A)*A) (defined in SVD.h).