Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Enumerations | Functions | Variables
ctlapack.h File Reference
#include "cantera/base/ct_defs.h"
Include dependency graph for ctlapack.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Cantera
 Namespace for the Cantera kernel.
 

Macros

#define _DGEMV_   dgemv
 
#define _DGETRF_   dgetrf
 
#define _DGETRS_   dgetrs
 
#define _DGETRI_   dgetri
 
#define _DGELSS_   dgelss
 
#define _DGBCON_   dgbcon
 
#define _DGBSV_   dgbsv
 
#define _DGBTRF_   dgbtrf
 
#define _DGBTRS_   dgbtrs
 
#define _DGECON_   dgecon
 
#define _DLANGE_   dlange
 
#define _DSCAL_   dscal
 
#define _DGEQRF_   dgeqrf
 
#define _DORMQR_   dormqr
 
#define _DTRTRS_   dtrtrs
 
#define _DTRCON_   dtrcon
 
#define _DPOTRF_   dpotrf
 
#define _DPOTRS_   dpotrs
 

Enumerations

enum  transpose_t { Transpose = 1, NoTranspose = 0 }
 
enum  storage_t { ColMajor = 1, RowMajor = 0 }
 
enum  upperlower_t { UpperTriangular = 0, LowerTriangular = 1 }
 
enum  side_t { Left = 0, Right = 1 }
 

Functions

int _DGEMV_ (const char *transpose, ftnlen trsize, const integer *m, const integer *n, const doublereal *alpha, const doublereal *a, const integer *lda, const doublereal *x, const integer *incX, const doublereal *beta, doublereal *y, const integer *incY)
 
int _DGETRF_ (const integer *m, const integer *n, doublereal *a, integer *lda, integer *ipiv, integer *info)
 
int _DGETRS_ (const char *transpose, ftnlen trsize, const integer *n, const integer *nrhs, const doublereal *a, const integer *lda, integer *ipiv, doublereal *b, const integer *ldb, integer *info)
 
int _DGETRI_ (const integer *n, doublereal *a, const integer *lda, integer *ipiv, doublereal *work, integer *lwork, integer *info)
 
int _DGELSS_ (const integer *m, const integer *n, const integer *nrhs, doublereal *a, const integer *lda, doublereal *b, const integer *ldb, doublereal *s, const doublereal *rcond, integer *rank, doublereal *work, integer *lwork, integer *info)
 
int _DGBSV_ (integer *n, integer *kl, integer *ku, integer *nrhs, doublereal *a, integer *lda, integer *ipiv, doublereal *b, integer *ldb, integer *info)
 
int _DGBTRF_ (integer *m, integer *n, integer *kl, integer *ku, doublereal *a, integer *lda, integer *ipiv, integer *info)
 
int _DGBTRS_ (const char *trans, ftnlen trsize, integer *n, integer *kl, integer *ku, integer *nrhs, doublereal *a, integer *lda, integer *ipiv, doublereal *b, integer *ldb, integer *info)
 
int _DSCAL_ (integer *n, doublereal *da, doublereal *dx, integer *incx)
 
int _DGEQRF_ (const integer *m, const integer *n, doublereal *a, const integer *lda, doublereal *tau, doublereal *work, const integer *lwork, integer *info)
 
int _DORMQR_ (const char *side, ftnlen sisize, const char *trans, ftnlen trsize, const integer *m, const integer *n, const integer *k, doublereal *a, const integer *lda, doublereal *tau, doublereal *c, const integer *ldc, doublereal *work, const integer *lwork, integer *info)
 
int _DTRTRS_ (const char *uplo, ftnlen upsize, const char *trans, ftnlen trsize, const char *diag, ftnlen disize, const integer *n, const integer *nrhs, doublereal *a, const integer *lda, doublereal *b, const integer *ldb, integer *info)
 
int _DTRCON_ (const char *norm, ftnlen nosize, const char *uplo, ftnlen upsize, const char *diag, ftnlen disize, const integer *n, doublereal *a, const integer *lda, const doublereal *rcond, doublereal *work, const integer *iwork, integer *info)
 
int _DPOTRF_ (const char *uplo, ftnlen upsize, const integer *n, doublereal *a, const integer *lda, integer *info)
 
int _DPOTRS_ (const char *uplo, ftnlen upsize, const integer *n, const integer *nrhs, doublereal *a, const integer *lda, doublereal *b, const integer *ldb, integer *info)
 
int _DGECON_ (const char *norm, ftnlen nosize, const integer *n, doublereal *a, const integer *lda, const doublereal *rnorm, const doublereal *rcond, doublereal *work, const integer *iwork, integer *info)
 
int _DGBCON_ (const char *norm, ftnlen nosize, const integer *n, integer *kl, integer *ku, doublereal *ab, const integer *ldab, const integer *ipiv, const doublereal *anorm, const doublereal *rcond, doublereal *work, const integer *iwork, integer *info)
 
doublereal _DLANGE_ (const char *norm, ftnlen nosize, const integer *m, const integer *n, doublereal *a, const integer *lda, doublereal *work)
 
void ct_dgemv (ctlapack::storage_t storage, ctlapack::transpose_t trans, int m, int n, doublereal alpha, const doublereal *a, int lda, const doublereal *x, int incX, doublereal beta, doublereal *y, int incY)
 
void ct_dgbsv (int n, int kl, int ku, int nrhs, doublereal *a, int lda, integer *ipiv, doublereal *b, int ldb, int &info)
 
void ct_dgelss (size_t m, size_t n, size_t nrhs, doublereal *a, size_t lda, doublereal *b, size_t ldb, doublereal *s, doublereal rcond, size_t &rank, doublereal *work, int &lwork, int &info)
 
void ct_dgbtrf (size_t m, size_t n, size_t kl, size_t ku, doublereal *a, size_t lda, integer *ipiv, int &info)
 
void ct_dgbtrs (ctlapack::transpose_t trans, size_t n, size_t kl, size_t ku, size_t nrhs, doublereal *a, size_t lda, integer *ipiv, doublereal *b, size_t ldb, int &info)
 
void ct_dgetrf (size_t m, size_t n, doublereal *a, size_t lda, integer *ipiv, int &info)
 
void ct_dgetrs (ctlapack::transpose_t trans, size_t n, size_t nrhs, doublereal *a, size_t lda, integer *ipiv, doublereal *b, size_t ldb, int &info)
 
void ct_dgetri (int n, doublereal *a, int lda, integer *ipiv, doublereal *work, int lwork, int &info)
 
void ct_dscal (int n, doublereal da, doublereal *dx, int incx)
 
void ct_dgeqrf (size_t m, size_t n, doublereal *a, size_t lda, doublereal *tau, doublereal *work, size_t lwork, int &info)
 
void ct_dormqr (ctlapack::side_t rlside, ctlapack::transpose_t trans, size_t m, size_t n, size_t k, doublereal *a, size_t lda, doublereal *tau, doublereal *c, size_t ldc, doublereal *work, size_t lwork, int &info)
 
void ct_dtrtrs (ctlapack::upperlower_t uplot, ctlapack::transpose_t trans, const char *diag, size_t n, size_t nrhs, doublereal *a, size_t lda, doublereal *b, size_t ldb, int &info)
 
doublereal ct_dtrcon (const char *norm, ctlapack::upperlower_t uplot, const char *diag, size_t n, doublereal *a, size_t lda, doublereal *work, int *iwork, int &info)
 
void ct_dpotrf (ctlapack::upperlower_t uplot, size_t n, doublereal *a, size_t lda, int &info)
 
void ct_dpotrs (ctlapack::upperlower_t uplot, size_t n, size_t nrhs, doublereal *a, size_t lda, doublereal *b, size_t ldb, int &info)
 
doublereal ct_dgecon (const char norm, size_t n, doublereal *a, size_t lda, doublereal anorm, doublereal *work, int *iwork, int &info)
 
doublereal ct_dgbcon (const char norm, size_t n, size_t kl, size_t ku, doublereal *a, size_t ldab, int *ipiv, doublereal anorm, doublereal *work, int *iwork, int &info)
 
doublereal ct_dlange (const char norm, size_t m, size_t n, doublereal *a, size_t lda, doublereal *work)
 

Variables

const char no_yes [2] = {'N', 'T'}
 
const char upper_lower [2] = {'U', 'L'}
 
const char left_right [2] = {'L', 'R'}