Functions
fMatrix.cpp File Reference

Function implementations for fMat/fVec classes. More...

#include "fMatrix.h"
Include dependency graph for fMatrix.cpp:

Go to the source code of this file.

Functions

fMat eigs (const fMat &mat, double *w)
fMat inv (const fMat &mat)
int inv_col_replaced (const fMat &P, const fMat &q, const fMat &m2d, fMat &X, fMat &y)
int inv_enlarge (const fMat &m12, const fMat &m21, const fMat &m22, const fMat &P, fMat &X, fMat &y, fMat &z, fMat &w)
int inv_row_replaced (const fMat &P, const fMat &q, const fMat &m2d, fMat &X, fMat &y)
int inv_shrink (const fMat &P, const fMat &q, const fMat &r, const fMat &s, fMat &X)
fMat inv_svd (const fMat &mat, int lwork)
fMat lineq (const fMat &A, const fMat &b)
fMat lineq_sr (const fMat &A, fVec &w_err, fVec &w_norm, double k, const fMat &b)
fMat lineq_svd (const fMat &A, const fMat &b, int lwork)
fMat operator* (double d, const fMat &mat)
fMat operator* (const fMat &mat, double d)
fMat operator* (const fMat &mat1, const fMat &mat2)
fVec operator* (const fMat &mat, const fVec &vec)
double operator* (const fVec &vec1, const fVec &vec2)
fVec operator* (double d, const fVec &vec)
fVec operator* (const fVec &vec, double d)
fMat operator+ (const fMat &mat1, const fMat &mat2)
fVec operator+ (const fVec &vec1, const fVec &vec2)
fMat operator- (const fMat &mat)
fMat operator- (const fMat &mat1, const fMat &mat2)
fVec operator- (const fVec &vec)
fVec operator- (const fVec &vec1, const fVec &vec2)
fMat operator/ (const fMat &mat, double d)
fVec operator/ (const fVec &vec, double d)
fMat p_inv (const fMat &mat)
fMat p_inv_svd (const fMat &mat, int lwork)
fMat sr_inv (const fMat &mat, fVec &w_err, fVec &w_norm, double k)
fMat sr_inv_svd (const fMat &mat, fVec &w_err, fVec &w_norm, double k, int lwork)
fMat tran (const fMat &mat)

Detailed Description

Function implementations for fMat/fVec classes.

Author:
Katsu Yamane
Date:
06/17/2003

Definition in file fMatrix.cpp.


Function Documentation

fMat eigs ( const fMat mat,
double *  w 
)

Definition at line 1659 of file fMatrix.cpp.

fMat inv ( const fMat mat)

Definition at line 176 of file fMatrix.cpp.

int inv_col_replaced ( const fMat P,
const fMat q,
const fMat m2d,
fMat X,
fMat y 
)

Computes the inverse when some columns are replaced:

	   | X | = | M1  m2' |-1
	   | y |                

where

	   | P | = | M1  m2 |-1
	   | q |   |        |  

are known

Definition at line 1357 of file fMatrix.cpp.

int inv_enlarge ( const fMat m12,
const fMat m21,
const fMat m22,
const fMat P,
fMat X,
fMat y,
fMat z,
fMat w 
)

Computes the inverse of an enlarged matrix:

	   | X  y | = | M11  m12 |-1
	   | z  w |   | m21  m22 |  

where M11, m12, m21, m22, and P=M11^{-1} are known

Definition at line 1288 of file fMatrix.cpp.

int inv_row_replaced ( const fMat P,
const fMat q,
const fMat m2d,
fMat X,
fMat y 
)

Computes the inverse when some rows are replaced:

	   | X  y | = | M1  |-1
	   |      |   | m2' |  

where

	   | P  q | = | M1 |-1
	   |      |   | m2 |  

are known

Definition at line 1334 of file fMatrix.cpp.

int inv_shrink ( const fMat P,
const fMat q,
const fMat r,
const fMat s,
fMat X 
)

Computes the inverse of a shrinked matrix: X = M11^(-1) where

	   | P  q | = | M11 m12 |-1
	   | r  s |   | m21 m22 |  

are known

Definition at line 1318 of file fMatrix.cpp.

fMat inv_svd ( const fMat mat,
int  lwork 
)

Definition at line 484 of file fMatrix.cpp.

fMat lineq ( const fMat A,
const fMat b 
)

Definition at line 137 of file fMatrix.cpp.

fMat lineq_sr ( const fMat A,
fVec w_err,
fVec w_norm,
double  k,
const fMat b 
)

Definition at line 930 of file fMatrix.cpp.

fMat lineq_svd ( const fMat A,
const fMat b,
int  lwork 
)

Definition at line 416 of file fMatrix.cpp.

fMat operator* ( double  d,
const fMat mat 
)

Definition at line 1130 of file fMatrix.cpp.

fMat operator* ( const fMat mat,
double  d 
)

Definition at line 1138 of file fMatrix.cpp.

fMat operator* ( const fMat mat1,
const fMat mat2 
)

Definition at line 1268 of file fMatrix.cpp.

fVec operator* ( const fMat mat,
const fVec vec 
)

Definition at line 1412 of file fMatrix.cpp.

double operator* ( const fVec vec1,
const fVec vec2 
)

Definition at line 1612 of file fMatrix.cpp.

fVec operator* ( double  d,
const fVec vec 
)

Definition at line 1632 of file fMatrix.cpp.

fVec operator* ( const fVec vec,
double  d 
)

Definition at line 1639 of file fMatrix.cpp.

fMat operator+ ( const fMat mat1,
const fMat mat2 
)

Definition at line 1187 of file fMatrix.cpp.

fVec operator+ ( const fVec vec1,
const fVec vec2 
)

Definition at line 1574 of file fMatrix.cpp.

fMat operator- ( const fMat mat)

Definition at line 1088 of file fMatrix.cpp.

fMat operator- ( const fMat mat1,
const fMat mat2 
)

Definition at line 1208 of file fMatrix.cpp.

fVec operator- ( const fVec vec)

Definition at line 1531 of file fMatrix.cpp.

fVec operator- ( const fVec vec1,
const fVec vec2 
)

Definition at line 1590 of file fMatrix.cpp.

fMat operator/ ( const fMat mat,
double  d 
)

Definition at line 1435 of file fMatrix.cpp.

fVec operator/ ( const fVec vec,
double  d 
)

Definition at line 1605 of file fMatrix.cpp.

fMat p_inv ( const fMat mat)

Definition at line 191 of file fMatrix.cpp.

fMat p_inv_svd ( const fMat mat,
int  lwork 
)

Definition at line 501 of file fMatrix.cpp.

fMat sr_inv ( const fMat mat,
fVec w_err,
fVec w_norm,
double  k 
)

Definition at line 226 of file fMatrix.cpp.

fMat sr_inv_svd ( const fMat mat,
fVec w_err,
fVec w_norm,
double  k,
int  lwork 
)

Definition at line 536 of file fMatrix.cpp.

fMat tran ( const fMat mat)

Definition at line 1013 of file fMatrix.cpp.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sun Apr 2 2017 03:43:58