Skip to main content
`Ctrl`+`K`

# BLAS Functions for Cython

Usable from Cython via:

    cimport scipy.linalg.cython_blas

These wrappers do not check for alignment of arrays. Alignment should be checked before these wrappers are used.

If using `cdotu`, `cdotc`, `zdotu`, `zdotc`, `sladiv`, or `dladiv`, the `CYTHON_CCOMPLEX` define must be set to 0 during compilation. For example, in a `meson.build` file when using Meson:

    py.extension_module('ext_module'
        'ext_module.pyx',
        c_args: ['-DCYTHON_CCOMPLEX=0'],
        ...
    )

Raw function pointers (Fortran-style pointer arguments):

- caxpy

- ccopy

- cdotc

- cdotu

- cgbmv

- cgemm

- cgemv

- cgerc

- cgeru

- chbmv

- chemm

- chemv

- cher

- cher2

- cher2k

- cherk

- chpmv

- chpr

- chpr2

- crotg

- cscal

- csrot

- csscal

- cswap

- csymm

- csyr2k

- csyrk

- ctbmv

- ctbsv

- ctpmv

- ctpsv

- ctrmm

- ctrmv

- ctrsm

- ctrsv

- dasum

- daxpy

- dcabs1

- dcopy

- ddot

- dgbmv

- dgemm

- dgemv

- dger

- dnrm2

- drot

- drotg

- drotm

- drotmg

- dsbmv

- dscal

- dsdot

- dspmv

- dspr

- dspr2

- dswap

- dsymm

- dsymv

- dsyr

- dsyr2

- dsyr2k

- dsyrk

- dtbmv

- dtbsv

- dtpmv

- dtpsv

- dtrmm

- dtrmv

- dtrsm

- dtrsv

- dzasum

- dznrm2

- icamax

- idamax

- isamax

- izamax

- lsame

- sasum

- saxpy

- scasum

- scnrm2

- scopy

- sdot

- sdsdot

- sgbmv

- sgemm

- sgemv

- sger

- snrm2

- srot

- srotg

- srotm

- srotmg

- ssbmv

- sscal

- sspmv

- sspr

- sspr2

- sswap

- ssymm

- ssymv

- ssyr

- ssyr2

- ssyr2k

- ssyrk

- stbmv

- stbsv

- stpmv

- stpsv

- strmm

- strmv

- strsm

- strsv

- zaxpy

- zcopy

- zdotc

- zdotu

- zdrot

- zdscal

- zgbmv

- zgemm

- zgemv

- zgerc

- zgeru

- zhbmv

- zhemm

- zhemv

- zher

- zher2

- zher2k

- zherk

- zhpmv

- zhpr

- zhpr2

- zrotg

- zscal

- zswap

- zsymm

- zsyr2k

- zsyrk

- ztbmv

- ztbsv

- ztpmv

- ztpsv

- ztrmm

- ztrmv

- ztrsm

- ztrsv