Functions
dims_clapack.cpp File Reference
#include <dims_common.h>
#include <f2c.h>
#include <malloc.h>
#include <stdio.h>
Include dependency graph for dims_clapack.cpp:

Go to the source code of this file.

Functions

int dgeev_ (char *jobvl, char *jobvr, integer *n, doublereal *a, integer *lda, doublereal *wr, doublereal *wi, doublereal *vl, integer *ldvl, doublereal *vr, integer *ldvr, doublereal *work, integer *lwork, integer *info)
 
int dgelss_ (integer *m, integer *n, integer *nrhs, doublereal *A, integer *lda, doublereal *B, integer *ldb, doublereal *S, doublereal *rcond, integer *rank, doublereal *work, integer *lwork, integer *info)
 
int dgesvd_ (char *jobu, char *jobvt, integer *m, integer *n, doublereal *a, integer *lda, doublereal *s, doublereal *u, integer *ldu, doublereal *vt, integer *ldvt, doublereal *work, integer *lwork, integer *info)
 
int dgesvx_ (char *fact, char *trans, integer *n, integer *nrhs, doublereal *a, integer *lda, doublereal *af, integer *ldaf, integer *ipiv, char *equed, doublereal *r, doublereal *c, doublereal *b, integer *ldb, doublereal *x, integer *ldx, doublereal *rcond, doublereal *ferr, doublereal *berr, doublereal *work, integer *iwork, integer *info)
 
int dgetrf_ (integer *m, integer *n, doublereal *a, integer *lda, integer *ipiv, integer *info)
 
int dims_copy (double *_x, double *_y, int _n)
 Wrappers of BLAS functions. More...
 
int dims_daxpy (int _n, double _alpha, double *_x, double *_y)
 
int dims_det (int _n, double *_a, double *_x)
 Computes the determinant. More...
 
int dims_dgeev (int _n, double *_a, double *_wr, double *_wi, double *_vr)
 Computes eigenvalues and eigenvectors. More...
 
int dims_dgeev_simple (int _n, double *_a, double *_wr, double *_wi)
 Computes eigenvalues only. More...
 
int dims_dgelss (double *_a, double *_x, double *_b, int _m, int _n, int _nrhs, double *_s, int *_rank, int _lwork)
 Solves linear equation using singular-value decomposition. More...
 
int dims_dgemm (double *_A, double *_B, int _m, int _n, int _k, double *_C)
 
int dims_dgemv (double *_A, int _m, int _n, double *_x, double *_y)
 
int dims_dgemv_tran (double *_A, int _m, int _n, double *_x, double *_y)
 
int dims_dgesvx (double *_a, double *_x, double *_b, int _n, int _nrhs)
 Solves linear equation using LU decomposition. More...
 
double dims_dot (double *_x, double *_y, int _n)
 
int dims_dporfs (double *_a, double *_x, double *_b, int _m, int _nrhs)
 For positive-definite, symmetric matrices. More...
 
int dims_dposv (double *_a, double *_x, double *_b, int _m, int _nrhs)
 
int dims_dposvx (double *_a, double *_x, double *_b, int _m, int _nrhs, double *_rcond)
 
int dims_dsyrk (double *_A, int _n, int _k, double *_C)
 
int dims_dsyrk_trans_first (double *_A, int _n, int _k, double *_C)
 
int dims_eigs (int _n, double *_a, double *w)
 Eigenvalues / eigenvectors. More...
 
int dims_eigs2 (int _n, double *_a, double *w)
 
int dims_scale (double *_x, double _alpha, int _n, double *_y)
 
int dims_scale_myself (double *_x, double _alpha, int _n)
 
int dims_svd (double *_a, int _m, int _n, double *_u, double *_sigma, double *_vt)
 Performs singular value decomposition. More...
 
int dporfs_ (char *uplo, integer *n, integer *nrhs, doublereal *A, integer *lda, doublereal *AF, integer *ldaf, doublereal *b, integer *ldb, doublereal *x, integer *ldx, doublereal *ferr, doublereal *berr, doublereal *work, integer *iwork, integer *info)
 
int dposv_ (char *uplo, integer *n, integer *nrhs, doublereal *A, integer *lda, doublereal *b, integer *ldb, integer *info)
 
int dposvx_ (char *fact, char *uplo, integer *n, integer *nrhs, doublereal *A, integer *lda, doublereal *AF, integer *ldaf, char *equed, doublereal *S, doublereal *B, integer *ldb, doublereal *X, integer *ldx, doublereal *rcond, doublereal *ferr, doublereal *berr, doublereal *work, integer *iwork, integer *info)
 
int dpotrf_ (char *uplo, integer *n, doublereal *A, integer *lda, integer *info)
 
int dpotrs_ (char *uplo, integer *n, integer *nrhs, doublereal *A, integer *lda, doublereal *x, integer *ldb, integer *info)
 
int dsyev_ (char *jobz, char *uplo, integer *m, doublereal *a, integer *n, doublereal *w, doublereal *work, integer *lwork, integer *info)
 
int f2c_daxpy (integer *n, doublereal *alpha, doublereal *x, integer *incx, doublereal *y, integer *incy)
 
int f2c_dcopy (integer *n, doublereal *x, integer *incx, doublereal *y, integer *incy)
 
double f2c_ddot (integer *n, doublereal *x, integer *incx, doublereal *y, integer *incy)
 
int f2c_dgemm (char *transa, char *transb, integer *m, integer *n, integer *k, doublereal *alpha, doublereal *a, integer *lda, doublereal *b, integer *ldb, doublereal *beta, doublereal *c, integer *ldc)
 
int f2c_dgemv (char *trans, integer *m, integer *n, doublereal *alpha, doublereal *A, integer *lda, doublereal *x, integer *incx, doublereal *beta, doublereal *y, integer *incy)
 
int f2c_dscal (integer *n, doublereal *alpha, doublereal *x, integer *incx)
 
int f2c_dsyrk (char *uplo, char *trans, integer *n, integer *k, doublereal *alpha, doublereal *A, integer *lda, doublereal *beta, doublereal *C, integer *ldc)
 

Function Documentation

◆ dgeev_()

int dgeev_ ( char *  jobvl,
char *  jobvr,
integer *  n,
doublereal *  a,
integer *  lda,
doublereal *  wr,
doublereal *  wi,
doublereal *  vl,
integer *  ldvl,
doublereal *  vr,
integer *  ldvr,
doublereal *  work,
integer *  lwork,
integer *  info 
)

◆ dgelss_()

int dgelss_ ( integer *  m,
integer *  n,
integer *  nrhs,
doublereal *  A,
integer *  lda,
doublereal *  B,
integer *  ldb,
doublereal *  S,
doublereal *  rcond,
integer *  rank,
doublereal *  work,
integer *  lwork,
integer *  info 
)

◆ dgesvd_()

int dgesvd_ ( char *  jobu,
char *  jobvt,
integer *  m,
integer *  n,
doublereal *  a,
integer *  lda,
doublereal *  s,
doublereal *  u,
integer *  ldu,
doublereal *  vt,
integer *  ldvt,
doublereal *  work,
integer *  lwork,
integer *  info 
)

◆ dgesvx_()

int dgesvx_ ( char *  fact,
char *  trans,
integer *  n,
integer *  nrhs,
doublereal *  a,
integer *  lda,
doublereal *  af,
integer *  ldaf,
integer *  ipiv,
char *  equed,
doublereal *  r,
doublereal *  c,
doublereal *  b,
integer *  ldb,
doublereal *  x,
integer *  ldx,
doublereal *  rcond,
doublereal *  ferr,
doublereal *  berr,
doublereal *  work,
integer *  iwork,
integer *  info 
)

◆ dgetrf_()

int dgetrf_ ( integer *  m,
integer *  n,
doublereal *  a,
integer *  lda,
integer *  ipiv,
integer *  info 
)

◆ dims_copy()

int dims_copy ( double *  _x,
double *  _y,
int  _n 
)

Wrappers of BLAS functions.

Definition at line 163 of file dims_clapack.cpp.

◆ dims_daxpy()

int dims_daxpy ( int  _n,
double  _alpha,
double *  _x,
double *  _y 
)

Definition at line 308 of file dims_clapack.cpp.

◆ dims_det()

int dims_det ( int  _n,
double *  _a,
double *  _x 
)

Computes the determinant.

Computes the determinant.

Parameters
[in]_nSize of the matrix.
[in]_aArray of the matrix elements (NxN)
[out]_xPointer to store the determinant (1)

Definition at line 748 of file dims_clapack.cpp.

◆ dims_dgeev()

int dims_dgeev ( int  _n,
double *  _a,
double *  _wr,
double *  _wi,
double *  _vr 
)

Computes eigenvalues and eigenvectors.

Computes eigenvalues and eigenvectors.

Parameters
[in]_nSize of the matrix.
[in]_aArray of the matrix elements (NxN)
[out]_wrReal parts of the eigenvalues (N)
[out]_wiImaginary parts of the eigenvalues (N)
[out]_vrReal and imaginary parts of the right eigenvectors (NxN)

Definition at line 662 of file dims_clapack.cpp.

◆ dims_dgeev_simple()

int dims_dgeev_simple ( int  _n,
double *  _a,
double *  _wr,
double *  _wi 
)

Computes eigenvalues only.

Computes eigenvalues only.

Parameters
[in]_nSize of the matrix.
[in]_aArray of the matrix elements (NxN)
[out]_wrReal parts of the eigenvalues (N)
[out]_wiImaginary parts of the eigenvalues (N)

Definition at line 705 of file dims_clapack.cpp.

◆ dims_dgelss()

int dims_dgelss ( double *  _a,
double *  _x,
double *  _b,
int  _m,
int  _n,
int  _nrhs,
double *  _s,
int _rank,
int  _lwork 
)

Solves linear equation using singular-value decomposition.

Definition at line 524 of file dims_clapack.cpp.

◆ dims_dgemm()

int dims_dgemm ( double *  _A,
double *  _B,
int  _m,
int  _n,
int  _k,
double *  _C 
)

Definition at line 243 of file dims_clapack.cpp.

◆ dims_dgemv()

int dims_dgemv ( double *  _A,
int  _m,
int  _n,
double *  _x,
double *  _y 
)

Definition at line 205 of file dims_clapack.cpp.

◆ dims_dgemv_tran()

int dims_dgemv_tran ( double *  _A,
int  _m,
int  _n,
double *  _x,
double *  _y 
)

Definition at line 224 of file dims_clapack.cpp.

◆ dims_dgesvx()

int dims_dgesvx ( double *  _a,
double *  _x,
double *  _b,
int  _n,
int  _nrhs 
)

Solves linear equation using LU decomposition.

Definition at line 483 of file dims_clapack.cpp.

◆ dims_dot()

double dims_dot ( double *  _x,
double *  _y,
int  _n 
)

Definition at line 150 of file dims_clapack.cpp.

◆ dims_dporfs()

int dims_dporfs ( double *  _a,
double *  _x,
double *  _b,
int  _m,
int  _nrhs 
)

For positive-definite, symmetric matrices.

Definition at line 322 of file dims_clapack.cpp.

◆ dims_dposv()

int dims_dposv ( double *  _a,
double *  _x,
double *  _b,
int  _m,
int  _nrhs 
)

Definition at line 451 of file dims_clapack.cpp.

◆ dims_dposvx()

int dims_dposvx ( double *  _a,
double *  _x,
double *  _b,
int  _m,
int  _nrhs,
double *  _rcond 
)

Definition at line 391 of file dims_clapack.cpp.

◆ dims_dsyrk()

int dims_dsyrk ( double *  _A,
int  _n,
int  _k,
double *  _C 
)

Definition at line 269 of file dims_clapack.cpp.

◆ dims_dsyrk_trans_first()

int dims_dsyrk_trans_first ( double *  _A,
int  _n,
int  _k,
double *  _C 
)

Definition at line 289 of file dims_clapack.cpp.

◆ dims_eigs()

int dims_eigs ( int  _n,
double *  _a,
double *  w 
)

Eigenvalues / eigenvectors.

Definition at line 600 of file dims_clapack.cpp.

◆ dims_eigs2()

int dims_eigs2 ( int  _n,
double *  _a,
double *  w 
)

Definition at line 629 of file dims_clapack.cpp.

◆ dims_scale()

int dims_scale ( double *  _x,
double  _alpha,
int  _n,
double *  _y 
)

Definition at line 190 of file dims_clapack.cpp.

◆ dims_scale_myself()

int dims_scale_myself ( double *  _x,
double  _alpha,
int  _n 
)

Definition at line 176 of file dims_clapack.cpp.

◆ dims_svd()

int dims_svd ( double *  _a,
int  _m,
int  _n,
double *  _u,
double *  _sigma,
double *  _vt 
)

Performs singular value decomposition.

Definition at line 568 of file dims_clapack.cpp.

◆ dporfs_()

int dporfs_ ( char *  uplo,
integer *  n,
integer *  nrhs,
doublereal *  A,
integer *  lda,
doublereal *  AF,
integer *  ldaf,
doublereal *  b,
integer *  ldb,
doublereal *  x,
integer *  ldx,
doublereal *  ferr,
doublereal *  berr,
doublereal *  work,
integer *  iwork,
integer *  info 
)

◆ dposv_()

int dposv_ ( char *  uplo,
integer *  n,
integer *  nrhs,
doublereal *  A,
integer *  lda,
doublereal *  b,
integer *  ldb,
integer *  info 
)

◆ dposvx_()

int dposvx_ ( char *  fact,
char *  uplo,
integer *  n,
integer *  nrhs,
doublereal *  A,
integer *  lda,
doublereal *  AF,
integer *  ldaf,
char *  equed,
doublereal *  S,
doublereal *  B,
integer *  ldb,
doublereal *  X,
integer *  ldx,
doublereal *  rcond,
doublereal *  ferr,
doublereal *  berr,
doublereal *  work,
integer *  iwork,
integer *  info 
)

◆ dpotrf_()

int dpotrf_ ( char *  uplo,
integer *  n,
doublereal *  A,
integer *  lda,
integer *  info 
)

◆ dpotrs_()

int dpotrs_ ( char *  uplo,
integer *  n,
integer *  nrhs,
doublereal *  A,
integer *  lda,
doublereal *  x,
integer *  ldb,
integer *  info 
)

◆ dsyev_()

int dsyev_ ( char *  jobz,
char *  uplo,
integer *  m,
doublereal *  a,
integer *  n,
doublereal *  w,
doublereal *  work,
integer *  lwork,
integer *  info 
)

◆ f2c_daxpy()

int f2c_daxpy ( integer *  n,
doublereal *  alpha,
doublereal *  x,
integer *  incx,
doublereal *  y,
integer *  incy 
)

◆ f2c_dcopy()

int f2c_dcopy ( integer *  n,
doublereal *  x,
integer *  incx,
doublereal *  y,
integer *  incy 
)

◆ f2c_ddot()

double f2c_ddot ( integer *  n,
doublereal *  x,
integer *  incx,
doublereal *  y,
integer *  incy 
)

◆ f2c_dgemm()

int f2c_dgemm ( char *  transa,
char *  transb,
integer *  m,
integer *  n,
integer *  k,
doublereal *  alpha,
doublereal *  a,
integer *  lda,
doublereal *  b,
integer *  ldb,
doublereal *  beta,
doublereal *  c,
integer *  ldc 
)

◆ f2c_dgemv()

int f2c_dgemv ( char *  trans,
integer *  m,
integer *  n,
doublereal *  alpha,
doublereal *  A,
integer *  lda,
doublereal *  x,
integer *  incx,
doublereal *  beta,
doublereal *  y,
integer *  incy 
)

◆ f2c_dscal()

int f2c_dscal ( integer *  n,
doublereal *  alpha,
doublereal *  x,
integer *  incx 
)

◆ f2c_dsyrk()

int f2c_dsyrk ( char *  uplo,
char *  trans,
integer *  n,
integer *  k,
doublereal *  alpha,
doublereal *  A,
integer *  lda,
doublereal *  beta,
doublereal *  C,
integer *  ldc 
)


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:04