Namespaces | Functions
MatrixSolvers.cpp File Reference
#include <iostream>
#include <vector>
#include "MatrixSolvers.h"
Include dependency graph for MatrixSolvers.cpp:

Go to the source code of this file.

Namespaces

 hrp
 

Functions

int hrp::calcEigenVectors (const dmatrix &_a, dmatrix &_evec, dvector &_eval)
 
int hrp::calcPseudoInverse (const dmatrix &_a, dmatrix &_a_pseu, double _sv_ratio)
 
int hrp::calcSRInverse (const dmatrix &_a, dmatrix &_a_sr, double _sr_ratio, dmatrix _w)
 
double hrp::det (const dmatrix &_a)
 
void dgeev_ (char const *jobvl, char const *jobvr, int *n, double *A, int *lda, double *wr, double *wi, double *vl, int *ldvl, double *vr, int *ldvr, double *work, int *lwork, int *info)
 
void dgesv_ (const int *n, const int *nrhs, double *a, int *lda, int *ipiv, double *b, int *ldb, int *info)
 
void dgesvd_ (char const *jobu, char const *jobvt, int const *m, int const *n, double *a, int const *lda, double *s, double *u, int const *ldu, double *vt, int const *ldvt, double *work, int const *lwork, int *info)
 
void dgesvx_ (char *fact, char *trans, int *n, int *nrhs, double *a, int *lda, double *af, int *ldaf, int *ipiv, char *equed, double *r, double *c, double *b, int *ldb, double *x, int *ldx, double *rcond, double *ferr, double *berr, double *work, int *iwork, int *info)
 
void dgetrf_ (int *m, int *n, double *a, int *lda, int *ipiv, int *info)
 
static int hrp::max (int a, int b)
 
static int hrp::min (int a, int b)
 
int hrp::solveLinearEquation (const dmatrix &_a, const dvector &_b, dvector &_x, double _sv_ratio)
 
int hrp::solveLinearEquationLU (dmatrix a, const dmatrix &b, dmatrix &out_x)
 
int hrp::solveLinearEquationLU (const dmatrix &_a, const dvector &_b, dvector &_x)
 
int hrp::solveLinearEquationSVD (const dmatrix &_a, const dvector &_b, dvector &_x, double _sv_ratio)
 

Function Documentation

void dgeev_ ( char const jobvl,
char const jobvr,
int n,
double *  A,
int lda,
double *  wr,
double *  wi,
double *  vl,
int ldvl,
double *  vr,
int ldvr,
double *  work,
int lwork,
int info 
)
void dgesv_ ( const int n,
const int nrhs,
double *  a,
int lda,
int ipiv,
double *  b,
int ldb,
int info 
)
void dgesvd_ ( char const jobu,
char const jobvt,
int const m,
int const n,
double *  a,
int const lda,
double *  s,
double *  u,
int const ldu,
double *  vt,
int const ldvt,
double *  work,
int const lwork,
int info 
)
void dgesvx_ ( char *  fact,
char *  trans,
int n,
int nrhs,
double *  a,
int lda,
double *  af,
int ldaf,
int ipiv,
char *  equed,
double *  r,
double *  c,
double *  b,
int ldb,
double *  x,
int ldx,
double *  rcond,
double *  ferr,
double *  berr,
double *  work,
int iwork,
int info 
)
void dgetrf_ ( int m,
int n,
double *  a,
int lda,
int ipiv,
int info 
)


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:42