Skip to main content
`Ctrl`+`K`

# LAPACK functions for Cython

Usable from Cython via:

    cimport scipy.linalg.cython_lapack

This module provides Cython-level wrappers for all primary routines included in LAPACK 3.4.0 except for `zcgesv` since its interface is not consistent from LAPACK 3.4.0 to 3.6.0. It also provides some of the fixed-api auxiliary routines.

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

Raw function pointers (Fortran-style pointer arguments):

- cbbcsd

- cbdsqr

- cgbbrd

- cgbcon

- cgbequ

- cgbequb

- cgbrfs

- cgbsv

- cgbsvx

- cgbtf2

- cgbtrf

- cgbtrs

- cgebak

- cgebal

- cgebd2

- cgebrd

- cgecon

- cgeequ

- cgeequb

- cgees

- cgeesx

- cgeev

- cgeevx

- cgehd2

- cgehrd

- cgelq2

- cgelqf

- cgels

- cgelsd

- cgelss

- cgelsy

- cgemqrt

- cgeql2

- cgeqlf

- cgeqp3

- cgeqr2

- cgeqr2p

- cgeqrf

- cgeqrfp

- cgeqrt

- cgeqrt2

- cgeqrt3

- cgerfs

- cgerq2

- cgerqf

- cgesc2

- cgesdd

- cgesv

- cgesvd

- cgesvx

- cgetc2

- cgetf2

- cgetrf

- cgetri

- cgetrs

- cggbak

- cggbal

- cgges

- cggesx

- cggev

- cggevx

- cggglm

- cgghrd

- cgglse

- cggqrf

- cggrqf

- cgtcon

- cgtrfs

- cgtsv

- cgtsvx

- cgttrf

- cgttrs

- cgtts2

- chbev

- chbevd

- chbevx

- chbgst

- chbgv

- chbgvd

- chbgvx

- chbtrd

- checon

- cheequb

- cheev

- cheevd

- cheevr

- cheevx

- chegs2

- chegst

- chegv

- chegvd

- chegvx

- cherfs

- chesv

- chesvx

- cheswapr

- chetd2

- chetf2

- chetrd

- chetrf

- chetri

- chetri2

- chetri2x

- chetrs

- chetrs2

- chfrk

- chgeqz

- chla_transtype

- chpcon

- chpev

- chpevd

- chpevx

- chpgst

- chpgv

- chpgvd

- chpgvx

- chprfs

- chpsv

- chpsvx

- chptrd

- chptrf

- chptri

- chptrs

- chsein

- chseqr

- clabrd

- clacgv

- clacn2

- clacon

- clacp2

- clacpy

- clacrm

- clacrt

- cladiv

- claed0

- claed7

- claed8

- claein

- claesy

- claev2

- clag2z

- clags2

- clagtm

- clahef

- clahqr

- clahr2

- claic1

- clals0

- clalsa

- clalsd

- clangb

- clange

- clangt

- clanhb

- clanhe

- clanhf

- clanhp

- clanhs

- clanht

- clansb

- clansp

- clansy

- clantb

- clantp

- clantr

- clapll

- clapmr

- clapmt

- claqgb

- claqge

- claqhb

- claqhe

- claqhp

- claqp2

- claqps

- claqr0

- claqr1

- claqr2

- claqr3

- claqr4

- claqr5

- claqsb

- claqsp

- claqsy

- clar1v

- clar2v

- clarcm

- clarf

- clarfb

- clarfg

- clarfgp

- clarft

- clarfx

- clargv

- clarnv

- clarrv

- clartg

- clartv

- clarz

- clarzb

- clarzt

- clascl

- claset

- clasr

- classq

- claswp

- clasyf

- clatbs

- clatdf

- clatps

- clatrd

- clatrs

- clatrz

- clauu2

- clauum

- cpbcon

- cpbequ

- cpbrfs

- cpbstf

- cpbsv

- cpbsvx

- cpbtf2

- cpbtrf

- cpbtrs

- cpftrf

- cpftri

- cpftrs

- cpocon

- cpoequ

- cpoequb

- cporfs

- cposv

- cposvx

- cpotf2

- cpotrf

- cpotri

- cpotrs

- cppcon

- cppequ

- cpprfs

- cppsv

- cppsvx

- cpptrf

- cpptri

- cpptrs

- cpstf2

- cpstrf

- cptcon

- cpteqr

- cptrfs

- cptsv

- cptsvx

- cpttrf

- cpttrs

- cptts2

- crot

- cspcon

- cspmv

- cspr

- csprfs

- cspsv

- cspsvx

- csptrf

- csptri

- csptrs

- csrscl

- cstedc

- cstegr

- cstein

- cstemr

- csteqr

- csycon

- csyconv

- csyequb

- csymv

- csyr

- csyrfs

- csysv

- csysvx

- csyswapr

- csytf2

- csytrf

- csytri

- csytri2

- csytri2x

- csytrs

- csytrs2

- ctbcon

- ctbrfs

- ctbtrs

- ctfsm

- ctftri

- ctfttp

- ctfttr

- ctgevc

- ctgex2

- ctgexc

- ctgsen

- ctgsja

- ctgsna

- ctgsy2

- ctgsyl

- ctpcon

- ctpmqrt

- ctpqrt

- ctpqrt2

- ctprfb

- ctprfs

- ctptri

- ctptrs

- ctpttf

- ctpttr

- ctrcon

- ctrevc

- ctrexc

- ctrrfs

- ctrsen

- ctrsna

- ctrsyl

- ctrti2

- ctrtri

- ctrtrs

- ctrttf

- ctrttp

- ctzrzf

- cunbdb

- cuncsd

- cung2l

- cung2r

- cungbr

- cunghr

- cungl2

- cunglq

- cungql

- cungqr

- cungr2

- cungrq

- cungtr

- cunm2l

- cunm2r

- cunmbr

- cunmhr

- cunml2

- cunmlq

- cunmql

- cunmqr

- cunmr2

- cunmr3

- cunmrq

- cunmrz

- cunmtr

- cupgtr

- cupmtr

- dbbcsd

- dbdsdc

- dbdsqr

- ddisna

- dgbbrd

- dgbcon

- dgbequ

- dgbequb

- dgbrfs

- dgbsv

- dgbsvx

- dgbtf2

- dgbtrf

- dgbtrs

- dgebak

- dgebal

- dgebd2

- dgebrd

- dgecon

- dgeequ

- dgeequb

- dgees

- dgeesx

- dgeev

- dgeevx

- dgehd2

- dgehrd

- dgejsv

- dgelq2

- dgelqf

- dgels

- dgelsd

- dgelss

- dgelsy

- dgemqrt

- dgeql2

- dgeqlf

- dgeqp3

- dgeqr2

- dgeqr2p

- dgeqrf

- dgeqrfp

- dgeqrt

- dgeqrt2

- dgeqrt3

- dgerfs

- dgerq2

- dgerqf

- dgesc2

- dgesdd

- dgesv

- dgesvd

- dgesvj

- dgesvx

- dgetc2

- dgetf2

- dgetrf

- dgetri

- dgetrs

- dggbak

- dggbal

- dgges

- dggesx

- dggev

- dggevx

- dggglm

- dgghrd

- dgglse

- dggqrf

- dggrqf

- dgsvj0

- dgsvj1

- dgtcon

- dgtrfs

- dgtsv

- dgtsvx

- dgttrf

- dgttrs

- dgtts2

- dhgeqz

- dhsein

- dhseqr

- disnan

- dlabad

- dlabrd

- dlacn2

- dlacon

- dlacpy

- dladiv

- dlae2

- dlaebz

- dlaed0

- dlaed1

- dlaed2

- dlaed3

- dlaed4

- dlaed5

- dlaed6

- dlaed7

- dlaed8

- dlaed9

- dlaeda

- dlaein

- dlaev2

- dlaexc

- dlag2

- dlag2s

- dlags2

- dlagtf

- dlagtm

- dlagts

- dlagv2

- dlahqr

- dlahr2

- dlaic1

- dlaln2

- dlals0

- dlalsa

- dlalsd

- dlamch

- dlamrg

- dlaneg

- dlangb

- dlange

- dlangt

- dlanhs

- dlansb

- dlansf

- dlansp

- dlanst

- dlansy

- dlantb

- dlantp

- dlantr

- dlanv2

- dlapll

- dlapmr

- dlapmt

- dlapy2

- dlapy3

- dlaqgb

- dlaqge

- dlaqp2

- dlaqps

- dlaqr0

- dlaqr1

- dlaqr2

- dlaqr3

- dlaqr4

- dlaqr5

- dlaqsb

- dlaqsp

- dlaqsy

- dlaqtr

- dlar1v

- dlar2v

- dlarf

- dlarfb

- dlarfg

- dlarfgp

- dlarft

- dlarfx

- dlargv

- dlarnv

- dlarra

- dlarrb

- dlarrc

- dlarrd

- dlarre

- dlarrf

- dlarrj

- dlarrk

- dlarrr

- dlarrv

- dlartg

- dlartgp

- dlartgs

- dlartv

- dlaruv

- dlarz

- dlarzb

- dlarzt

- dlas2

- dlascl

- dlasd0

- dlasd1

- dlasd2

- dlasd3

- dlasd4

- dlasd5

- dlasd6

- dlasd7

- dlasd8

- dlasda

- dlasdq

- dlasdt

- dlaset

- dlasq1

- dlasq2

- dlasq3

- dlasq4

- dlasq6

- dlasr

- dlasrt

- dlassq

- dlasv2

- dlaswp

- dlasy2

- dlasyf

- dlat2s

- dlatbs

- dlatdf

- dlatps

- dlatrd

- dlatrs

- dlatrz

- dlauu2

- dlauum

- dopgtr

- dopmtr

- dorbdb

- dorcsd

- dorg2l

- dorg2r

- dorgbr

- dorghr

- dorgl2

- dorglq

- dorgql

- dorgqr

- dorgr2

- dorgrq

- dorgtr

- dorm2l

- dorm2r

- dormbr

- dormhr

- dorml2

- dormlq

- dormql

- dormqr

- dormr2

- dormr3

- dormrq

- dormrz

- dormtr

- dpbcon

- dpbequ

- dpbrfs

- dpbstf

- dpbsv

- dpbsvx

- dpbtf2

- dpbtrf

- dpbtrs

- dpftrf

- dpftri

- dpftrs

- dpocon

- dpoequ

- dpoequb

- dporfs

- dposv

- dposvx

- dpotf2

- dpotrf

- dpotri

- dpotrs

- dppcon

- dppequ

- dpprfs

- dppsv

- dppsvx

- dpptrf

- dpptri

- dpptrs

- dpstf2

- dpstrf

- dptcon

- dpteqr

- dptrfs

- dptsv

- dptsvx

- dpttrf

- dpttrs

- dptts2

- drscl

- dsbev

- dsbevd

- dsbevx

- dsbgst

- dsbgv

- dsbgvd

- dsbgvx

- dsbtrd

- dsfrk

- dsgesv

- dspcon

- dspev

- dspevd

- dspevx

- dspgst

- dspgv

- dspgvd

- dspgvx

- dsposv

- dsprfs

- dspsv

- dspsvx

- dsptrd

- dsptrf

- dsptri

- dsptrs

- dstebz

- dstedc

- dstegr

- dstein

- dstemr

- dsteqr

- dsterf

- dstev

- dstevd

- dstevr

- dstevx

- dsycon

- dsyconv

- dsyequb

- dsyev

- dsyevd

- dsyevr

- dsyevx

- dsygs2

- dsygst

- dsygv

- dsygvd

- dsygvx

- dsyrfs

- dsysv

- dsysvx

- dsyswapr

- dsytd2

- dsytf2

- dsytrd

- dsytrf

- dsytri

- dsytri2

- dsytri2x

- dsytrs

- dsytrs2

- dtbcon

- dtbrfs

- dtbtrs

- dtfsm

- dtftri

- dtfttp

- dtfttr

- dtgevc

- dtgex2

- dtgexc

- dtgsen

- dtgsja

- dtgsna

- dtgsy2

- dtgsyl

- dtpcon

- dtpmqrt

- dtpqrt

- dtpqrt2

- dtprfb

- dtprfs

- dtptri

- dtptrs

- dtpttf

- dtpttr

- dtrcon

- dtrevc

- dtrexc

- dtrrfs

- dtrsen

- dtrsna

- dtrsyl

- dtrti2

- dtrtri

- dtrtrs

- dtrttf

- dtrttp

- dtzrzf

- dzsum1

- icmax1

- ieeeck

- ilaclc

- ilaclr

- iladiag

- iladlc

- iladlr

- ilaprec

- ilaslc

- ilaslr

- ilatrans

- ilauplo

- ilaver

- ilazlc

- ilazlr

- izmax1

- sbbcsd

- sbdsdc

- sbdsqr

- scsum1

- sdisna

- sgbbrd

- sgbcon

- sgbequ

- sgbequb

- sgbrfs

- sgbsv

- sgbsvx

- sgbtf2

- sgbtrf

- sgbtrs

- sgebak

- sgebal

- sgebd2

- sgebrd

- sgecon

- sgeequ

- sgeequb

- sgees

- sgeesx

- sgeev

- sgeevx

- sgehd2

- sgehrd

- sgejsv

- sgelq2

- sgelqf

- sgels

- sgelsd

- sgelss

- sgelsy

- sgemqrt

- sgeql2

- sgeqlf

- sgeqp3

- sgeqr2

- sgeqr2p

- sgeqrf

- sgeqrfp

- sgeqrt

- sgeqrt2

- sgeqrt3

- sgerfs

- sgerq2

- sgerqf

- sgesc2

- sgesdd

- sgesv

- sgesvd

- sgesvj

- sgesvx

- sgetc2

- sgetf2

- sgetrf

- sgetri

- sgetrs

- sggbak

- sggbal

- sgges

- sggesx

- sggev

- sggevx

- sggglm

- sgghrd

- sgglse

- sggqrf

- sggrqf

- sgsvj0

- sgsvj1

- sgtcon

- sgtrfs

- sgtsv

- sgtsvx

- sgttrf

- sgttrs

- sgtts2

- shgeqz

- shsein

- shseqr

- slabad

- slabrd

- slacn2

- slacon

- slacpy

- sladiv

- slae2

- slaebz

- slaed0

- slaed1

- slaed2

- slaed3

- slaed4

- slaed5

- slaed6

- slaed7

- slaed8

- slaed9

- slaeda

- slaein

- slaev2

- slaexc

- slag2

- slag2d

- slags2

- slagtf

- slagtm

- slagts

- slagv2

- slahqr

- slahr2

- slaic1

- slaln2

- slals0

- slalsa

- slalsd

- slamch

- slamrg

- slangb

- slange

- slangt

- slanhs

- slansb

- slansf

- slansp

- slanst

- slansy

- slantb

- slantp

- slantr

- slanv2

- slapll

- slapmr

- slapmt

- slapy2

- slapy3

- slaqgb

- slaqge

- slaqp2

- slaqps

- slaqr0

- slaqr1

- slaqr2

- slaqr3

- slaqr4

- slaqr5

- slaqsb

- slaqsp

- slaqsy

- slaqtr

- slar1v

- slar2v

- slarf

- slarfb

- slarfg

- slarfgp

- slarft

- slarfx

- slargv

- slarnv

- slarra

- slarrb

- slarrc

- slarrd

- slarre

- slarrf

- slarrj

- slarrk

- slarrr

- slarrv

- slartg

- slartgp

- slartgs

- slartv

- slaruv

- slarz

- slarzb

- slarzt

- slas2

- slascl

- slasd0

- slasd1

- slasd2

- slasd3

- slasd4

- slasd5

- slasd6

- slasd7

- slasd8

- slasda

- slasdq

- slasdt

- slaset

- slasq1

- slasq2

- slasq3

- slasq4

- slasq6

- slasr

- slasrt

- slassq

- slasv2

- slaswp

- slasy2

- slasyf

- slatbs

- slatdf

- slatps

- slatrd

- slatrs

- slatrz

- slauu2

- slauum

- sopgtr

- sopmtr

- sorbdb

- sorcsd

- sorg2l

- sorg2r

- sorgbr

- sorghr

- sorgl2

- sorglq

- sorgql

- sorgqr

- sorgr2

- sorgrq

- sorgtr

- sorm2l

- sorm2r

- sormbr

- sormhr

- sorml2

- sormlq

- sormql

- sormqr

- sormr2

- sormr3

- sormrq

- sormrz

- sormtr

- spbcon

- spbequ

- spbrfs

- spbstf

- spbsv

- spbsvx

- spbtf2

- spbtrf

- spbtrs

- spftrf

- spftri

- spftrs

- spocon

- spoequ

- spoequb

- sporfs

- sposv

- sposvx

- spotf2

- spotrf

- spotri

- spotrs

- sppcon

- sppequ

- spprfs

- sppsv

- sppsvx

- spptrf

- spptri

- spptrs

- spstf2

- spstrf

- sptcon

- spteqr

- sptrfs

- sptsv

- sptsvx

- spttrf

- spttrs

- sptts2

- srscl

- ssbev

- ssbevd

- ssbevx

- ssbgst

- ssbgv

- ssbgvd

- ssbgvx

- ssbtrd

- ssfrk

- sspcon

- sspev

- sspevd

- sspevx

- sspgst

- sspgv

- sspgvd

- sspgvx

- ssprfs

- sspsv

- sspsvx

- ssptrd

- ssptrf

- ssptri

- ssptrs

- sstebz

- sstedc

- sstegr

- sstein

- sstemr

- ssteqr

- ssterf

- sstev

- sstevd

- sstevr

- sstevx

- ssycon

- ssyconv

- ssyequb

- ssyev

- ssyevd

- ssyevr

- ssyevx

- ssygs2

- ssygst

- ssygv

- ssygvd

- ssygvx

- ssyrfs

- ssysv

- ssysvx

- ssyswapr

- ssytd2

- ssytf2

- ssytrd

- ssytrf

- ssytri

- ssytri2

- ssytri2x

- ssytrs

- ssytrs2

- stbcon

- stbrfs

- stbtrs

- stfsm

- stftri

- stfttp

- stfttr

- stgevc

- stgex2

- stgexc

- stgsen

- stgsja

- stgsna

- stgsy2

- stgsyl

- stpcon

- stpmqrt

- stpqrt

- stpqrt2

- stprfb

- stprfs

- stptri

- stptrs

- stpttf

- stpttr

- strcon

- strevc

- strexc

- strrfs

- strsen

- strsna

- strsyl

- strti2

- strtri

- strtrs

- strttf

- strttp

- stzrzf

- xerbla_array

- zbbcsd

- zbdsqr

- zcgesv

- zcposv

- zdrscl

- zgbbrd

- zgbcon

- zgbequ

- zgbequb

- zgbrfs

- zgbsv

- zgbsvx

- zgbtf2

- zgbtrf

- zgbtrs

- zgebak

- zgebal

- zgebd2

- zgebrd

- zgecon

- zgeequ

- zgeequb

- zgees

- zgeesx

- zgeev

- zgeevx

- zgehd2

- zgehrd

- zgelq2

- zgelqf

- zgels

- zgelsd

- zgelss

- zgelsy

- zgemqrt

- zgeql2

- zgeqlf

- zgeqp3

- zgeqr2

- zgeqr2p

- zgeqrf

- zgeqrfp

- zgeqrt

- zgeqrt2

- zgeqrt3

- zgerfs

- zgerq2

- zgerqf

- zgesc2

- zgesdd

- zgesv

- zgesvd

- zgesvx

- zgetc2

- zgetf2

- zgetrf

- zgetri

- zgetrs

- zggbak

- zggbal

- zgges

- zggesx

- zggev

- zggevx

- zggglm

- zgghrd

- zgglse

- zggqrf

- zggrqf

- zgtcon

- zgtrfs

- zgtsv

- zgtsvx

- zgttrf

- zgttrs

- zgtts2

- zhbev

- zhbevd

- zhbevx

- zhbgst

- zhbgv

- zhbgvd

- zhbgvx

- zhbtrd

- zhecon

- zheequb

- zheev

- zheevd

- zheevr

- zheevx

- zhegs2

- zhegst

- zhegv

- zhegvd

- zhegvx

- zherfs

- zhesv

- zhesvx

- zheswapr

- zhetd2

- zhetf2

- zhetrd

- zhetrf

- zhetri

- zhetri2

- zhetri2x

- zhetrs

- zhetrs2

- zhfrk

- zhgeqz

- zhpcon

- zhpev

- zhpevd

- zhpevx

- zhpgst

- zhpgv

- zhpgvd

- zhpgvx

- zhprfs

- zhpsv

- zhpsvx

- zhptrd

- zhptrf

- zhptri

- zhptrs

- zhsein

- zhseqr

- zlabrd

- zlacgv

- zlacn2

- zlacon

- zlacp2

- zlacpy

- zlacrm

- zlacrt

- zladiv

- zlaed0

- zlaed7

- zlaed8

- zlaein

- zlaesy

- zlaev2

- zlag2c

- zlags2

- zlagtm

- zlahef

- zlahqr

- zlahr2

- zlaic1

- zlals0

- zlalsa

- zlalsd

- zlangb

- zlange

- zlangt

- zlanhb

- zlanhe

- zlanhf

- zlanhp

- zlanhs

- zlanht

- zlansb

- zlansp

- zlansy

- zlantb

- zlantp

- zlantr

- zlapll

- zlapmr

- zlapmt

- zlaqgb

- zlaqge

- zlaqhb

- zlaqhe

- zlaqhp

- zlaqp2

- zlaqps

- zlaqr0

- zlaqr1

- zlaqr2

- zlaqr3

- zlaqr4

- zlaqr5

- zlaqsb

- zlaqsp

- zlaqsy

- zlar1v

- zlar2v

- zlarcm

- zlarf

- zlarfb

- zlarfg

- zlarfgp

- zlarft

- zlarfx

- zlargv

- zlarnv

- zlarrv

- zlartg

- zlartv

- zlarz

- zlarzb

- zlarzt

- zlascl

- zlaset

- zlasr

- zlassq

- zlaswp

- zlasyf

- zlat2c

- zlatbs

- zlatdf

- zlatps

- zlatrd

- zlatrs

- zlatrz

- zlauu2

- zlauum

- zpbcon

- zpbequ

- zpbrfs

- zpbstf

- zpbsv

- zpbsvx

- zpbtf2

- zpbtrf

- zpbtrs

- zpftrf

- zpftri

- zpftrs

- zpocon

- zpoequ

- zpoequb

- zporfs

- zposv

- zposvx

- zpotf2

- zpotrf

- zpotri

- zpotrs

- zppcon

- zppequ

- zpprfs

- zppsv

- zppsvx

- zpptrf

- zpptri

- zpptrs

- zpstf2

- zpstrf

- zptcon

- zpteqr

- zptrfs

- zptsv

- zptsvx

- zpttrf

- zpttrs

- zptts2

- zrot

- zspcon

- zspmv

- zspr

- zsprfs

- zspsv

- zspsvx

- zsptrf

- zsptri

- zsptrs

- zstedc

- zstegr

- zstein

- zstemr

- zsteqr

- zsycon

- zsyconv

- zsyequb

- zsymv

- zsyr

- zsyrfs

- zsysv

- zsysvx

- zsyswapr

- zsytf2

- zsytrf

- zsytri

- zsytri2

- zsytri2x

- zsytrs

- zsytrs2

- ztbcon

- ztbrfs

- ztbtrs

- ztfsm

- ztftri

- ztfttp

- ztfttr

- ztgevc

- ztgex2

- ztgexc

- ztgsen

- ztgsja

- ztgsna

- ztgsy2

- ztgsyl

- ztpcon

- ztpmqrt

- ztpqrt

- ztpqrt2

- ztprfb

- ztprfs

- ztptri

- ztptrs

- ztpttf

- ztpttr

- ztrcon

- ztrevc

- ztrexc

- ztrrfs

- ztrsen

- ztrsna

- ztrsyl

- ztrti2

- ztrtri

- ztrtrs

- ztrttf

- ztrttp

- ztzrzf

- zunbdb

- zuncsd

- zung2l

- zung2r

- zungbr

- zunghr

- zungl2

- zunglq

- zungql

- zungqr

- zungr2

- zungrq

- zungtr

- zunm2l

- zunm2r

- zunmbr

- zunmhr

- zunml2

- zunmlq

- zunmql

- zunmqr

- zunmr2

- zunmr3

- zunmrq

- zunmrz

- zunmtr

- zupgtr

- zupmtr