ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
gsl::blas Namespace Reference

This namespace gives access to all the gsl_cblas functions. More...

Functions

int dsdot (vector_float const &X, vector_float const &Y, double &result)
 C++ version of gsl_blas_dsdot(). More...
 
int sdot (vector_float const &X, vector_float const &Y, float &result)
 C++ version of gsl_blas_sdot(). More...
 
int ddot (vector const &X, vector const &Y, double &result)
 C++ version of gsl_blas_ddot(). More...
 
int cdotu (vector_complex_float const &X, vector_complex_float const &Y, complex_float *dotu)
 C++ version of gsl_blas_cdotu(). More...
 
int cdotc (vector_complex_float const &X, vector_complex_float const &Y, complex_float *dotc)
 C++ version of gsl_blas_cdotc(). More...
 
int zdotu (vector_complex const &X, vector_complex const &Y, complex *dotu)
 C++ version of gsl_blas_zdotu(). More...
 
int zdotc (vector_complex const &X, vector_complex const &Y, complex *dotc)
 C++ version of gsl_blas_zdotc(). More...
 
float snrm2 (vector_float const &X)
 C++ version of gsl_blas_snrm2(). More...
 
float sasum (vector_float const &X)
 C++ version of gsl_blas_sasum(). More...
 
double dnrm2 (vector const &X)
 C++ version of gsl_blas_dnrm2(). More...
 
double dasum (vector const &X)
 C++ version of gsl_blas_dasum(). More...
 
float scnrm2 (vector_complex_float const &X)
 C++ version of gsl_blas_scnrm2(). More...
 
float scasum (vector_complex_float const &X)
 C++ version of gsl_blas_scasum(). More...
 
double dznrm2 (vector_complex const &X)
 C++ version of gsl_blas_dznrm2(). More...
 
double dzasum (vector_complex const &X)
 C++ version of gsl_blas_dzasum(). More...
 
CBLAS_INDEX_t isamax (vector_float const &X)
 C++ version of gsl_blas_isamax(). More...
 
CBLAS_INDEX_t idamax (vector const &X)
 C++ version of gsl_blas_idamax(). More...
 
CBLAS_INDEX_t icamax (vector_complex_float const &X)
 C++ version of gsl_blas_icamax(). More...
 
CBLAS_INDEX_t izamax (vector_complex const &X)
 C++ version of gsl_blas_izamax(). More...
 
int sswap (vector_float &X, vector_float &Y)
 C++ version of gsl_blas_sswap(). More...
 
int scopy (vector_float const &X, vector_float &Y)
 C++ version of gsl_blas_scopy(). More...
 
int saxpy (float alpha, vector_float const &X, vector_float &Y)
 C++ version of gsl_blas_saxpy(). More...
 
int dswap (vector &X, vector &Y)
 C++ version of gsl_blas_dswap(). More...
 
int dcopy (vector const &X, vector &Y)
 C++ version of gsl_blas_dcopy(). More...
 
int daxpy (double alpha, vector const &X, vector &Y)
 C++ version of gsl_blas_daxpy(). More...
 
int cswap (vector_complex_float &X, vector_complex_float &Y)
 C++ version of gsl_blas_cswap(). More...
 
int ccopy (vector_complex_float const &X, vector_complex_float &Y)
 C++ version of gsl_blas_ccopy(). More...
 
int caxpy (complex_float const &alpha, vector_complex_float const &X, vector_complex_float &Y)
 C++ version of gsl_blas_caxpy(). More...
 
int zswap (vector_complex &X, vector_complex &Y)
 C++ version of gsl_blas_zswap(). More...
 
int zcopy (vector_complex const &X, vector_complex &Y)
 C++ version of gsl_blas_zcopy(). More...
 
int zaxpy (complex const &alpha, vector_complex const &X, vector_complex &Y)
 C++ version of gsl_blas_zaxpy(). More...
 
int srotg (float &a, float &b, float &c, float &s)
 C++ version of gsl_blas_srotg(). More...
 
int srotmg (float &d1, float &d2, float &b1, float b2, float &P)
 C++ version of gsl_blas_srotmg(). More...
 
int srot (vector_float &X, vector_float &Y, float c, float s)
 C++ version of gsl_blas_srot(). More...
 
int srotm (vector_float &X, vector_float &Y, float const P[])
 C++ version of gsl_blas_srotm(). More...
 
int drotg (double &a, double &b, double &c, double &s)
 C++ version of gsl_blas_drotg(). More...
 
int drotmg (double &d1, double &d2, double &b1, double b2, double &P)
 C++ version of gsl_blas_drotmg(). More...
 
template<typename ARRAY >
int drotg (ARRAY &a, ARRAY &b, ARRAY &c, ARRAY &s)
 C++ version of gsl_blas_drotg(). More...
 
template<typename ARRAY >
int drotmg (ARRAY &d1, ARRAY &d2, ARRAY &b1, double b2, ARRAY &P)
 C++ version of gsl_blas_drotmg(). More...
 
int drot (vector &X, vector &Y, double const c, double const s)
 C++ version of gsl_blas_drot(). More...
 
int drotm (vector &X, vector &Y, double const P[])
 C++ version of gsl_blas_drotm(). More...
 
void sscal (float alpha, vector_float &X)
 C++ version of gsl_blas_sscal(). More...
 
void dscal (double alpha, vector &X)
 C++ version of gsl_blas_dscal(). More...
 
void cscal (complex_float const &alpha, vector_complex_float &X)
 C++ version of gsl_blas_cscal(). More...
 
void zscal (complex const &alpha, vector_complex &X)
 C++ version of gsl_blas_zscal(). More...
 
void csscal (float alpha, vector_complex_float &X)
 C++ version of gsl_blas_csscal(). More...
 
void zdscal (double alpha, vector_complex &X)
 C++ version of gsl_blas_zdscal(). More...
 
int sgemv (CBLAS_TRANSPOSE_t TransA, float alpha, matrix_float const &A, vector_float const &X, float beta, vector_float &Y)
 C++ version of gsl_blas_sgemv(). More...
 
int strmv (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, matrix_float const &A, vector_float &X)
 C++ version of gsl_blas_strmv(). More...
 
int strsv (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, matrix_float const &A, vector_float &X)
 C++ version of gsl_blas_strsv(). More...
 
int dgemv (CBLAS_TRANSPOSE_t TransA, double alpha, matrix const &A, vector const &X, double beta, vector &Y)
 C++ version of gsl_blas_dgemv(). More...
 
int dtrmv (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, matrix const &A, vector &X)
 C++ version of gsl_blas_dtrmv(). More...
 
int dtrsv (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, matrix const &A, vector &X)
 C++ version of gsl_blas_dtrsv(). More...
 
int cgemv (CBLAS_TRANSPOSE_t TransA, complex_float const &alpha, matrix_complex_float const &A, vector_complex_float const &X, complex_float const &beta, vector_complex_float &Y)
 C++ version of gsl_blas_cgemv(). More...
 
int ctrmv (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, matrix_complex_float const &A, vector_complex_float &X)
 C++ version of gsl_blas_ctrmv(). More...
 
int ctrsv (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, matrix_complex_float const &A, vector_complex_float &X)
 C++ version of gsl_blas_ctrsv(). More...
 
int zgemv (CBLAS_TRANSPOSE_t TransA, complex const &alpha, matrix_complex const &A, vector_complex const &X, complex const &beta, vector_complex &Y)
 C++ version of gsl_blas_zgemv(). More...
 
int ztrmv (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, matrix_complex const &A, vector_complex &X)
 C++ version of gsl_blas_ztrmv(). More...
 
int ztrsv (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, matrix_complex const &A, vector_complex &X)
 C++ version of gsl_blas_ztrsv(). More...
 
int ssymv (CBLAS_UPLO_t Uplo, float alpha, matrix_float const &A, vector_float const &X, float beta, vector_float &Y)
 C++ version of gsl_blas_ssymv(). More...
 
int sger (float alpha, vector_float const &X, vector_float const &Y, matrix_float &A)
 C++ version of gsl_blas_sger(). More...
 
int ssyr (CBLAS_UPLO_t Uplo, float alpha, vector_float const &X, matrix_float &A)
 C++ version of gsl_blas_ssyr(). More...
 
int ssyr2 (CBLAS_UPLO_t Uplo, float alpha, vector_float const &X, vector_float const &Y, matrix_float &A)
 C++ version of gsl_blas_ssyr2(). More...
 
int dsymv (CBLAS_UPLO_t Uplo, double alpha, matrix const &A, vector const &X, double beta, vector &Y)
 C++ version of gsl_blas_dsymv(). More...
 
int dger (double alpha, vector const &X, vector const &Y, matrix &A)
 C++ version of gsl_blas_dger(). More...
 
int dsyr (CBLAS_UPLO_t Uplo, double alpha, vector const &X, matrix &A)
 C++ version of gsl_blas_dsyr(). More...
 
int dsyr2 (CBLAS_UPLO_t Uplo, double alpha, vector const &X, vector const &Y, matrix &A)
 C++ version of gsl_blas_dsyr2(). More...
 
int chemv (CBLAS_UPLO_t Uplo, complex_float const &alpha, matrix_complex_float const &A, vector_complex_float const &X, complex_float const &beta, vector_complex_float &Y)
 C++ version of gsl_blas_chemv(). More...
 
int cgeru (complex_float const &alpha, vector_complex_float const &X, vector_complex_float const &Y, matrix_complex_float &A)
 C++ version of gsl_blas_cgeru(). More...
 
int cgerc (complex_float const &alpha, vector_complex_float const &X, vector_complex_float const &Y, matrix_complex_float &A)
 C++ version of gsl_blas_cgerc(). More...
 
int cher (CBLAS_UPLO_t Uplo, float alpha, vector_complex_float const &X, matrix_complex_float &A)
 C++ version of gsl_blas_cher(). More...
 
int cher2 (CBLAS_UPLO_t Uplo, complex_float const &alpha, vector_complex_float const &X, vector_complex_float const &Y, matrix_complex_float &A)
 C++ version of gsl_blas_cher2(). More...
 
int zhemv (CBLAS_UPLO_t Uplo, complex const &alpha, matrix_complex const &A, vector_complex const &X, complex const &beta, vector_complex &Y)
 C++ version of gsl_blas_zhemv(). More...
 
int zgeru (complex const &alpha, vector_complex const &X, vector_complex const &Y, matrix_complex &A)
 C++ version of gsl_blas_zgeru(). More...
 
int zgerc (complex const &alpha, vector_complex const &X, vector_complex const &Y, matrix_complex &A)
 C++ version of gsl_blas_zgerc(). More...
 
int zher (CBLAS_UPLO_t Uplo, double alpha, vector_complex const &X, matrix_complex &A)
 C++ version of gsl_blas_zher(). More...
 
int zher2 (CBLAS_UPLO_t Uplo, complex const alpha, vector_complex const &X, vector_complex const &Y, matrix_complex &A)
 C++ version of gsl_blas_zher2(). More...
 
int sgemm (CBLAS_TRANSPOSE_t TransA, CBLAS_TRANSPOSE_t TransB, float alpha, matrix_float const &A, matrix_float const &B, float beta, matrix_float &C)
 C++ version of gsl_blas_sgemm(). More...
 
int ssymm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo, float alpha, matrix_float const &A, matrix_float const &B, float beta, matrix_float &C)
 C++ version of gsl_blas_ssymm(). More...
 
int ssyrk (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t Trans, float alpha, matrix_float const &A, float beta, matrix_float &C)
 C++ version of gsl_blas_ssyrk(). More...
 
int ssyr2k (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t Trans, float alpha, matrix_float const &A, matrix_float const &B, float beta, matrix_float &C)
 C++ version of gsl_blas_ssyr2k(). More...
 
int strmm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, float alpha, matrix_float const &A, matrix_float &B)
 C++ version of gsl_blas_strmm(). More...
 
int strsm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, float alpha, matrix_float const &A, matrix_float &B)
 C++ version of gsl_blas_strsm(). More...
 
int dgemm (CBLAS_TRANSPOSE_t TransA, CBLAS_TRANSPOSE_t TransB, double alpha, matrix const &A, matrix const &B, double beta, matrix &C)
 C++ version of gsl_blas_dgemm(). More...
 
int dsymm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo, double alpha, matrix const &A, matrix const &B, double beta, matrix &C)
 C++ version of gsl_blas_dsymm(). More...
 
int dsyrk (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t Trans, double alpha, matrix const &A, double beta, matrix &C)
 C++ version of gsl_blas_dsyrk(). More...
 
int dsyr2k (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t Trans, double alpha, matrix const &A, matrix const &B, double beta, matrix &C)
 C++ version of gsl_blas_dsyr2k(). More...
 
int dtrmm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, double alpha, matrix const &A, matrix &B)
 C++ version of gsl_blas_dtrmm(). More...
 
int dtrsm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, double alpha, matrix const &A, matrix &B)
 C++ version of gsl_blas_dtrsm(). More...
 
int cgemm (CBLAS_TRANSPOSE_t TransA, CBLAS_TRANSPOSE_t TransB, complex_float const &alpha, matrix_complex_float const &A, matrix_complex_float const &B, complex_float const &beta, matrix_complex_float &C)
 C++ version of gsl_blas_cgemm(). More...
 
int csymm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo, complex_float const &alpha, matrix_complex_float const &A, matrix_complex_float const &B, complex_float const &beta, matrix_complex_float &C)
 C++ version of gsl_blas_csymm(). More...
 
int csyrk (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t Trans, complex_float const &alpha, matrix_complex_float const &A, complex_float const &beta, matrix_complex_float &C)
 C++ version of gsl_blas_csyrk(). More...
 
int csyr2k (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t Trans, complex_float const &alpha, matrix_complex_float const &A, matrix_complex_float const &B, complex_float const &beta, matrix_complex_float &C)
 C++ version of gsl_blas_csyr2k(). More...
 
int ctrmm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, complex_float const &alpha, matrix_complex_float const &A, matrix_complex_float &B)
 C++ version of gsl_blas_ctrmm(). More...
 
int ctrsm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, complex_float const &alpha, matrix_complex_float const &A, matrix_complex_float &B)
 C++ version of gsl_blas_ctrsm(). More...
 
int zgemm (CBLAS_TRANSPOSE_t TransA, CBLAS_TRANSPOSE_t TransB, complex const &alpha, matrix_complex const &A, matrix_complex const &B, complex const &beta, matrix_complex &C)
 C++ version of gsl_blas_zgemm(). More...
 
int zsymm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo, complex const &alpha, matrix_complex const &A, matrix_complex const &B, complex const &beta, matrix_complex &C)
 C++ version of gsl_blas_zsymm(). More...
 
int zsyrk (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t Trans, complex const &alpha, matrix_complex const &A, complex const &beta, matrix_complex &C)
 C++ version of gsl_blas_zsyrk(). More...
 
int zsyr2k (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t Trans, complex const &alpha, matrix_complex const &A, matrix_complex const &B, complex const &beta, matrix_complex &C)
 C++ version of gsl_blas_zsyr2k(). More...
 
int ztrmm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, complex const &alpha, matrix_complex const &A, matrix_complex &B)
 C++ version of gsl_blas_ztrmm(). More...
 
int ztrsm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag, complex const &alpha, matrix_complex const &A, matrix_complex &B)
 C++ version of gsl_blas_ztrsm(). More...
 
int chemm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo, complex_float const &alpha, matrix_complex_float const &A, matrix_complex_float const &B, complex_float const &beta, matrix_complex_float &C)
 C++ version of gsl_blas_chemm(). More...
 
int cherk (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t Trans, float alpha, matrix_complex_float const &A, float beta, matrix_complex_float &C)
 C++ version of gsl_blas_cherk(). More...
 
int cher2k (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t Trans, complex_float const &alpha, matrix_complex_float const &A, matrix_complex_float const &B, float beta, matrix_complex_float &C)
 C++ version of gsl_blas_cher2k(). More...
 
int zhemm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo, complex const &alpha, matrix_complex const &A, matrix_complex const &B, complex const &beta, matrix_complex &C)
 C++ version of gsl_blas_zhemm(). More...
 
int zherk (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t Trans, double alpha, matrix_complex const &A, double beta, matrix_complex &C)
 C++ version of gsl_blas_zherk(). More...
 
int zher2k (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t Trans, complex const &alpha, matrix_complex const &A, matrix_complex const &B, double beta, matrix_complex &C)
 C++ version of gsl_blas_zher2k(). More...
 

Variables

CBLAS_TRANSPOSE_t const NoTrans = CblasNoTrans
 No transpose. More...
 
CBLAS_TRANSPOSE_t const Trans = CblasTrans
 Transpose. More...
 
CBLAS_TRANSPOSE_t const ConjTrans = CblasConjTrans
 Hermitian transpose. More...
 
CBLAS_UPLO_t const Upper = CblasUpper
 Upper triangular. More...
 
CBLAS_UPLO_t const Lower = CblasLower
 Lower triangular. More...
 
CBLAS_DIAG_t const NonUnit = CblasNonUnit
 Non unit diagonal. More...
 
CBLAS_DIAG_t const Unit = CblasUnit
 Unit diagonal. More...
 
CBLAS_SIDE_t const Left = CblasLeft
 Apply to left matrix. More...
 
CBLAS_SIDE_t const Right = CblasRight
 Apply to right matrix. More...
 

Detailed Description

This namespace gives access to all the gsl_cblas functions.

Function Documentation

◆ caxpy()

int gsl::blas::caxpy ( complex_float const &  alpha,
vector_complex_float const &  X,
vector_complex_float Y 
)
inline

C++ version of gsl_blas_caxpy().

Parameters
alphaA constant
XA vector
YA vector
Returns
Error code on failure

Definition at line 319 of file blas.hpp.

References gsl::complex_float::get(), and gsl::vector_complex_float::get().

◆ ccopy()

int gsl::blas::ccopy ( vector_complex_float const &  X,
vector_complex_float Y 
)
inline

C++ version of gsl_blas_ccopy().

Parameters
XA vector
YA vector
Returns
Error code on failure

Definition at line 309 of file blas.hpp.

References gsl::vector_complex_float::get().

◆ cdotc()

int gsl::blas::cdotc ( vector_complex_float const &  X,
vector_complex_float const &  Y,
complex_float dotc 
)
inline

C++ version of gsl_blas_cdotc().

Parameters
XFirst vector
YSecond vector
dotcVector product
Returns
Error code on failure

Definition at line 134 of file blas.hpp.

References gsl::complex_float::get(), and gsl::vector_complex_float::get().

◆ cdotu()

int gsl::blas::cdotu ( vector_complex_float const &  X,
vector_complex_float const &  Y,
complex_float dotu 
)
inline

C++ version of gsl_blas_cdotu().

Parameters
XFirst vector
YSecond vector
dotuVector product
Returns
Error code on failure

Definition at line 123 of file blas.hpp.

References gsl::complex_float::get(), and gsl::vector_complex_float::get().

◆ cgemm()

int gsl::blas::cgemm ( CBLAS_TRANSPOSE_t  TransA,
CBLAS_TRANSPOSE_t  TransB,
complex_float const &  alpha,
matrix_complex_float const &  A,
matrix_complex_float const &  B,
complex_float const &  beta,
matrix_complex_float C 
)
inline

C++ version of gsl_blas_cgemm().

Parameters
TransATranspose type
TransBTranspose type for B
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1133 of file blas.hpp.

References gsl::ran::beta(), gsl::complex_float::get(), and gsl::matrix_complex_float::get().

◆ cgemv()

int gsl::blas::cgemv ( CBLAS_TRANSPOSE_t  TransA,
complex_float const &  alpha,
matrix_complex_float const &  A,
vector_complex_float const &  X,
complex_float const &  beta,
vector_complex_float Y 
)
inline

C++ version of gsl_blas_cgemv().

Parameters
TransATranspose type
alphaA constant
AA matrix
XA vector
betaAnother constant
YA vector
Returns
Error code on failure

Definition at line 650 of file blas.hpp.

References gsl::ran::beta(), gsl::complex_float::get(), gsl::matrix_complex_float::get(), and gsl::vector_complex_float::get().

◆ cgerc()

int gsl::blas::cgerc ( complex_float const &  alpha,
vector_complex_float const &  X,
vector_complex_float const &  Y,
matrix_complex_float A 
)
inline

C++ version of gsl_blas_cgerc().

Parameters
alphaA constant
XA vector
YA vector
AA matrix
Returns
Error code on failure

Definition at line 852 of file blas.hpp.

References gsl::complex_float::get(), gsl::matrix_complex_float::get(), and gsl::vector_complex_float::get().

◆ cgeru()

int gsl::blas::cgeru ( complex_float const &  alpha,
vector_complex_float const &  X,
vector_complex_float const &  Y,
matrix_complex_float A 
)
inline

C++ version of gsl_blas_cgeru().

Parameters
alphaA constant
XA vector
YA vector
AA matrix
Returns
Error code on failure

Definition at line 840 of file blas.hpp.

References gsl::complex_float::get(), gsl::matrix_complex_float::get(), and gsl::vector_complex_float::get().

◆ chemm()

int gsl::blas::chemm ( CBLAS_SIDE_t  Side,
CBLAS_UPLO_t  Uplo,
complex_float const &  alpha,
matrix_complex_float const &  A,
matrix_complex_float const &  B,
complex_float const &  beta,
matrix_complex_float C 
)
inline

C++ version of gsl_blas_chemm().

Parameters
SideSide to apply operation to
UploUpper or lower triangular
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1321 of file blas.hpp.

References gsl::ran::beta(), gsl::complex_float::get(), and gsl::matrix_complex_float::get().

◆ chemv()

int gsl::blas::chemv ( CBLAS_UPLO_t  Uplo,
complex_float const &  alpha,
matrix_complex_float const &  A,
vector_complex_float const &  X,
complex_float const &  beta,
vector_complex_float Y 
)
inline

C++ version of gsl_blas_chemv().

Parameters
UploUpper or lower triangular
alphaA constant
AA matrix
XA vector
betaAnother constant
YA vector
Returns
Error code on failure

Definition at line 827 of file blas.hpp.

References gsl::ran::beta(), gsl::complex_float::get(), gsl::matrix_complex_float::get(), and gsl::vector_complex_float::get().

◆ cher()

int gsl::blas::cher ( CBLAS_UPLO_t  Uplo,
float  alpha,
vector_complex_float const &  X,
matrix_complex_float A 
)
inline

C++ version of gsl_blas_cher().

Parameters
UploUpper or lower triangular
alphaA constant
XA vector
AA matrix
Returns
Error code on failure

Definition at line 864 of file blas.hpp.

References gsl::matrix_complex_float::get(), and gsl::vector_complex_float::get().

◆ cher2()

int gsl::blas::cher2 ( CBLAS_UPLO_t  Uplo,
complex_float const &  alpha,
vector_complex_float const &  X,
vector_complex_float const &  Y,
matrix_complex_float A 
)
inline

C++ version of gsl_blas_cher2().

Parameters
UploUpper or lower triangular
alphaA constant
XA vector
YA vector
AA matrix
Returns
Error code on failure

Definition at line 877 of file blas.hpp.

References gsl::complex_float::get(), gsl::matrix_complex_float::get(), and gsl::vector_complex_float::get().

◆ cher2k()

int gsl::blas::cher2k ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  Trans,
complex_float const &  alpha,
matrix_complex_float const &  A,
matrix_complex_float const &  B,
float  beta,
matrix_complex_float C 
)
inline

C++ version of gsl_blas_cher2k().

Parameters
UploUpper or lower triangular
TransTranspose type
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1351 of file blas.hpp.

References gsl::ran::beta(), gsl::complex_float::get(), gsl::matrix_complex_float::get(), and Trans.

◆ cherk()

int gsl::blas::cherk ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  Trans,
float  alpha,
matrix_complex_float const &  A,
float  beta,
matrix_complex_float C 
)
inline

C++ version of gsl_blas_cherk().

Parameters
UploUpper or lower triangular
TransTranspose type
alphaA constant
AA matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1336 of file blas.hpp.

References gsl::ran::beta(), gsl::matrix_complex_float::get(), and Trans.

◆ cscal()

void gsl::blas::cscal ( complex_float const &  alpha,
vector_complex_float X 
)
inline

C++ version of gsl_blas_cscal().

Parameters
alphaA constant
XA vector

Definition at line 535 of file blas.hpp.

References gsl::complex_float::get(), and gsl::vector_complex_float::get().

◆ csscal()

void gsl::blas::csscal ( float  alpha,
vector_complex_float X 
)
inline

C++ version of gsl_blas_csscal().

Parameters
alphaA constant
XA vector

Definition at line 550 of file blas.hpp.

References gsl::vector_complex_float::get().

◆ cswap()

int gsl::blas::cswap ( vector_complex_float X,
vector_complex_float Y 
)
inline

C++ version of gsl_blas_cswap().

Parameters
XA vector
YA vector
Returns
Error code on failure

Definition at line 300 of file blas.hpp.

References gsl::vector_complex_float::get().

◆ csymm()

int gsl::blas::csymm ( CBLAS_SIDE_t  Side,
CBLAS_UPLO_t  Uplo,
complex_float const &  alpha,
matrix_complex_float const &  A,
matrix_complex_float const &  B,
complex_float const &  beta,
matrix_complex_float C 
)
inline

C++ version of gsl_blas_csymm().

Parameters
SideSide to apply operation to
UploUpper or lower triangular
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1149 of file blas.hpp.

References gsl::ran::beta(), gsl::complex_float::get(), and gsl::matrix_complex_float::get().

◆ csyr2k()

int gsl::blas::csyr2k ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  Trans,
complex_float const &  alpha,
matrix_complex_float const &  A,
matrix_complex_float const &  B,
complex_float const &  beta,
matrix_complex_float C 
)
inline

C++ version of gsl_blas_csyr2k().

Parameters
UploUpper or lower triangular
TransTranspose type
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1179 of file blas.hpp.

References gsl::ran::beta(), gsl::complex_float::get(), gsl::matrix_complex_float::get(), and Trans.

◆ csyrk()

int gsl::blas::csyrk ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  Trans,
complex_float const &  alpha,
matrix_complex_float const &  A,
complex_float const &  beta,
matrix_complex_float C 
)
inline

C++ version of gsl_blas_csyrk().

Parameters
UploUpper or lower triangular
TransTranspose type
alphaA constant
AA matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1164 of file blas.hpp.

References gsl::ran::beta(), gsl::complex_float::get(), gsl::matrix_complex_float::get(), and Trans.

◆ ctrmm()

int gsl::blas::ctrmm ( CBLAS_SIDE_t  Side,
CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
complex_float const &  alpha,
matrix_complex_float const &  A,
matrix_complex_float B 
)
inline

C++ version of gsl_blas_ctrmm().

Parameters
SideSide to apply operation to
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
alphaA constant
AA matrix
BAnother matrix
Returns
Error code on failure

Definition at line 1195 of file blas.hpp.

References gsl::complex_float::get(), and gsl::matrix_complex_float::get().

◆ ctrmv()

int gsl::blas::ctrmv ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
matrix_complex_float const &  A,
vector_complex_float X 
)
inline

C++ version of gsl_blas_ctrmv().

Parameters
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
AA matrix
XA vector
Returns
Error code on failure

Definition at line 664 of file blas.hpp.

References gsl::matrix_complex_float::get(), and gsl::vector_complex_float::get().

◆ ctrsm()

int gsl::blas::ctrsm ( CBLAS_SIDE_t  Side,
CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
complex_float const &  alpha,
matrix_complex_float const &  A,
matrix_complex_float B 
)
inline

C++ version of gsl_blas_ctrsm().

Parameters
SideSide to apply operation to
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
alphaA constant
AA matrix
BAnother matrix
Returns
Error code on failure

Definition at line 1211 of file blas.hpp.

References gsl::complex_float::get(), and gsl::matrix_complex_float::get().

◆ ctrsv()

int gsl::blas::ctrsv ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
matrix_complex_float const &  A,
vector_complex_float X 
)
inline

C++ version of gsl_blas_ctrsv().

Parameters
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
AA matrix
XA vector
Returns
Error code on failure

Definition at line 677 of file blas.hpp.

References gsl::matrix_complex_float::get(), and gsl::vector_complex_float::get().

◆ dasum()

double gsl::blas::dasum ( vector const &  X)
inline

C++ version of gsl_blas_dasum().

Parameters
XA vector
Returns
The absolute sum of the elements

Definition at line 184 of file blas.hpp.

References gsl::vector::get().

◆ daxpy()

int gsl::blas::daxpy ( double  alpha,
vector const &  X,
vector Y 
)
inline

C++ version of gsl_blas_daxpy().

Parameters
alphaA constant
XA vector
YA vector
Returns
Error code on failure

Definition at line 291 of file blas.hpp.

References gsl::vector::get().

◆ dcopy()

int gsl::blas::dcopy ( vector const &  X,
vector Y 
)
inline

C++ version of gsl_blas_dcopy().

Parameters
XA vector
YA vector
Returns
Error code on failure

Definition at line 282 of file blas.hpp.

References gsl::vector::get().

◆ ddot()

int gsl::blas::ddot ( vector const &  X,
vector const &  Y,
double &  result 
)
inline

C++ version of gsl_blas_ddot().

Parameters
XFirst vector
YSecond vector
resultVector product
Returns
Error code on failure

Definition at line 112 of file blas.hpp.

◆ dgemm()

int gsl::blas::dgemm ( CBLAS_TRANSPOSE_t  TransA,
CBLAS_TRANSPOSE_t  TransB,
double  alpha,
matrix const &  A,
matrix const &  B,
double  beta,
matrix C 
)
inline

C++ version of gsl_blas_dgemm().

Parameters
TransATranspose type
TransBTranspose type for B
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1044 of file blas.hpp.

References gsl::ran::beta(), and gsl::matrix::get().

◆ dgemv()

int gsl::blas::dgemv ( CBLAS_TRANSPOSE_t  TransA,
double  alpha,
matrix const &  A,
vector const &  X,
double  beta,
vector Y 
)
inline

C++ version of gsl_blas_dgemv().

Parameters
TransATranspose type
alphaA constant
AA matrix
XA vector
betaAnother constant
YA vector
Returns
Error code on failure

Definition at line 610 of file blas.hpp.

References gsl::ran::beta(), gsl::matrix::get(), and gsl::vector::get().

◆ dger()

int gsl::blas::dger ( double  alpha,
vector const &  X,
vector const &  Y,
matrix A 
)
inline

C++ version of gsl_blas_dger().

Parameters
alphaA constant
XA vector
YA vector
AA matrix
Returns
Error code on failure

Definition at line 791 of file blas.hpp.

References gsl::matrix::get(), and gsl::vector::get().

◆ dnrm2()

double gsl::blas::dnrm2 ( vector const &  X)
inline

C++ version of gsl_blas_dnrm2().

Parameters
XA vector
Returns
The Euclidean norm

Definition at line 177 of file blas.hpp.

References gsl::vector::get().

◆ drot()

int gsl::blas::drot ( vector X,
vector Y,
double const  c,
double const  s 
)
inline

C++ version of gsl_blas_drot().

Parameters
XA vector
YA vector
cA constant
sA constant
Returns
Error code on failure

Definition at line 503 of file blas.hpp.

References gsl::vector::get().

◆ drotg() [1/2]

template<typename ARRAY >
int gsl::blas::drotg ( ARRAY &  a,
ARRAY &  b,
ARRAY &  c,
ARRAY &  s 
)
inline

C++ version of gsl_blas_drotg().

You can use gsl_vector or std::vector<double> here.

Parameters
aAn array
bAn array
cAn array
sAn array
Returns
Error code on failure

Definition at line 478 of file blas.hpp.

References gsl::sf::mathieu::a(), and gsl::sf::mathieu::b().

◆ drotg() [2/2]

int gsl::blas::drotg ( double &  a,
double &  b,
double &  c,
double &  s 
)
inline

C++ version of gsl_blas_drotg().

Parameters
aA double
bA double
cA double
sA double
Returns
Error code on failure

Definition at line 453 of file blas.hpp.

References gsl::sf::mathieu::a(), and gsl::sf::mathieu::b().

◆ drotm()

int gsl::blas::drotm ( vector X,
vector Y,
double const  P[] 
)
inline

C++ version of gsl_blas_drotm().

Parameters
XA vector
YA vector
PAn array
Returns
Error code on failure

Definition at line 513 of file blas.hpp.

References gsl::vector::get(), and gsl::sf::ellint::P().

◆ drotmg() [1/2]

template<typename ARRAY >
int gsl::blas::drotmg ( ARRAY &  d1,
ARRAY &  d2,
ARRAY &  b1,
double  b2,
ARRAY &  P 
)
inline

C++ version of gsl_blas_drotmg().

You can use gsl_vector or std::vector<double> here.

Parameters
d1An array
d2An array
b1An array
b2A constant
PAn array
Returns
Error code on failure

Definition at line 492 of file blas.hpp.

References gsl::sf::ellint::P().

◆ drotmg() [2/2]

int gsl::blas::drotmg ( double &  d1,
double &  d2,
double &  b1,
double  b2,
double &  P 
)
inline

C++ version of gsl_blas_drotmg().

Parameters
d1A double
d2A double
b1A double
b2A constant
PA double
Returns
Error code on failure

Definition at line 465 of file blas.hpp.

References gsl::sf::ellint::P().

◆ dscal()

void gsl::blas::dscal ( double  alpha,
vector X 
)
inline

C++ version of gsl_blas_dscal().

Parameters
alphaA constant
XA vector

Definition at line 528 of file blas.hpp.

References gsl::vector::get().

◆ dsdot()

int gsl::blas::dsdot ( vector_float const &  X,
vector_float const &  Y,
double &  result 
)
inline

C++ version of gsl_blas_dsdot().

Parameters
XFirst vector
YSecond vector
resultVector product
Returns
Error code on failure

Definition at line 69 of file blas.hpp.

◆ dswap()

int gsl::blas::dswap ( vector X,
vector Y 
)
inline

C++ version of gsl_blas_dswap().

Parameters
XA vector
YA vector
Returns
Error code on failure

Definition at line 274 of file blas.hpp.

References gsl::vector::get().

◆ dsymm()

int gsl::blas::dsymm ( CBLAS_SIDE_t  Side,
CBLAS_UPLO_t  Uplo,
double  alpha,
matrix const &  A,
matrix const &  B,
double  beta,
matrix C 
)
inline

C++ version of gsl_blas_dsymm().

Parameters
SideSide to apply operation to
UploUpper or lower triangular
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1059 of file blas.hpp.

References gsl::ran::beta(), and gsl::matrix::get().

◆ dsymv()

int gsl::blas::dsymv ( CBLAS_UPLO_t  Uplo,
double  alpha,
matrix const &  A,
vector const &  X,
double  beta,
vector Y 
)
inline

C++ version of gsl_blas_dsymv().

Parameters
UploUpper or lower triangular
alphaA constant
AA matrix
XA vector
betaAnother constant
YA vector
Returns
Error code on failure

Definition at line 779 of file blas.hpp.

References gsl::ran::beta(), gsl::matrix::get(), and gsl::vector::get().

◆ dsyr()

int gsl::blas::dsyr ( CBLAS_UPLO_t  Uplo,
double  alpha,
vector const &  X,
matrix A 
)
inline

C++ version of gsl_blas_dsyr().

Parameters
UploUpper or lower triangular
alphaA constant
XA vector
AA matrix
Returns
Error code on failure

Definition at line 802 of file blas.hpp.

References gsl::matrix::get(), and gsl::vector::get().

◆ dsyr2()

int gsl::blas::dsyr2 ( CBLAS_UPLO_t  Uplo,
double  alpha,
vector const &  X,
vector const &  Y,
matrix A 
)
inline

C++ version of gsl_blas_dsyr2().

Parameters
UploUpper or lower triangular
alphaA constant
XA vector
YA vector
AA matrix
Returns
Error code on failure

Definition at line 814 of file blas.hpp.

References gsl::matrix::get(), and gsl::vector::get().

◆ dsyr2k()

int gsl::blas::dsyr2k ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  Trans,
double  alpha,
matrix const &  A,
matrix const &  B,
double  beta,
matrix C 
)
inline

C++ version of gsl_blas_dsyr2k().

Parameters
UploUpper or lower triangular
TransTranspose type
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1088 of file blas.hpp.

References gsl::ran::beta(), gsl::matrix::get(), and Trans.

◆ dsyrk()

int gsl::blas::dsyrk ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  Trans,
double  alpha,
matrix const &  A,
double  beta,
matrix C 
)
inline

C++ version of gsl_blas_dsyrk().

Parameters
UploUpper or lower triangular
TransTranspose type
alphaA constant
AA matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1073 of file blas.hpp.

References gsl::ran::beta(), gsl::matrix::get(), and Trans.

◆ dtrmm()

int gsl::blas::dtrmm ( CBLAS_SIDE_t  Side,
CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
double  alpha,
matrix const &  A,
matrix B 
)
inline

C++ version of gsl_blas_dtrmm().

Parameters
SideSide to apply operation to
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
alphaA constant
AA matrix
BAnother matrix
Returns
Error code on failure

Definition at line 1103 of file blas.hpp.

References gsl::matrix::get().

◆ dtrmv()

int gsl::blas::dtrmv ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
matrix const &  A,
vector X 
)
inline

C++ version of gsl_blas_dtrmv().

Parameters
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
AA matrix
XA vector
Returns
Error code on failure

Definition at line 623 of file blas.hpp.

References gsl::matrix::get(), and gsl::vector::get().

◆ dtrsm()

int gsl::blas::dtrsm ( CBLAS_SIDE_t  Side,
CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
double  alpha,
matrix const &  A,
matrix B 
)
inline

C++ version of gsl_blas_dtrsm().

Parameters
SideSide to apply operation to
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
alphaA constant
AA matrix
BAnother matrix
Returns
Error code on failure

Definition at line 1118 of file blas.hpp.

References gsl::matrix::get().

◆ dtrsv()

int gsl::blas::dtrsv ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
matrix const &  A,
vector X 
)
inline

C++ version of gsl_blas_dtrsv().

Parameters
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
AA matrix
XA vector
Returns
Error code on failure

Definition at line 636 of file blas.hpp.

References gsl::matrix::get(), and gsl::vector::get().

◆ dzasum()

double gsl::blas::dzasum ( vector_complex const &  X)
inline

C++ version of gsl_blas_dzasum().

Parameters
XA vector
Returns
The absolute sum of the elements

Definition at line 212 of file blas.hpp.

References gsl::vector_complex::get().

◆ dznrm2()

double gsl::blas::dznrm2 ( vector_complex const &  X)
inline

C++ version of gsl_blas_dznrm2().

Parameters
XA vector
Returns
The Euclidean norm

Definition at line 205 of file blas.hpp.

References gsl::vector_complex::get().

◆ icamax()

CBLAS_INDEX_t gsl::blas::icamax ( vector_complex_float const &  X)
inline

C++ version of gsl_blas_icamax().

Parameters
XA vector
Returns
Index of largest-magnitude element

Definition at line 233 of file blas.hpp.

References gsl::vector_complex_float::get().

◆ idamax()

CBLAS_INDEX_t gsl::blas::idamax ( vector const &  X)
inline

C++ version of gsl_blas_idamax().

Parameters
XA vector
Returns
Index of largest-magnitude element

Definition at line 226 of file blas.hpp.

References gsl::vector::get().

◆ isamax()

CBLAS_INDEX_t gsl::blas::isamax ( vector_float const &  X)
inline

C++ version of gsl_blas_isamax().

Parameters
XA vector
Returns
Index of the largest-magnitude element

Definition at line 219 of file blas.hpp.

References gsl::vector_float::get().

◆ izamax()

CBLAS_INDEX_t gsl::blas::izamax ( vector_complex const &  X)
inline

C++ version of gsl_blas_izamax().

Parameters
XA vector
Returns
Index of largest-magnitude element

Definition at line 240 of file blas.hpp.

References gsl::vector_complex::get().

◆ sasum()

float gsl::blas::sasum ( vector_float const &  X)
inline

C++ version of gsl_blas_sasum().

Parameters
XA vector
Returns
The absolute sum of the elements

Definition at line 170 of file blas.hpp.

References gsl::vector_float::get().

◆ saxpy()

int gsl::blas::saxpy ( float  alpha,
vector_float const &  X,
vector_float Y 
)
inline

C++ version of gsl_blas_saxpy().

Parameters
alphaA vector
XA vector
YA vector
Returns
Error code on failure

Definition at line 265 of file blas.hpp.

References gsl::vector_float::get().

◆ scasum()

float gsl::blas::scasum ( vector_complex_float const &  X)
inline

C++ version of gsl_blas_scasum().

Parameters
XA vector
Returns
The absolute sum of the elements

Definition at line 198 of file blas.hpp.

References gsl::vector_complex_float::get().

◆ scnrm2()

float gsl::blas::scnrm2 ( vector_complex_float const &  X)
inline

C++ version of gsl_blas_scnrm2().

Parameters
XA vector
Returns
The Euclidean norm

Definition at line 191 of file blas.hpp.

References gsl::vector_complex_float::get().

◆ scopy()

int gsl::blas::scopy ( vector_float const &  X,
vector_float Y 
)
inline

C++ version of gsl_blas_scopy().

Parameters
XA vector
YA vector
Returns
Error code on failure

Definition at line 256 of file blas.hpp.

References gsl::vector_float::get().

◆ sdot()

int gsl::blas::sdot ( vector_float const &  X,
vector_float const &  Y,
float &  result 
)
inline

C++ version of gsl_blas_sdot().

Parameters
XFirst vector
YSecond vector
resultVector product
Returns
Error code on failure

Definition at line 91 of file blas.hpp.

◆ sgemm()

int gsl::blas::sgemm ( CBLAS_TRANSPOSE_t  TransA,
CBLAS_TRANSPOSE_t  TransB,
float  alpha,
matrix_float const &  A,
matrix_float const &  B,
float  beta,
matrix_float C 
)
inline

C++ version of gsl_blas_sgemm().

Parameters
TransATranspose type
TransBTranspose type for B
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 955 of file blas.hpp.

References gsl::ran::beta(), and gsl::matrix_float::get().

◆ sgemv()

int gsl::blas::sgemv ( CBLAS_TRANSPOSE_t  TransA,
float  alpha,
matrix_float const &  A,
vector_float const &  X,
float  beta,
vector_float Y 
)
inline

C++ version of gsl_blas_sgemv().

Parameters
TransATranspose type
alphaA constant
AA matrix
XA vector
betaAnother constant
YA vector
Returns
Error code on failure

Definition at line 569 of file blas.hpp.

References gsl::ran::beta(), gsl::matrix_float::get(), and gsl::vector_float::get().

◆ sger()

int gsl::blas::sger ( float  alpha,
vector_float const &  X,
vector_float const &  Y,
matrix_float A 
)
inline

C++ version of gsl_blas_sger().

Parameters
alphaA constant
XA vector
YA vector
AA matrix
Returns
Error code on failure

Definition at line 743 of file blas.hpp.

References gsl::matrix_float::get(), and gsl::vector_float::get().

◆ snrm2()

float gsl::blas::snrm2 ( vector_float const &  X)
inline

C++ version of gsl_blas_snrm2().

Parameters
XA vector
Returns
The Euclidean norm

Definition at line 163 of file blas.hpp.

References gsl::vector_float::get().

◆ srot()

int gsl::blas::srot ( vector_float X,
vector_float Y,
float  c,
float  s 
)
inline

C++ version of gsl_blas_srot().

Parameters
XA vector
YA vector
cA constant
sA constant
Returns
Error code on failure

Definition at line 406 of file blas.hpp.

References gsl::vector_float::get().

◆ srotg()

int gsl::blas::srotg ( float &  a,
float &  b,
float &  c,
float &  s 
)
inline

C++ version of gsl_blas_srotg().

Parameters
aA float
bA float
cA float
sA float
Returns
Error code on failure

Definition at line 383 of file blas.hpp.

References gsl::sf::mathieu::a(), and gsl::sf::mathieu::b().

◆ srotm()

int gsl::blas::srotm ( vector_float X,
vector_float Y,
float const  P[] 
)
inline

C++ version of gsl_blas_srotm().

Parameters
XA vector
YA vector
PAn array
Returns
Error code on failure

Definition at line 417 of file blas.hpp.

References gsl::vector_float::get(), and gsl::sf::ellint::P().

◆ srotmg()

int gsl::blas::srotmg ( float &  d1,
float &  d2,
float &  b1,
float  b2,
float &  P 
)
inline

C++ version of gsl_blas_srotmg().

Parameters
d1A float
d2A float
b1A float
b2A constant
PA float
Returns
Error code on failure

Definition at line 395 of file blas.hpp.

References gsl::sf::ellint::P().

◆ sscal()

void gsl::blas::sscal ( float  alpha,
vector_float X 
)
inline

C++ version of gsl_blas_sscal().

Parameters
alphaA constant
XA vector

Definition at line 521 of file blas.hpp.

References gsl::vector_float::get().

◆ sswap()

int gsl::blas::sswap ( vector_float X,
vector_float Y 
)
inline

C++ version of gsl_blas_sswap().

Parameters
XA vector
YA vector
Returns
Error code on failure

Definition at line 248 of file blas.hpp.

References gsl::vector_float::get().

◆ ssymm()

int gsl::blas::ssymm ( CBLAS_SIDE_t  Side,
CBLAS_UPLO_t  Uplo,
float  alpha,
matrix_float const &  A,
matrix_float const &  B,
float  beta,
matrix_float C 
)
inline

C++ version of gsl_blas_ssymm().

Parameters
SideSide to apply operation to
UploUpper or lower triangular
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 970 of file blas.hpp.

References gsl::ran::beta(), and gsl::matrix_float::get().

◆ ssymv()

int gsl::blas::ssymv ( CBLAS_UPLO_t  Uplo,
float  alpha,
matrix_float const &  A,
vector_float const &  X,
float  beta,
vector_float Y 
)
inline

C++ version of gsl_blas_ssymv().

Parameters
UploUpper or lower triangular
alphaA constant
AA matrix
XA vector
betaAnother constant
YA vector
Returns
Error code on failure

Definition at line 731 of file blas.hpp.

References gsl::ran::beta(), gsl::matrix_float::get(), and gsl::vector_float::get().

◆ ssyr()

int gsl::blas::ssyr ( CBLAS_UPLO_t  Uplo,
float  alpha,
vector_float const &  X,
matrix_float A 
)
inline

C++ version of gsl_blas_ssyr().

Parameters
UploUpper or lower triangular
alphaA constant
XA vector
AA matrix
Returns
Error code on failure

Definition at line 754 of file blas.hpp.

References gsl::matrix_float::get(), and gsl::vector_float::get().

◆ ssyr2()

int gsl::blas::ssyr2 ( CBLAS_UPLO_t  Uplo,
float  alpha,
vector_float const &  X,
vector_float const &  Y,
matrix_float A 
)
inline

C++ version of gsl_blas_ssyr2().

Parameters
UploUpper or lower triangular
alphaA constant
XA vector
YA vector
AA matrix
Returns
Error code on failure

Definition at line 766 of file blas.hpp.

References gsl::matrix_float::get(), and gsl::vector_float::get().

◆ ssyr2k()

int gsl::blas::ssyr2k ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  Trans,
float  alpha,
matrix_float const &  A,
matrix_float const &  B,
float  beta,
matrix_float C 
)
inline

C++ version of gsl_blas_ssyr2k().

Parameters
UploUpper or lower triangular
TransTranspose type
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 999 of file blas.hpp.

References gsl::ran::beta(), gsl::matrix_float::get(), and Trans.

◆ ssyrk()

int gsl::blas::ssyrk ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  Trans,
float  alpha,
matrix_float const &  A,
float  beta,
matrix_float C 
)
inline

C++ version of gsl_blas_ssyrk().

Parameters
UploUpper or lower triangular
TransTranspose type
alphaA constant
AA matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 984 of file blas.hpp.

References gsl::ran::beta(), gsl::matrix_float::get(), and Trans.

◆ strmm()

int gsl::blas::strmm ( CBLAS_SIDE_t  Side,
CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
float  alpha,
matrix_float const &  A,
matrix_float B 
)
inline

C++ version of gsl_blas_strmm().

Parameters
SideSide to apply operation to
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
alphaA constant
AA matrix
BAnother matrix
Returns
Error code on failure

Definition at line 1014 of file blas.hpp.

References gsl::matrix_float::get().

◆ strmv()

int gsl::blas::strmv ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
matrix_float const &  A,
vector_float X 
)
inline

C++ version of gsl_blas_strmv().

Parameters
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
AA matrix
XA vector
Returns
Error code on failure

Definition at line 583 of file blas.hpp.

References gsl::matrix_float::get(), and gsl::vector_float::get().

◆ strsm()

int gsl::blas::strsm ( CBLAS_SIDE_t  Side,
CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
float  alpha,
matrix_float const &  A,
matrix_float B 
)
inline

C++ version of gsl_blas_strsm().

Parameters
SideSide to apply operation to
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
alphaA constant
AA matrix
BAnother matrix
Returns
Error code on failure

Definition at line 1029 of file blas.hpp.

References gsl::matrix_float::get().

◆ strsv()

int gsl::blas::strsv ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
matrix_float const &  A,
vector_float X 
)
inline

C++ version of gsl_blas_strsv().

Parameters
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
AA matrix
XA vector
Returns
Error code on failure

Definition at line 596 of file blas.hpp.

References gsl::matrix_float::get(), and gsl::vector_float::get().

◆ zaxpy()

int gsl::blas::zaxpy ( complex const &  alpha,
vector_complex const &  X,
vector_complex Y 
)
inline

C++ version of gsl_blas_zaxpy().

Parameters
alphaA constant
XA vector
YA vector
Returns
Error code on failure

Definition at line 347 of file blas.hpp.

References gsl::complex::get(), and gsl::vector_complex::get().

◆ zcopy()

int gsl::blas::zcopy ( vector_complex const &  X,
vector_complex Y 
)
inline

C++ version of gsl_blas_zcopy().

Parameters
XA vector
YA vector
Returns
Error code on failure

Definition at line 337 of file blas.hpp.

References gsl::vector_complex::get().

◆ zdotc()

int gsl::blas::zdotc ( vector_complex const &  X,
vector_complex const &  Y,
complex dotc 
)
inline

C++ version of gsl_blas_zdotc().

Parameters
XFirst vector
YSecond vector
dotcVector product
Returns
Error code on failure

Definition at line 155 of file blas.hpp.

References gsl::complex::get(), and gsl::vector_complex::get().

◆ zdotu()

int gsl::blas::zdotu ( vector_complex const &  X,
vector_complex const &  Y,
complex dotu 
)
inline

C++ version of gsl_blas_zdotu().

Parameters
XFirst vector
YSecond vector
dotuVector product
Returns
Error code on failure

Definition at line 145 of file blas.hpp.

References gsl::complex::get(), and gsl::vector_complex::get().

◆ zdscal()

void gsl::blas::zdscal ( double  alpha,
vector_complex X 
)
inline

C++ version of gsl_blas_zdscal().

Parameters
alphaA constant
XA vector

Definition at line 557 of file blas.hpp.

References gsl::vector_complex::get().

◆ zgemm()

int gsl::blas::zgemm ( CBLAS_TRANSPOSE_t  TransA,
CBLAS_TRANSPOSE_t  TransB,
complex const &  alpha,
matrix_complex const &  A,
matrix_complex const &  B,
complex const &  beta,
matrix_complex C 
)
inline

C++ version of gsl_blas_zgemm().

Parameters
TransATranspose type
TransBTranspose type for B
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1227 of file blas.hpp.

References gsl::ran::beta(), gsl::complex::get(), and gsl::matrix_complex::get().

◆ zgemv()

int gsl::blas::zgemv ( CBLAS_TRANSPOSE_t  TransA,
complex const &  alpha,
matrix_complex const &  A,
vector_complex const &  X,
complex const &  beta,
vector_complex Y 
)
inline

C++ version of gsl_blas_zgemv().

Parameters
TransATranspose type
alphaA constant
AA matrix
XA vector
betaAnother constant
YA vector
Returns
Error code on failure

Definition at line 691 of file blas.hpp.

References gsl::ran::beta(), gsl::complex::get(), gsl::matrix_complex::get(), and gsl::vector_complex::get().

◆ zgerc()

int gsl::blas::zgerc ( complex const &  alpha,
vector_complex const &  X,
vector_complex const &  Y,
matrix_complex A 
)
inline

C++ version of gsl_blas_zgerc().

Parameters
alphaA constant
XA vector
YA vector
AA matrix
Returns
Error code on failure

Definition at line 915 of file blas.hpp.

References gsl::complex::get(), gsl::matrix_complex::get(), and gsl::vector_complex::get().

◆ zgeru()

int gsl::blas::zgeru ( complex const &  alpha,
vector_complex const &  X,
vector_complex const &  Y,
matrix_complex A 
)
inline

C++ version of gsl_blas_zgeru().

Parameters
alphaA constant
XA vector
YA vector
AA matrix
Returns
Error code on failure

Definition at line 903 of file blas.hpp.

References gsl::complex::get(), gsl::matrix_complex::get(), and gsl::vector_complex::get().

◆ zhemm()

int gsl::blas::zhemm ( CBLAS_SIDE_t  Side,
CBLAS_UPLO_t  Uplo,
complex const &  alpha,
matrix_complex const &  A,
matrix_complex const &  B,
complex const &  beta,
matrix_complex C 
)
inline

C++ version of gsl_blas_zhemm().

Parameters
SideSide to apply operation to
UploUpper or lower triangular
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1367 of file blas.hpp.

References gsl::ran::beta(), gsl::complex::get(), and gsl::matrix_complex::get().

◆ zhemv()

int gsl::blas::zhemv ( CBLAS_UPLO_t  Uplo,
complex const &  alpha,
matrix_complex const &  A,
vector_complex const &  X,
complex const &  beta,
vector_complex Y 
)
inline

C++ version of gsl_blas_zhemv().

Parameters
UploUpper or lower triangular
alphaA constant
AA matrix
XA vector
betaAnother constant
YA vector
Returns
Error code on failure

Definition at line 891 of file blas.hpp.

References gsl::ran::beta(), gsl::complex::get(), gsl::matrix_complex::get(), and gsl::vector_complex::get().

◆ zher()

int gsl::blas::zher ( CBLAS_UPLO_t  Uplo,
double  alpha,
vector_complex const &  X,
matrix_complex A 
)
inline

C++ version of gsl_blas_zher().

Parameters
UploUpper or lower triangular
alphaA constant
XA vector
AA matrix
Returns
Error code on failure

Definition at line 927 of file blas.hpp.

References gsl::matrix_complex::get(), and gsl::vector_complex::get().

◆ zher2()

int gsl::blas::zher2 ( CBLAS_UPLO_t  Uplo,
complex const  alpha,
vector_complex const &  X,
vector_complex const &  Y,
matrix_complex A 
)
inline

C++ version of gsl_blas_zher2().

Parameters
UploUpper or lower triangular
alphaA constant
XA vector
YA vector
AA matrix
Returns
Error code on failure

Definition at line 940 of file blas.hpp.

References gsl::complex::get(), gsl::matrix_complex::get(), and gsl::vector_complex::get().

◆ zher2k()

int gsl::blas::zher2k ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  Trans,
complex const &  alpha,
matrix_complex const &  A,
matrix_complex const &  B,
double  beta,
matrix_complex C 
)
inline

C++ version of gsl_blas_zher2k().

Parameters
UploUpper or lower triangular
TransTranspose type
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1397 of file blas.hpp.

References gsl::ran::beta(), gsl::complex::get(), gsl::matrix_complex::get(), and Trans.

◆ zherk()

int gsl::blas::zherk ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  Trans,
double  alpha,
matrix_complex const &  A,
double  beta,
matrix_complex C 
)
inline

C++ version of gsl_blas_zherk().

Parameters
UploUpper or lower triangular
TransTranspose type
alphaA constant
AA matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1382 of file blas.hpp.

References gsl::ran::beta(), gsl::matrix_complex::get(), and Trans.

◆ zscal()

void gsl::blas::zscal ( complex const &  alpha,
vector_complex X 
)
inline

C++ version of gsl_blas_zscal().

Parameters
alphaA constant
XA vector

Definition at line 543 of file blas.hpp.

References gsl::complex::get(), and gsl::vector_complex::get().

◆ zswap()

int gsl::blas::zswap ( vector_complex X,
vector_complex Y 
)
inline

C++ version of gsl_blas_zswap().

Parameters
XA vector
YA vector
Returns
Error code on failure

Definition at line 328 of file blas.hpp.

References gsl::vector_complex::get().

◆ zsymm()

int gsl::blas::zsymm ( CBLAS_SIDE_t  Side,
CBLAS_UPLO_t  Uplo,
complex const &  alpha,
matrix_complex const &  A,
matrix_complex const &  B,
complex const &  beta,
matrix_complex C 
)
inline

C++ version of gsl_blas_zsymm().

Parameters
SideSide to apply operation to
UploUpper or lower triangular
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1243 of file blas.hpp.

References gsl::ran::beta(), gsl::complex::get(), and gsl::matrix_complex::get().

◆ zsyr2k()

int gsl::blas::zsyr2k ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  Trans,
complex const &  alpha,
matrix_complex const &  A,
matrix_complex const &  B,
complex const &  beta,
matrix_complex C 
)
inline

C++ version of gsl_blas_zsyr2k().

Parameters
UploUpper or lower triangular
TransTranspose type
alphaA constant
AA matrix
BAnother matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1273 of file blas.hpp.

References gsl::ran::beta(), gsl::complex::get(), gsl::matrix_complex::get(), and Trans.

◆ zsyrk()

int gsl::blas::zsyrk ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  Trans,
complex const &  alpha,
matrix_complex const &  A,
complex const &  beta,
matrix_complex C 
)
inline

C++ version of gsl_blas_zsyrk().

Parameters
UploUpper or lower triangular
TransTranspose type
alphaA constant
AA matrix
betaAnother constant
CAnother matrix
Returns
Error code on failure

Definition at line 1258 of file blas.hpp.

References gsl::ran::beta(), gsl::complex::get(), gsl::matrix_complex::get(), and Trans.

◆ ztrmm()

int gsl::blas::ztrmm ( CBLAS_SIDE_t  Side,
CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
complex const &  alpha,
matrix_complex const &  A,
matrix_complex B 
)
inline

C++ version of gsl_blas_ztrmm().

Parameters
SideSide to apply operation to
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
alphaA constant
AA matrix
BAnother matrix
Returns
Error code on failure

Definition at line 1289 of file blas.hpp.

References gsl::complex::get(), and gsl::matrix_complex::get().

◆ ztrmv()

int gsl::blas::ztrmv ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
matrix_complex const &  A,
vector_complex X 
)
inline

C++ version of gsl_blas_ztrmv().

Parameters
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
AA matrix
XA vector
Returns
Error code on failure

Definition at line 704 of file blas.hpp.

References gsl::matrix_complex::get(), and gsl::vector_complex::get().

◆ ztrsm()

int gsl::blas::ztrsm ( CBLAS_SIDE_t  Side,
CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
complex const &  alpha,
matrix_complex const &  A,
matrix_complex B 
)
inline

C++ version of gsl_blas_ztrsm().

Parameters
SideSide to apply operation to
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
alphaA constant
AA matrix
BAnother matrix
Returns
Error code on failure

Definition at line 1305 of file blas.hpp.

References gsl::complex::get(), and gsl::matrix_complex::get().

◆ ztrsv()

int gsl::blas::ztrsv ( CBLAS_UPLO_t  Uplo,
CBLAS_TRANSPOSE_t  TransA,
CBLAS_DIAG_t  Diag,
matrix_complex const &  A,
vector_complex X 
)
inline

C++ version of gsl_blas_ztrsv().

Parameters
UploUpper or lower triangular
TransATranspose type
DiagDiagonal type
AA matrix
XA vector
Returns
Error code on failure

Definition at line 717 of file blas.hpp.

References gsl::matrix_complex::get(), and gsl::vector_complex::get().

Variable Documentation

◆ ConjTrans

CBLAS_TRANSPOSE_t const gsl::blas::ConjTrans = CblasConjTrans

Hermitian transpose.

Definition at line 41 of file blas.hpp.

◆ Left

CBLAS_SIDE_t const gsl::blas::Left = CblasLeft

Apply to left matrix.

Definition at line 46 of file blas.hpp.

◆ Lower

CBLAS_UPLO_t const gsl::blas::Lower = CblasLower

Lower triangular.

Definition at line 43 of file blas.hpp.

◆ NonUnit

CBLAS_DIAG_t const gsl::blas::NonUnit = CblasNonUnit

Non unit diagonal.

Definition at line 44 of file blas.hpp.

◆ NoTrans

CBLAS_TRANSPOSE_t const gsl::blas::NoTrans = CblasNoTrans

No transpose.

Definition at line 39 of file blas.hpp.

◆ Right

CBLAS_SIDE_t const gsl::blas::Right = CblasRight

Apply to right matrix.

Definition at line 47 of file blas.hpp.

◆ Trans

CBLAS_TRANSPOSE_t const gsl::blas::Trans = CblasTrans

Transpose.

Definition at line 40 of file blas.hpp.

Referenced by cher2k(), cherk(), csyr2k(), csyrk(), dsyr2k(), dsyrk(), ssyr2k(), ssyrk(), zher2k(), zherk(), zsyr2k(), and zsyrk().

◆ Unit

CBLAS_DIAG_t const gsl::blas::Unit = CblasUnit

Unit diagonal.

Definition at line 45 of file blas.hpp.

◆ Upper

CBLAS_UPLO_t const gsl::blas::Upper = CblasUpper

Upper triangular.

Definition at line 42 of file blas.hpp.