nmpp
|
Функции | |
double | nmblas_dasum (const int N, const double *X, const int INCX) |
takes the sum of the absolute values <> Подробнее... | |
void | nmblas_daxpy (const int N, const double A, const double *X, const int INCX, double *Y, const int INCY) |
constant times a vector plus a vector <> Подробнее... | |
void | nmblas_dcopy (const int N, const double *X, const int INCX, double *Y, const int INCY) |
copies a vector, X, to a vector, Y Подробнее... | |
double | nmblas_ddot (const int N, const double *X, const int INCX, const double *Y, const int INCY) |
forms the dot product of two vectors. Подробнее... | |
double | nmblas_dnrm2 (const int N, const double *x, const int INCX) |
returns the euclidean norm of a vector via the function name, so that SCNRM2 := sqrt( x**H*x ) Подробнее... | |
void | nmblas_drot (const int N, double *X, const int INCX, double *Y, const int INCY, const double C, const double S) |
applies a plane rotation <> Подробнее... | |
void | nmblas_drotg (double *A, double *B, double *C, double *S) |
construct givens plane rotation <> Подробнее... | |
void | nmblas_drotm (const int N, double *X, const int INCX, double *Y, const int INCY, double *param) |
Apply a Given's rotation constructed by DROTMG. <> Подробнее... | |
void | nmblas_dscal (const int N, const double ALPHA, double *X, const int INCX) |
scales a vector by a constant <> Подробнее... | |
double | nmblas_dsdot (const int N, const float *X, const int INCX, const float *Y, const int INCY) |
Compute the inner product of two vectors with double precision accumulation. <> Подробнее... | |
void | nmblas_dswap (const int N, double *X, const int INCX, double *Y, const int INCY) |
interchanges two vectors <> Подробнее... | |
double | nmblas_dznrm2 (const int N, const double *X, const int INCX) |
returns the euclidean norm of a vector via the function name, so that DZNRM2 := sqrt( x**H*x ) <> Подробнее... | |
int | nmblas_idamax (const int N, const double *X, const int INCX) |
finds the index of the first element having maximum absolute value. Подробнее... | |
int | nmblas_isamax (const int N, const float *X, const int INCX) |
finds the index of the first element having maximum absolute value. Подробнее... | |
float | nmblas_sasum (const int N, const float *X, const int INCX) |
takes the sum of the absolute values Подробнее... | |
void | nmblas_saxpy (int N, const float A, const float *X, const int INCX, float *Y, const int INCY) |
constant times a vector plus a vector Подробнее... | |
float | nmblas_scnrm2 (const int N, const float *X, const int INCX) |
returns the euclidean norm of a vector via the function name, so that SCNRM2 := sqrt( x**H*x ) Подробнее... | |
void | nmblas_scopy (const int N, const float *X, const int INCX, float *Y, const int INCY) |
copies a vector, X, to a vector, Y Подробнее... | |
float | nmblas_sdot (const int N, const float *X, const int INCX, const float *Y, const int INCY) |
SDOT forms the dot product of two vectors. Подробнее... | |
float | nmblas_sdsdot (const int N, const float B, const float *X, const int INCX, const float *Y, const int INCY) |
Compute the inner product of two vectors with double precision accumulation. <> Подробнее... | |
float | nmblas_snrm2 (const int N, const float *X, const int INCX) |
SNRM2 returns the euclidean norm of a vector via the function name, so that SNRM2 := sqrt( x'*x ). <> Подробнее... | |
void | nmblas_srot (const int N, float *X, const int INCX, float *Y, const int INCY, const float C, const float S) |
applies a plane rotation <> Подробнее... | |
void | nmblas_srotm (const int N, float *X, const int INCX, float *Y, const int INCY, float *param) |
Apply a Given's rotation constructed by SROTMG. <> Подробнее... | |
void | nmblas_sscal (const int N, const float A, const float *X, const int INCX) |
scales a vector by a constant <> Подробнее... | |
void | nmblas_sswap (const int N, const float *X, const int INCX, const float *Y, const int INCY) |
interchanges two vectors <> Подробнее... | |
double nmblas_dasum | ( | const int | N, |
const double * | X, | ||
const int | INCX | ||
) |
takes the sum of the absolute values <>
[in] | N | number of elements in input vector |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) |
[in] | INCX | storage spacing between elements of X |
void nmblas_daxpy | ( | const int | N, |
const double | A, | ||
const double * | X, | ||
const int | INCX, | ||
double * | Y, | ||
const int | INCY | ||
) |
constant times a vector plus a vector <>
[in] | N | number of elements in input vector |
[in] | A | specifies the scalar alpha |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) |
[in] | INCX | storage spacing between elements of X |
[in,out] | Y | array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) |
[in] | INCY | storage spacing between elements of Y |
void nmblas_dcopy | ( | const int | N, |
const double * | X, | ||
const int | INCX, | ||
double * | Y, | ||
const int | INCY | ||
) |
copies a vector, X, to a vector, Y
[in] | N | number of elements in input vector |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) |
[in] | INCX | storage spacing between elements of X |
[out] | Y | array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) |
[in] | INCY | storage spacing between elements of Y |
double nmblas_ddot | ( | const int | N, |
const double * | X, | ||
const int | INCX, | ||
const double * | Y, | ||
const int | INCY | ||
) |
forms the dot product of two vectors.
[in] | N | number of elements in input vector |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) |
[in] | INCX | storage spacing between elements of X |
[in] | Y | array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) |
[in] | INCY | storage spacing between elements of Y |
double nmblas_dnrm2 | ( | const int | N, |
const double * | x, | ||
const int | INCX | ||
) |
returns the euclidean norm of a vector via the function name, so that SCNRM2 := sqrt( x**H*x )
[in] | N | number of elements in input vector |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) |
[in] | INCX | storage spacing between elements of X |
void nmblas_drot | ( | const int | N, |
double * | X, | ||
const int | INCX, | ||
double * | Y, | ||
const int | INCY, | ||
const double | C, | ||
const double | S | ||
) |
applies a plane rotation <>
[in] | N | number of elements in input vector |
[in,out] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) |
[in] | INCX | storage spacing between elements of X |
[in,out] | Y | array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) |
[in] | INCY | storage spacing between elements of Y |
[in] | C | |
[in] | S |
void nmblas_drotg | ( | double * | A, |
double * | B, | ||
double * | C, | ||
double * | S | ||
) |
construct givens plane rotation <>
[in] | A | |
[in] | B | |
[in] | C | |
[out] | S |
void nmblas_drotm | ( | const int | N, |
double * | X, | ||
const int | INCX, | ||
double * | Y, | ||
const int | INCY, | ||
double * | param | ||
) |
Apply a Given's rotation constructed by DROTMG. <>
[in] | N | number of elements in input vector |
[in,out] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) |
[in] | INCX | storage spacing between elements of X |
[in,out] | Y | array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) |
[in] | INCY | storage spacing between elements of Y |
[in] | param | array, dimension (5). The rotation values constructed by SROTMG |
void nmblas_dscal | ( | const int | N, |
const double | ALPHA, | ||
double * | X, | ||
const int | INCX | ||
) |
scales a vector by a constant <>
[in] | N | number of elements in input vector |
[in] | A | specifies the scalar alpha. |
[in,out] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) |
[in] | INCX | storage spacing between elements of X |
double nmblas_dsdot | ( | const int | N, |
const float * | X, | ||
const int | INCX, | ||
const float * | Y, | ||
const int | INCY | ||
) |
Compute the inner product of two vectors with double precision accumulation. <>
[in] | N | number of elements in input vector |
[in] | B | single precision scalar to be added to inner product |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) single precision vector with N elementsr |
[in] | INCX | storage spacing between elements of X |
[in] | Y | array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) |
[in] | INCY | storage spacing between elements of Y |
void nmblas_dswap | ( | const int | N, |
double * | X, | ||
const int | INCX, | ||
double * | Y, | ||
const int | INCY | ||
) |
interchanges two vectors <>
[in] | N | number of elements in input vector |
[in,out] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) |
[in] | INCX | storage spacing between elements of X |
[in,out] | Y | array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) |
[in] | INCY | storage spacing between elements of Y |
double nmblas_dznrm2 | ( | const int | N, |
const double * | X, | ||
const int | INCX | ||
) |
returns the euclidean norm of a vector via the function name, so that DZNRM2 := sqrt( x**H*x ) <>
[in] | N | number of elements in input vector |
[in] | X | COMPLEX*16 array of DIMENSION at least ( 1 + ( m - 1 )*abs( INCX ) ) |
[in] | INCX | storage spacing between elements of X |
int nmblas_idamax | ( | const int | N, |
const double * | X, | ||
const int | INCX | ||
) |
finds the index of the first element having maximum absolute value.
[in] | N | number of elements in input vector |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX )) |
[in] | INCX | storage spacing between elements of X |
int nmblas_isamax | ( | const int | N, |
const float * | X, | ||
const int | INCX | ||
) |
finds the index of the first element having maximum absolute value.
[in] | N | number of elements in input vector |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) |
[in] | INCX | storage spacing between elements of X |
float nmblas_sasum | ( | const int | N, |
const float * | X, | ||
const int | INCX | ||
) |
takes the sum of the absolute values
[in] | N | number of elements in input vector |
[in] | A | specifies the scalar alpha |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) |
void nmblas_saxpy | ( | int | N, |
const float | A, | ||
const float * | X, | ||
const int | INCX, | ||
float * | Y, | ||
const int | INCY | ||
) |
constant times a vector plus a vector
[in] | N | number of elements in input vector |
[in] | A | specifies the scalar alpha |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) |
[in] | INCX | storage spacing between elements of X |
[in,out] | Y | array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) |
[in] | INCY | storage spacing between elements of Y |
float nmblas_scnrm2 | ( | const int | N, |
const float * | X, | ||
const int | INCX | ||
) |
returns the euclidean norm of a vector via the function name, so that SCNRM2 := sqrt( x**H*x )
[in] | N | number of elements in input vector |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) |
[in] | INCX | storage spacing between elements of X |
void nmblas_scopy | ( | const int | N, |
const float * | X, | ||
const int | INCX, | ||
float * | Y, | ||
const int | INCY | ||
) |
copies a vector, X, to a vector, Y
[in] | N | number of elements in input vector |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) |
[in] | INCX | storage spacing between elements of X |
[out] | Y | array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) |
[in] | INCY | storage spacing between elements of Y |
float nmblas_sdot | ( | const int | N, |
const float * | X, | ||
const int | INCX, | ||
const float * | Y, | ||
const int | INCY | ||
) |
SDOT forms the dot product of two vectors.
[in] | N | number of elements in input vector |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) |
[in] | INCX | storage spacing between elements of X |
[in] | Y | array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) |
[in] | INCY | storage spacing between elements of Y |
float nmblas_sdsdot | ( | const int | N, |
const float | B, | ||
const float * | X, | ||
const int | INCX, | ||
const float * | Y, | ||
const int | INCY | ||
) |
Compute the inner product of two vectors with double precision accumulation. <>
[in] | N | number of elements in input vector |
[in] | B | single precision scalar to be added to inner product |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) single precision vector with N elementsr |
[in] | INCX | storage spacing between elements of X |
[in] | Y | array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) |
[in] | INCY | storage spacing between elements of Y |
float nmblas_snrm2 | ( | const int | N, |
const float * | X, | ||
const int | INCX | ||
) |
SNRM2 returns the euclidean norm of a vector via the function name, so that SNRM2 := sqrt( x'*x ). <>
[in] | N | number of elements in input vector |
[in] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) |
[in] | INCX | storage spacing between elements of X |
void nmblas_srot | ( | const int | N, |
float * | X, | ||
const int | INCX, | ||
float * | Y, | ||
const int | INCY, | ||
const float | C, | ||
const float | S | ||
) |
applies a plane rotation <>
[in] | N | number of elements in input vector |
[in,out] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) |
[in] | INCX | storage spacing between elements of X |
[in,out] | Y | array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) |
[in] | INCY | storage spacing between elements of Y |
[in] | C | |
[in] | S |
void nmblas_srotm | ( | const int | N, |
float * | X, | ||
const int | INCX, | ||
float * | Y, | ||
const int | INCY, | ||
float * | param | ||
) |
Apply a Given's rotation constructed by SROTMG. <>
[in] | N | number of elements in input vector |
[in,out] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) |
[in] | INCX | storage spacing between elements of X |
[in,out] | Y | array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) |
[in] | INCY | storage spacing between elements of Y |
[in] | param | array, dimension (5). The rotation values constructed by SROTMG |
void nmblas_sscal | ( | const int | N, |
const float | A, | ||
const float * | X, | ||
const int | INCX | ||
) |
scales a vector by a constant <>
[in] | N | number of elements in input vector |
[in] | A | specifies the scalar alpha. |
[in,out] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) |
[in] | INCX | storage spacing between elements of X |
void nmblas_sswap | ( | const int | N, |
const float * | X, | ||
const int | INCX, | ||
const float * | Y, | ||
const int | INCY | ||
) |
interchanges two vectors <>
[in] | N | number of elements in input vector |
[in,out] | X | array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) |
[in] | INCX | storage spacing between elements of X |
[in,out] | Y | array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) |
[in] | INCY | storage spacing between elements of Y |