The OpenD Programming Language

glas.fortran

BLAS API for GLAS

Please read Netlib BLAS for more details.

Note: Standard (fortran) BLAS API is column major.

Members

Aliases

FortranInt
alias FortranInt = int

Alias for Fortran77 integer.

Functions

caxpy_
int caxpy_(FortranInt n, cfloat a, const(cfloat)* x, FortranInt incx, cfloat* y, FortranInt incy)

Copies a vector, x, to a vector, y.

ccopy_
int ccopy_(FortranInt n, const(cfloat)* x, FortranInt incx, cfloat* y, FortranInt incy)

Copies a vector, x, to a vector, y.

cgemm_
int cgemm_(char transa, char transb, FortranInt m, FortranInt n, FortranInt k, cfloat alpha, const(cfloat)* a, FortranInt lda, const(cfloat)* b, FortranInt ldb, cfloat beta, cfloat* c, FortranInt ldc)

gemm_ performs one of the matrix-matrix operations

chemm_
int chemm_(char side, char uplo, FortranInt m, FortranInt n, cfloat alpha, const(cfloat)* a, FortranInt lda, const(cfloat)* b, FortranInt ldb, cfloat beta, cfloat* c, FortranInt ldc)

hemm_ performs one of the matrix-matrix operations

csIscal_
int csIscal_(FortranInt n, ifloat a, cfloat* x, FortranInt incx)
cscal_
int cscal_(FortranInt n, cfloat a, cfloat* x, FortranInt incx)
csscal_
int csscal_(FortranInt n, float a, cfloat* x, FortranInt incx)

scal_ scales a vector by a constant.

cswap_
int cswap_(FortranInt n, cfloat* x, FortranInt incx, cfloat* y, FortranInt incy)

Interchanges two vectors.

csymm_
int csymm_(char side, char uplo, FortranInt m, FortranInt n, cfloat alpha, const(cfloat)* a, FortranInt lda, const(cfloat)* b, FortranInt ldb, cfloat beta, cfloat* c, FortranInt ldc)

symm_ performs one of the matrix-matrix operations

dasum_
int dasum_(FortranInt n, const(double)* x, FortranInt incx)

Takes the sum of the absolute values.

daxpy_
int daxpy_(FortranInt n, double a, const(double)* x, FortranInt incx, double* y, FortranInt incy)

Copies a vector, x, to a vector, y.

dcopy_
int dcopy_(FortranInt n, const(double)* x, FortranInt incx, double* y, FortranInt incy)

Copies a vector, x, to a vector, y.

dgemm_
int dgemm_(char transa, char transb, FortranInt m, FortranInt n, FortranInt k, double alpha, const(double)* a, FortranInt lda, const(double)* b, FortranInt ldb, double beta, double* c, FortranInt ldc)

gemm_ performs one of the matrix-matrix operations

dnrm2_
int dnrm2_(FortranInt n, const(double)* x, FortranInt incx)

Returns the euclidean norm of a vector via the function.

dscal_
int dscal_(FortranInt n, double a, double* x, FortranInt incx)

scal_ scales a vector by a constant.

dswap_
int dswap_(FortranInt n, double* x, FortranInt incx, double* y, FortranInt incy)

Interchanges two vectors.

dsymm_
int dsymm_(char side, char uplo, FortranInt m, FortranInt n, double alpha, const(double)* a, FortranInt lda, const(double)* b, FortranInt ldb, double beta, double* c, FortranInt ldc)

symm_ performs one of the matrix-matrix operations

dzasum_
int dzasum_(FortranInt n, const(cdouble)* x, FortranInt incx)

Takes the sum of the absolute values.

dznrm2_
int dznrm2_(FortranInt n, const(cdouble)* x, FortranInt incx)

Returns the euclidean norm of a vector via the function.

icamax_
int icamax_(FortranInt n, const(cfloat)* x, FortranInt incx)
idamax_
int idamax_(FortranInt n, const(double)* x, FortranInt incx)

Finds the index of the first element having maximum |Re(.)| + |Im(.)|.

isamax_
int isamax_(FortranInt n, const(float)* x, FortranInt incx)
izamax_
int izamax_(FortranInt n, const(cdouble)* x, FortranInt incx)

Finds the index of the first element having maximum |Re(.)| + |Im(.)|.

sasum_
int sasum_(FortranInt n, const(float)* x, FortranInt incx)

Takes the sum of the absolute values.

saxpy_
int saxpy_(FortranInt n, float a, const(float)* x, FortranInt incx, float* y, FortranInt incy)

Copies a vector, x, to a vector, y.

scasum_
int scasum_(FortranInt n, const(cfloat)* x, FortranInt incx)

Takes the sum of the absolute values.

scnrm2_
int scnrm2_(FortranInt n, const(cfloat)* x, FortranInt incx)

Returns the euclidean norm of a vector via the function.

scopy_
int scopy_(FortranInt n, const(float)* x, FortranInt incx, float* y, FortranInt incy)

Copies a vector, x, to a vector, y.

sgemm_
int sgemm_(char transa, char transb, FortranInt m, FortranInt n, FortranInt k, float alpha, const(float)* a, FortranInt lda, const(float)* b, FortranInt ldb, float beta, float* c, FortranInt ldc)

gemm_ performs one of the matrix-matrix operations

snrm2_
int snrm2_(FortranInt n, const(float)* x, FortranInt incx)

Returns the euclidean norm of a vector via the function.

sscal_
int sscal_(FortranInt n, float a, float* x, FortranInt incx)

scal_ scales a vector by a constant.

sswap_
int sswap_(FortranInt n, float* x, FortranInt incx, float* y, FortranInt incy)

Interchanges two vectors.

ssymm_
int ssymm_(char side, char uplo, FortranInt m, FortranInt n, float alpha, const(float)* a, FortranInt lda, const(float)* b, FortranInt ldb, float beta, float* c, FortranInt ldc)

symm_ performs one of the matrix-matrix operations

xerbla_
int xerbla_(char* srname, FortranInt info)

XERBLA is an error handler for the LAPACK routines. It is called by an LAPACK routine if an input parameter has an invalid value. A message is printed and execution stops.

zaxpy_
int zaxpy_(FortranInt n, cdouble a, const(cdouble)* x, FortranInt incx, cdouble* y, FortranInt incy)

Copies a vector, x, to a vector, y.

zcopy_
int zcopy_(FortranInt n, const(cdouble)* x, FortranInt incx, cdouble* y, FortranInt incy)

Copies a vector, x, to a vector, y.

zdIscal_
int zdIscal_(FortranInt n, idouble a, cdouble* x, FortranInt incx)
zdscal_
int zdscal_(FortranInt n, double a, cdouble* x, FortranInt incx)

scal_ scales a vector by a constant.

zgemm_
int zgemm_(char transa, char transb, FortranInt m, FortranInt n, FortranInt k, cdouble alpha, const(cdouble)* a, FortranInt lda, const(cdouble)* b, FortranInt ldb, cdouble beta, cdouble* c, FortranInt ldc)

gemm_ performs one of the matrix-matrix operations

zhemm_
int zhemm_(char side, char uplo, FortranInt m, FortranInt n, cdouble alpha, const(cdouble)* a, FortranInt lda, const(cdouble)* b, FortranInt ldb, cdouble beta, cdouble* c, FortranInt ldc)

hemm_ performs one of the matrix-matrix operations

zscal_
int zscal_(FortranInt n, cdouble a, cdouble* x, FortranInt incx)

scal_ scales a vector by a constant.

zswap_
int zswap_(FortranInt n, cdouble* x, FortranInt incx, cdouble* y, FortranInt incy)

Interchanges two vectors.

zsymm_
int zsymm_(char side, char uplo, FortranInt m, FortranInt n, cdouble alpha, const(cdouble)* a, FortranInt lda, const(cdouble)* b, FortranInt ldb, cdouble beta, cdouble* c, FortranInt ldc)

symm_ performs one of the matrix-matrix operations

Meta

Authors

Ilya Yaroshenko