lu
lu_impls.h
1 #ifndef __LU_IMPLS_H_
2 #define __LU_IMPLS_H_
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 int rb_dgetrf(int, int, double *, int, int *);
9 void rb_dscal(int, double, double *, int);
10 void rb_dswap(int, double *, int, double *, int);
11 void rb_daxpy(int, double, const double *, int, double *, int);
12 int rb_idamax(int, double *, int);
13 
14 #ifdef __cplusplus
15 }
16 #endif
17 
18 #endif
void rb_dscal(int n, double a, double *X, int incx)
Scales a vector by a constant. .
Definition: lu_impls.c:73
void rb_dswap(int n, double *X, int incx, double *Y, int incy)
Swaps the value of vector X and Y.
Definition: lu_impls.c:89
int rb_dgetrf(int m, int n, double *A, int lda, int *ipiv)
Computes the PLU factorization of an m by n matrix A, i.e. .
Definition: lu_impls.c:45
void rb_daxpy(int n, double a, const double *X, int incx, double *Y, int incy)
Scale a vector X by a constant add add it to another vector Y. .
Definition: lu_impls.c:111
int rb_idamax(int n, double *X, int incx)
Finds the index of the element in X which has the maximum absolute value.
Definition: lu_impls.c:128