nl_blas.h File Reference
#include <NL/nl_private.h>
Go to the source code of this file.
Defines |
| #define | NL_FORTRAN_WRAP(x) x##_ |
Enumerations |
| enum | MatrixTranspose { NoTranspose = 0,
Transpose = 1,
ConjugateTranspose = 2
} |
| enum | MatrixTriangle { UpperTriangle = 0,
LowerTriangle = 1
} |
| enum | MatrixUnitTriangular { UnitTriangular = 0,
NotUnitTriangular = 1
} |
Functions |
| void | daxpy (int n, double alpha, double *x, int incx, double *y, int incy) |
| void | dcopy (int n, double *x, int incx, double *y, int incy) |
| double | ddot (int n, double *x, int incx, double *y, int incy) |
| void | dgemv (MatrixTranspose trans, int m, int n, double alpha, double *A, int ldA, double *x, int incx, double beta, double *y, int incy) |
| double | dnrm2 (int n, double *x, int incx) |
| void | dscal (int n, double alpha, double *x, int incx) |
| void | dtpsv (MatrixTriangle uplo, MatrixTranspose trans, MatrixUnitTriangular diag, int n, double *AP, double *x, int incx) |
Define Documentation
| #define NL_FORTRAN_WRAP |
( |
x |
|
) |
x##_ |
Enumeration Type Documentation
- Enumerator:
| NoTranspose |
|
| Transpose |
|
| ConjugateTranspose |
|
Definition at line 72 of file nl_blas.h.
- Enumerator:
| UpperTriangle |
|
| LowerTriangle |
|
Definition at line 73 of file nl_blas.h.
- Enumerator:
| UnitTriangular |
|
| NotUnitTriangular |
|
Definition at line 74 of file nl_blas.h.
Function Documentation
| void daxpy |
( |
int |
n, |
|
|
double |
alpha, |
|
|
double * |
x, |
|
|
int |
incx, |
|
|
double * |
y, |
|
|
int |
incy | |
|
) |
| | |
| void dcopy |
( |
int |
n, |
|
|
double * |
x, |
|
|
int |
incx, |
|
|
double * |
y, |
|
|
int |
incy | |
|
) |
| | |
| double ddot |
( |
int |
n, |
|
|
double * |
x, |
|
|
int |
incx, |
|
|
double * |
y, |
|
|
int |
incy | |
|
) |
| | |
| void dgemv |
( |
MatrixTranspose |
trans, |
|
|
int |
m, |
|
|
int |
n, |
|
|
double |
alpha, |
|
|
double * |
A, |
|
|
int |
ldA, |
|
|
double * |
x, |
|
|
int |
incx, |
|
|
double |
beta, |
|
|
double * |
y, |
|
|
int |
incy | |
|
) |
| | |
y <- alpha*A*x + beta*y, y <- alpha*A^T*x + beta*y, A-(m,n)
Definition at line 1390 of file nl_blas.c.
| double dnrm2 |
( |
int |
n, |
|
|
double * |
x, |
|
|
int |
incx | |
|
) |
| | |
| void dscal |
( |
int |
n, |
|
|
double |
alpha, |
|
|
double * |
x, |
|
|
int |
incx | |
|
) |
| | |
x <- A^{-1}*x, x <- A^{-T}*x
Definition at line 1378 of file nl_blas.c.