ruby-lapack 1.4.1a → 1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -2
- data/ext/cbbcsd.c +34 -34
- data/ext/cbdsqr.c +20 -20
- data/ext/cgbbrd.c +12 -12
- data/ext/cgbcon.c +13 -13
- data/ext/cgbequ.c +3 -3
- data/ext/cgbequb.c +2 -2
- data/ext/cgbrfs.c +22 -22
- data/ext/cgbrfsx.c +43 -43
- data/ext/cgbsv.c +2 -2
- data/ext/cgbsvx.c +25 -25
- data/ext/cgbsvxx.c +36 -36
- data/ext/cgbtf2.c +3 -3
- data/ext/cgbtrf.c +3 -3
- data/ext/cgbtrs.c +11 -11
- data/ext/cgebak.c +11 -11
- data/ext/cgebal.c +1 -1
- data/ext/cgebd2.c +1 -1
- data/ext/cgebrd.c +1 -1
- data/ext/cgecon.c +1 -1
- data/ext/cgees.c +3 -3
- data/ext/cgeesx.c +4 -4
- data/ext/cgeev.c +4 -4
- data/ext/cgeevx.c +5 -5
- data/ext/cgegs.c +2 -2
- data/ext/cgegv.c +3 -3
- data/ext/cgehd2.c +1 -1
- data/ext/cgehrd.c +2 -2
- data/ext/cgelqf.c +6 -6
- data/ext/cgels.c +2 -2
- data/ext/cgelsd.c +9 -9
- data/ext/cgelss.c +2 -2
- data/ext/cgelsx.c +12 -12
- data/ext/cgelsy.c +12 -12
- data/ext/cgeql2.c +1 -1
- data/ext/cgeqlf.c +1 -1
- data/ext/cgeqp3.c +11 -11
- data/ext/cgeqpf.c +11 -11
- data/ext/cgeqr2.c +1 -1
- data/ext/cgeqr2p.c +1 -1
- data/ext/cgeqrf.c +1 -1
- data/ext/cgeqrfp.c +1 -1
- data/ext/cgerfs.c +31 -31
- data/ext/cgerfsx.c +25 -25
- data/ext/cgerqf.c +6 -6
- data/ext/cgesc2.c +13 -13
- data/ext/cgesdd.c +3 -3
- data/ext/cgesvd.c +4 -4
- data/ext/cgesvx.c +32 -32
- data/ext/cgesvxx.c +26 -26
- data/ext/cgetf2.c +1 -1
- data/ext/cgetrf.c +1 -1
- data/ext/cgetri.c +10 -10
- data/ext/cgetrs.c +10 -10
- data/ext/cggbak.c +11 -11
- data/ext/cggbal.c +11 -11
- data/ext/cgges.c +15 -15
- data/ext/cggesx.c +6 -6
- data/ext/cggev.c +3 -3
- data/ext/cggevx.c +5 -5
- data/ext/cgghrd.c +14 -14
- data/ext/cggqrf.c +9 -9
- data/ext/cggrqf.c +1 -1
- data/ext/cggsvd.c +3 -3
- data/ext/cggsvp.c +4 -4
- data/ext/cgtcon.c +20 -20
- data/ext/cgtrfs.c +48 -48
- data/ext/cgtsv.c +8 -8
- data/ext/cgtsvx.c +55 -55
- data/ext/cgttrs.c +19 -19
- data/ext/cgtts2.c +20 -20
- data/ext/chbev.c +3 -3
- data/ext/chbevd.c +9 -9
- data/ext/chbevx.c +7 -7
- data/ext/chbgst.c +15 -15
- data/ext/chbgv.c +15 -15
- data/ext/chbgvd.c +20 -20
- data/ext/chbgvx.c +9 -9
- data/ext/chbtrd.c +13 -13
- data/ext/checon.c +12 -12
- data/ext/cheequb.c +1 -1
- data/ext/cheev.c +2 -2
- data/ext/cheevd.c +7 -7
- data/ext/cheevr.c +12 -12
- data/ext/cheevx.c +7 -7
- data/ext/chegs2.c +2 -2
- data/ext/chegst.c +2 -2
- data/ext/chegv.c +13 -13
- data/ext/chegvd.c +18 -18
- data/ext/chegvx.c +19 -19
- data/ext/cherfs.c +31 -31
- data/ext/cherfsx.c +43 -43
- data/ext/chesv.c +10 -10
- data/ext/chesvx.c +15 -15
- data/ext/chesvxx.c +41 -41
- data/ext/chetd2.c +1 -1
- data/ext/chetf2.c +1 -1
- data/ext/chetrd.c +2 -2
- data/ext/chetrf.c +2 -2
- data/ext/chetri.c +1 -1
- data/ext/chetrs.c +10 -10
- data/ext/chetrs2.c +10 -10
- data/ext/chfrk.c +6 -6
- data/ext/chgeqz.c +27 -27
- data/ext/chpcon.c +1 -1
- data/ext/chpev.c +2 -2
- data/ext/chpevd.c +2 -2
- data/ext/chpevx.c +7 -7
- data/ext/chpgst.c +10 -10
- data/ext/chpgv.c +2 -2
- data/ext/chpgvd.c +11 -11
- data/ext/chpgvx.c +8 -8
- data/ext/chprfs.c +10 -10
- data/ext/chpsv.c +1 -1
- data/ext/chpsvx.c +20 -20
- data/ext/chptrd.c +1 -1
- data/ext/chptrf.c +1 -1
- data/ext/chptri.c +1 -1
- data/ext/chptrs.c +1 -1
- data/ext/chsein.c +21 -21
- data/ext/chseqr.c +4 -4
- data/ext/cla_gbamv.c +14 -14
- data/ext/cla_gbrcond_c.c +33 -33
- data/ext/cla_gbrcond_x.c +32 -32
- data/ext/cla_gbrfsx_extended.c +75 -75
- data/ext/cla_gbrpvgrw.c +13 -13
- data/ext/cla_geamv.c +6 -6
- data/ext/cla_gercond_c.c +31 -31
- data/ext/cla_gercond_x.c +30 -30
- data/ext/cla_gerfsx_extended.c +81 -81
- data/ext/cla_heamv.c +12 -12
- data/ext/cla_hercond_c.c +31 -31
- data/ext/cla_hercond_x.c +30 -30
- data/ext/cla_herfsx_extended.c +82 -82
- data/ext/cla_herpvgrw.c +14 -14
- data/ext/cla_lin_berr.c +14 -14
- data/ext/cla_porcond_c.c +23 -23
- data/ext/cla_porcond_x.c +22 -22
- data/ext/cla_porfsx_extended.c +74 -74
- data/ext/cla_porpvgrw.c +2 -2
- data/ext/cla_rpvgrw.c +12 -12
- data/ext/cla_syamv.c +13 -13
- data/ext/cla_syrcond_c.c +31 -31
- data/ext/cla_syrcond_x.c +30 -30
- data/ext/cla_syrfsx_extended.c +82 -82
- data/ext/cla_syrpvgrw.c +14 -14
- data/ext/cla_wwaddw.c +11 -11
- data/ext/clabrd.c +2 -2
- data/ext/clacn2.c +2 -2
- data/ext/clacp2.c +1 -1
- data/ext/clacpy.c +1 -1
- data/ext/clacrm.c +11 -11
- data/ext/clacrt.c +12 -12
- data/ext/claed7.c +42 -42
- data/ext/claed8.c +27 -27
- data/ext/claein.c +14 -14
- data/ext/clags2.c +5 -5
- data/ext/clagtm.c +21 -21
- data/ext/clahef.c +1 -1
- data/ext/clahqr.c +6 -6
- data/ext/clahr2.c +1 -1
- data/ext/clahrd.c +1 -1
- data/ext/claic1.c +12 -12
- data/ext/clals0.c +37 -37
- data/ext/clalsa.c +72 -72
- data/ext/clalsd.c +4 -4
- data/ext/clangb.c +3 -3
- data/ext/clange.c +1 -1
- data/ext/clangt.c +10 -10
- data/ext/clanhb.c +2 -2
- data/ext/clanhe.c +1 -1
- data/ext/clanhf.c +3 -3
- data/ext/clanhp.c +2 -2
- data/ext/clanhs.c +1 -1
- data/ext/clanht.c +1 -1
- data/ext/clansb.c +2 -2
- data/ext/clansp.c +2 -2
- data/ext/clansy.c +1 -1
- data/ext/clantb.c +3 -3
- data/ext/clantp.c +2 -2
- data/ext/clantr.c +3 -3
- data/ext/clapll.c +10 -10
- data/ext/clapmr.c +1 -1
- data/ext/clapmt.c +11 -11
- data/ext/claqgb.c +2 -2
- data/ext/claqge.c +10 -10
- data/ext/claqhb.c +2 -2
- data/ext/claqhe.c +12 -12
- data/ext/claqhp.c +2 -2
- data/ext/claqp2.c +10 -10
- data/ext/claqps.c +20 -20
- data/ext/claqr0.c +3 -3
- data/ext/claqr1.c +4 -4
- data/ext/claqr2.c +18 -18
- data/ext/claqr3.c +18 -18
- data/ext/claqr4.c +3 -3
- data/ext/claqr5.c +21 -21
- data/ext/claqsb.c +13 -13
- data/ext/claqsp.c +2 -2
- data/ext/claqsy.c +12 -12
- data/ext/clar1v.c +15 -15
- data/ext/clar2v.c +19 -19
- data/ext/clarf.c +2 -2
- data/ext/clarfb.c +16 -16
- data/ext/clarfg.c +1 -1
- data/ext/clarfgp.c +1 -1
- data/ext/clarft.c +2 -2
- data/ext/clarfx.c +3 -3
- data/ext/clargv.c +2 -2
- data/ext/clarnv.c +1 -1
- data/ext/clarrv.c +40 -40
- data/ext/clarscl2.c +8 -8
- data/ext/clartv.c +20 -20
- data/ext/clarz.c +11 -11
- data/ext/clarzb.c +14 -14
- data/ext/clarzt.c +2 -2
- data/ext/clascl.c +4 -4
- data/ext/clascl2.c +8 -8
- data/ext/claset.c +4 -4
- data/ext/clasr.c +2 -2
- data/ext/classq.c +2 -2
- data/ext/claswp.c +2 -2
- data/ext/clasyf.c +1 -1
- data/ext/clatbs.c +14 -14
- data/ext/clatdf.c +21 -21
- data/ext/clatps.c +12 -12
- data/ext/clatrd.c +1 -1
- data/ext/clatrs.c +15 -15
- data/ext/clatrz.c +1 -1
- data/ext/clatzm.c +3 -3
- data/ext/clauu2.c +1 -1
- data/ext/clauum.c +1 -1
- data/ext/cpbcon.c +3 -3
- data/ext/cpbequ.c +1 -1
- data/ext/cpbrfs.c +12 -12
- data/ext/cpbstf.c +1 -1
- data/ext/cpbsv.c +1 -1
- data/ext/cpbsvx.c +23 -23
- data/ext/cpbtf2.c +1 -1
- data/ext/cpbtrf.c +1 -1
- data/ext/cpbtrs.c +1 -1
- data/ext/cpftrf.c +2 -2
- data/ext/cpftri.c +2 -2
- data/ext/cpftrs.c +2 -2
- data/ext/cpocon.c +1 -1
- data/ext/cporfs.c +23 -23
- data/ext/cporfsx.c +22 -22
- data/ext/cposv.c +9 -9
- data/ext/cposvx.c +12 -12
- data/ext/cposvxx.c +20 -20
- data/ext/cpotf2.c +1 -1
- data/ext/cpotrf.c +1 -1
- data/ext/cpotri.c +1 -1
- data/ext/cpotrs.c +9 -9
- data/ext/cppcon.c +1 -1
- data/ext/cppequ.c +1 -1
- data/ext/cpprfs.c +20 -20
- data/ext/cppsv.c +1 -1
- data/ext/cppsvx.c +12 -12
- data/ext/cpptrf.c +1 -1
- data/ext/cpptri.c +1 -1
- data/ext/cpptrs.c +1 -1
- data/ext/cpstf2.c +2 -2
- data/ext/cpstrf.c +2 -2
- data/ext/cptcon.c +1 -1
- data/ext/cpteqr.c +10 -10
- data/ext/cptrfs.c +12 -12
- data/ext/cptsv.c +8 -8
- data/ext/cptsvx.c +19 -19
- data/ext/cpttrs.c +1 -1
- data/ext/cptts2.c +1 -1
- data/ext/crot.c +11 -11
- data/ext/cspcon.c +1 -1
- data/ext/cspmv.c +3 -3
- data/ext/cspr.c +11 -11
- data/ext/csprfs.c +10 -10
- data/ext/cspsv.c +1 -1
- data/ext/cspsvx.c +20 -20
- data/ext/csptrf.c +1 -1
- data/ext/csptri.c +1 -1
- data/ext/csptrs.c +1 -1
- data/ext/csrscl.c +2 -2
- data/ext/cstedc.c +10 -10
- data/ext/cstegr.c +18 -18
- data/ext/cstein.c +14 -14
- data/ext/cstemr.c +22 -22
- data/ext/csteqr.c +10 -10
- data/ext/csycon.c +12 -12
- data/ext/csyconv.c +12 -12
- data/ext/csyequb.c +1 -1
- data/ext/csymv.c +13 -13
- data/ext/csyr.c +4 -4
- data/ext/csyrfs.c +31 -31
- data/ext/csyrfsx.c +43 -43
- data/ext/csysv.c +10 -10
- data/ext/csysvx.c +15 -15
- data/ext/csysvxx.c +41 -41
- data/ext/csyswapr.c +2 -2
- data/ext/csytf2.c +1 -1
- data/ext/csytrf.c +2 -2
- data/ext/csytri.c +1 -1
- data/ext/csytri2.c +3 -3
- data/ext/csytri2x.c +2 -2
- data/ext/csytrs.c +10 -10
- data/ext/csytrs2.c +10 -10
- data/ext/ctbcon.c +3 -3
- data/ext/ctbrfs.c +14 -14
- data/ext/ctbtrs.c +2 -2
- data/ext/ctfsm.c +5 -5
- data/ext/ctftri.c +1 -1
- data/ext/ctfttp.c +1 -1
- data/ext/ctfttr.c +1 -1
- data/ext/ctgevc.c +32 -32
- data/ext/ctgex2.c +14 -14
- data/ext/ctgexc.c +25 -25
- data/ext/ctgsen.c +37 -37
- data/ext/ctgsja.c +26 -26
- data/ext/ctgsna.c +24 -24
- data/ext/ctgsy2.c +22 -22
- data/ext/ctgsyl.c +42 -42
- data/ext/ctpcon.c +2 -2
- data/ext/ctprfs.c +13 -13
- data/ext/ctptri.c +1 -1
- data/ext/ctptrs.c +3 -3
- data/ext/ctpttf.c +1 -1
- data/ext/ctpttr.c +1 -1
- data/ext/ctrcon.c +3 -3
- data/ext/ctrevc.c +12 -12
- data/ext/ctrexc.c +1 -1
- data/ext/ctrrfs.c +11 -11
- data/ext/ctrsen.c +13 -13
- data/ext/ctrsna.c +20 -20
- data/ext/ctrsyl.c +11 -11
- data/ext/ctrti2.c +1 -1
- data/ext/ctrtri.c +1 -1
- data/ext/ctrtrs.c +10 -10
- data/ext/ctrttf.c +1 -1
- data/ext/ctrttp.c +1 -1
- data/ext/cunbdb.c +15 -15
- data/ext/cuncsd.c +27 -27
- data/ext/cung2l.c +9 -9
- data/ext/cung2r.c +9 -9
- data/ext/cungbr.c +1 -1
- data/ext/cunghr.c +7 -7
- data/ext/cungl2.c +1 -1
- data/ext/cunglq.c +9 -9
- data/ext/cungql.c +9 -9
- data/ext/cungqr.c +9 -9
- data/ext/cungr2.c +1 -1
- data/ext/cungrq.c +9 -9
- data/ext/cungtr.c +6 -6
- data/ext/cunm2l.c +12 -12
- data/ext/cunm2r.c +12 -12
- data/ext/cunmbr.c +3 -3
- data/ext/cunmhr.c +12 -12
- data/ext/cunml2.c +1 -1
- data/ext/cunmlq.c +7 -7
- data/ext/cunmql.c +12 -12
- data/ext/cunmqr.c +12 -12
- data/ext/cunmr2.c +1 -1
- data/ext/cunmr3.c +10 -10
- data/ext/cunmrq.c +7 -7
- data/ext/cunmrz.c +10 -10
- data/ext/cunmtr.c +17 -17
- data/ext/cupgtr.c +8 -8
- data/ext/cupmtr.c +2 -2
- data/ext/dbbcsd.c +29 -29
- data/ext/dbdsdc.c +6 -6
- data/ext/dbdsqr.c +20 -20
- data/ext/ddisna.c +1 -1
- data/ext/dgbbrd.c +12 -12
- data/ext/dgbcon.c +13 -13
- data/ext/dgbequ.c +3 -3
- data/ext/dgbequb.c +2 -2
- data/ext/dgbrfs.c +22 -22
- data/ext/dgbrfsx.c +43 -43
- data/ext/dgbsv.c +2 -2
- data/ext/dgbsvx.c +25 -25
- data/ext/dgbsvxx.c +36 -36
- data/ext/dgbtf2.c +3 -3
- data/ext/dgbtrf.c +3 -3
- data/ext/dgbtrs.c +11 -11
- data/ext/dgebak.c +11 -11
- data/ext/dgebal.c +1 -1
- data/ext/dgebd2.c +1 -1
- data/ext/dgebrd.c +1 -1
- data/ext/dgecon.c +1 -1
- data/ext/dgees.c +3 -3
- data/ext/dgeesx.c +4 -4
- data/ext/dgeev.c +3 -3
- data/ext/dgeevx.c +5 -5
- data/ext/dgegs.c +2 -2
- data/ext/dgegv.c +3 -3
- data/ext/dgehd2.c +1 -1
- data/ext/dgehrd.c +2 -2
- data/ext/dgejsv.c +16 -16
- data/ext/dgelqf.c +6 -6
- data/ext/dgels.c +2 -2
- data/ext/dgelsd.c +7 -7
- data/ext/dgelss.c +2 -2
- data/ext/dgelsx.c +12 -12
- data/ext/dgelsy.c +12 -12
- data/ext/dgeql2.c +1 -1
- data/ext/dgeqlf.c +1 -1
- data/ext/dgeqp3.c +11 -11
- data/ext/dgeqpf.c +11 -11
- data/ext/dgeqr2.c +1 -1
- data/ext/dgeqr2p.c +1 -1
- data/ext/dgeqrf.c +1 -1
- data/ext/dgeqrfp.c +1 -1
- data/ext/dgerfs.c +31 -31
- data/ext/dgerfsx.c +25 -25
- data/ext/dgerqf.c +6 -6
- data/ext/dgesc2.c +13 -13
- data/ext/dgesdd.c +3 -3
- data/ext/dgesvd.c +4 -4
- data/ext/dgesvj.c +15 -15
- data/ext/dgesvx.c +32 -32
- data/ext/dgesvxx.c +26 -26
- data/ext/dgetf2.c +1 -1
- data/ext/dgetrf.c +1 -1
- data/ext/dgetri.c +10 -10
- data/ext/dgetrs.c +10 -10
- data/ext/dggbak.c +11 -11
- data/ext/dggbal.c +11 -11
- data/ext/dgges.c +15 -15
- data/ext/dggesx.c +6 -6
- data/ext/dggev.c +3 -3
- data/ext/dggevx.c +4 -4
- data/ext/dgghrd.c +14 -14
- data/ext/dggqrf.c +9 -9
- data/ext/dggrqf.c +1 -1
- data/ext/dggsvd.c +3 -3
- data/ext/dggsvp.c +4 -4
- data/ext/dgsvj0.c +20 -20
- data/ext/dgsvj1.c +26 -26
- data/ext/dgtcon.c +20 -20
- data/ext/dgtrfs.c +48 -48
- data/ext/dgtsv.c +8 -8
- data/ext/dgtsvx.c +55 -55
- data/ext/dgttrs.c +19 -19
- data/ext/dgtts2.c +20 -20
- data/ext/dhgeqz.c +27 -27
- data/ext/dhsein.c +42 -42
- data/ext/dhseqr.c +4 -4
- data/ext/dla_gbamv.c +16 -16
- data/ext/dla_gbrcond.c +25 -25
- data/ext/dla_gbrfsx_extended.c +56 -56
- data/ext/dla_gbrpvgrw.c +13 -13
- data/ext/dla_geamv.c +4 -4
- data/ext/dla_gercond.c +31 -31
- data/ext/dla_gerfsx_extended.c +70 -70
- data/ext/dla_lin_berr.c +14 -14
- data/ext/dla_porcond.c +15 -15
- data/ext/dla_porfsx_extended.c +74 -74
- data/ext/dla_porpvgrw.c +2 -2
- data/ext/dla_rpvgrw.c +12 -12
- data/ext/dla_syamv.c +12 -12
- data/ext/dla_syrcond.c +31 -31
- data/ext/dla_syrfsx_extended.c +82 -82
- data/ext/dla_syrpvgrw.c +14 -14
- data/ext/dla_wwaddw.c +11 -11
- data/ext/dlabad.c +1 -1
- data/ext/dlabrd.c +2 -2
- data/ext/dlacn2.c +2 -2
- data/ext/dlacpy.c +1 -1
- data/ext/dlaebz.c +43 -43
- data/ext/dlaed0.c +2 -2
- data/ext/dlaed1.c +20 -20
- data/ext/dlaed2.c +21 -21
- data/ext/dlaed3.c +30 -30
- data/ext/dlaed4.c +12 -12
- data/ext/dlaed5.c +11 -11
- data/ext/dlaed6.c +12 -12
- data/ext/dlaed7.c +35 -35
- data/ext/dlaed8.c +16 -16
- data/ext/dlaed9.c +14 -14
- data/ext/dlaeda.c +31 -31
- data/ext/dlaein.c +13 -13
- data/ext/dlaexc.c +14 -14
- data/ext/dlag2s.c +2 -2
- data/ext/dlags2.c +4 -4
- data/ext/dlagtf.c +10 -10
- data/ext/dlagtm.c +21 -21
- data/ext/dlagts.c +13 -13
- data/ext/dlahqr.c +6 -6
- data/ext/dlahr2.c +1 -1
- data/ext/dlahrd.c +1 -1
- data/ext/dlaic1.c +12 -12
- data/ext/dlaln2.c +16 -16
- data/ext/dlals0.c +37 -37
- data/ext/dlalsa.c +72 -72
- data/ext/dlalsd.c +4 -4
- data/ext/dlamrg.c +1 -1
- data/ext/dlaneg.c +1 -1
- data/ext/dlangb.c +3 -3
- data/ext/dlange.c +1 -1
- data/ext/dlangt.c +10 -10
- data/ext/dlanhs.c +1 -1
- data/ext/dlansb.c +2 -2
- data/ext/dlansf.c +3 -3
- data/ext/dlansp.c +3 -3
- data/ext/dlanst.c +1 -1
- data/ext/dlansy.c +2 -2
- data/ext/dlantb.c +2 -2
- data/ext/dlantp.c +2 -2
- data/ext/dlantr.c +3 -3
- data/ext/dlapll.c +10 -10
- data/ext/dlapmr.c +1 -1
- data/ext/dlapmt.c +11 -11
- data/ext/dlaqgb.c +2 -2
- data/ext/dlaqge.c +10 -10
- data/ext/dlaqp2.c +10 -10
- data/ext/dlaqps.c +20 -20
- data/ext/dlaqr0.c +3 -3
- data/ext/dlaqr1.c +2 -2
- data/ext/dlaqr2.c +18 -18
- data/ext/dlaqr3.c +18 -18
- data/ext/dlaqr4.c +3 -3
- data/ext/dlaqr5.c +9 -9
- data/ext/dlaqsb.c +13 -13
- data/ext/dlaqsp.c +2 -2
- data/ext/dlaqsy.c +12 -12
- data/ext/dlaqtr.c +12 -12
- data/ext/dlar1v.c +15 -15
- data/ext/dlar2v.c +19 -19
- data/ext/dlarf.c +2 -2
- data/ext/dlarfb.c +16 -16
- data/ext/dlarfg.c +1 -1
- data/ext/dlarfgp.c +1 -1
- data/ext/dlarft.c +2 -2
- data/ext/dlarfx.c +2 -2
- data/ext/dlargv.c +2 -2
- data/ext/dlarnv.c +1 -1
- data/ext/dlarra.c +20 -20
- data/ext/dlarrb.c +22 -22
- data/ext/dlarrc.c +13 -13
- data/ext/dlarrd.c +25 -25
- data/ext/dlarre.c +17 -17
- data/ext/dlarrf.c +21 -21
- data/ext/dlarrj.c +23 -23
- data/ext/dlarrk.c +3 -3
- data/ext/dlarrv.c +40 -40
- data/ext/dlarscl2.c +8 -8
- data/ext/dlartv.c +20 -20
- data/ext/dlaruv.c +1 -1
- data/ext/dlarz.c +11 -11
- data/ext/dlarzb.c +14 -14
- data/ext/dlarzt.c +2 -2
- data/ext/dlascl.c +4 -4
- data/ext/dlascl2.c +8 -8
- data/ext/dlasd0.c +3 -3
- data/ext/dlasd1.c +13 -13
- data/ext/dlasd2.c +18 -18
- data/ext/dlasd3.c +15 -15
- data/ext/dlasd4.c +12 -12
- data/ext/dlasd5.c +11 -11
- data/ext/dlasd6.c +14 -14
- data/ext/dlasd7.c +25 -25
- data/ext/dlasd8.c +27 -27
- data/ext/dlasda.c +5 -5
- data/ext/dlasdq.c +20 -20
- data/ext/dlaset.c +3 -3
- data/ext/dlasq3.c +8 -8
- data/ext/dlasq4.c +5 -5
- data/ext/dlasq5.c +3 -3
- data/ext/dlasq6.c +1 -1
- data/ext/dlasr.c +2 -2
- data/ext/dlasrt.c +1 -1
- data/ext/dlassq.c +2 -2
- data/ext/dlaswp.c +2 -2
- data/ext/dlasy2.c +24 -24
- data/ext/dlasyf.c +1 -1
- data/ext/dlat2s.c +1 -1
- data/ext/dlatbs.c +14 -14
- data/ext/dlatdf.c +21 -21
- data/ext/dlatps.c +12 -12
- data/ext/dlatrd.c +1 -1
- data/ext/dlatrs.c +15 -15
- data/ext/dlatrz.c +1 -1
- data/ext/dlatzm.c +2 -2
- data/ext/dlauu2.c +1 -1
- data/ext/dlauum.c +1 -1
- data/ext/dopgtr.c +8 -8
- data/ext/dopmtr.c +2 -2
- data/ext/dorbdb.c +15 -15
- data/ext/dorcsd.c +13 -13
- data/ext/dorg2l.c +9 -9
- data/ext/dorg2r.c +9 -9
- data/ext/dorgbr.c +1 -1
- data/ext/dorghr.c +7 -7
- data/ext/dorgl2.c +1 -1
- data/ext/dorglq.c +9 -9
- data/ext/dorgql.c +9 -9
- data/ext/dorgqr.c +9 -9
- data/ext/dorgr2.c +1 -1
- data/ext/dorgrq.c +9 -9
- data/ext/dorgtr.c +6 -6
- data/ext/dorm2l.c +12 -12
- data/ext/dorm2r.c +12 -12
- data/ext/dormbr.c +3 -3
- data/ext/dormhr.c +12 -12
- data/ext/dorml2.c +1 -1
- data/ext/dormlq.c +7 -7
- data/ext/dormql.c +12 -12
- data/ext/dormqr.c +12 -12
- data/ext/dormr2.c +1 -1
- data/ext/dormr3.c +10 -10
- data/ext/dormrq.c +7 -7
- data/ext/dormrz.c +10 -10
- data/ext/dormtr.c +17 -17
- data/ext/dpbcon.c +3 -3
- data/ext/dpbequ.c +1 -1
- data/ext/dpbrfs.c +12 -12
- data/ext/dpbstf.c +1 -1
- data/ext/dpbsv.c +1 -1
- data/ext/dpbsvx.c +23 -23
- data/ext/dpbtf2.c +1 -1
- data/ext/dpbtrf.c +1 -1
- data/ext/dpbtrs.c +1 -1
- data/ext/dpftrf.c +2 -2
- data/ext/dpftri.c +2 -2
- data/ext/dpftrs.c +2 -2
- data/ext/dpocon.c +1 -1
- data/ext/dporfs.c +23 -23
- data/ext/dporfsx.c +22 -22
- data/ext/dposv.c +9 -9
- data/ext/dposvx.c +12 -12
- data/ext/dposvxx.c +20 -20
- data/ext/dpotf2.c +1 -1
- data/ext/dpotrf.c +1 -1
- data/ext/dpotri.c +1 -1
- data/ext/dpotrs.c +9 -9
- data/ext/dppcon.c +1 -1
- data/ext/dppequ.c +1 -1
- data/ext/dpprfs.c +20 -20
- data/ext/dppsv.c +1 -1
- data/ext/dppsvx.c +12 -12
- data/ext/dpptrf.c +1 -1
- data/ext/dpptri.c +1 -1
- data/ext/dpptrs.c +1 -1
- data/ext/dpstf2.c +2 -2
- data/ext/dpstrf.c +2 -2
- data/ext/dptcon.c +1 -1
- data/ext/dpteqr.c +10 -10
- data/ext/dptrfs.c +30 -30
- data/ext/dptsv.c +8 -8
- data/ext/dptsvx.c +19 -19
- data/ext/dpttrs.c +8 -8
- data/ext/dptts2.c +8 -8
- data/ext/drscl.c +2 -2
- data/ext/dsbev.c +3 -3
- data/ext/dsbevd.c +9 -9
- data/ext/dsbevx.c +7 -7
- data/ext/dsbgst.c +15 -15
- data/ext/dsbgv.c +15 -15
- data/ext/dsbgvd.c +20 -20
- data/ext/dsbgvx.c +10 -10
- data/ext/dsbtrd.c +13 -13
- data/ext/dsfrk.c +5 -5
- data/ext/dspcon.c +1 -1
- data/ext/dspev.c +2 -2
- data/ext/dspevd.c +7 -7
- data/ext/dspevx.c +7 -7
- data/ext/dspgst.c +10 -10
- data/ext/dspgv.c +2 -2
- data/ext/dspgvd.c +7 -7
- data/ext/dspgvx.c +8 -8
- data/ext/dsposv.c +10 -10
- data/ext/dsprfs.c +10 -10
- data/ext/dspsv.c +1 -1
- data/ext/dspsvx.c +20 -20
- data/ext/dsptrd.c +1 -1
- data/ext/dsptrf.c +1 -1
- data/ext/dsptri.c +1 -1
- data/ext/dsptrs.c +1 -1
- data/ext/dstebz.c +5 -5
- data/ext/dstedc.c +5 -5
- data/ext/dstegr.c +18 -18
- data/ext/dstein.c +14 -14
- data/ext/dstemr.c +22 -22
- data/ext/dsteqr.c +10 -10
- data/ext/dstev.c +1 -1
- data/ext/dstevd.c +7 -7
- data/ext/dstevr.c +16 -16
- data/ext/dstevx.c +6 -6
- data/ext/dsycon.c +12 -12
- data/ext/dsyconv.c +12 -12
- data/ext/dsyequb.c +1 -1
- data/ext/dsyev.c +2 -2
- data/ext/dsyevd.c +1 -1
- data/ext/dsyevr.c +6 -6
- data/ext/dsyevx.c +7 -7
- data/ext/dsygs2.c +2 -2
- data/ext/dsygst.c +2 -2
- data/ext/dsygv.c +13 -13
- data/ext/dsygvd.c +18 -18
- data/ext/dsygvx.c +19 -19
- data/ext/dsyrfs.c +31 -31
- data/ext/dsyrfsx.c +43 -43
- data/ext/dsysv.c +10 -10
- data/ext/dsysvx.c +15 -15
- data/ext/dsysvxx.c +41 -41
- data/ext/dsyswapr.c +2 -2
- data/ext/dsytd2.c +1 -1
- data/ext/dsytf2.c +1 -1
- data/ext/dsytrd.c +2 -2
- data/ext/dsytrf.c +2 -2
- data/ext/dsytri.c +1 -1
- data/ext/dsytri2.c +3 -3
- data/ext/dsytri2x.c +2 -2
- data/ext/dsytrs.c +10 -10
- data/ext/dsytrs2.c +10 -10
- data/ext/dtbcon.c +3 -3
- data/ext/dtbrfs.c +14 -14
- data/ext/dtbtrs.c +2 -2
- data/ext/dtfsm.c +13 -13
- data/ext/dtftri.c +1 -1
- data/ext/dtfttp.c +1 -1
- data/ext/dtfttr.c +2 -2
- data/ext/dtgevc.c +32 -32
- data/ext/dtgex2.c +23 -23
- data/ext/dtgexc.c +24 -24
- data/ext/dtgsen.c +37 -37
- data/ext/dtgsja.c +26 -26
- data/ext/dtgsna.c +24 -24
- data/ext/dtgsy2.c +22 -22
- data/ext/dtgsyl.c +42 -42
- data/ext/dtpcon.c +2 -2
- data/ext/dtprfs.c +13 -13
- data/ext/dtptri.c +1 -1
- data/ext/dtptrs.c +3 -3
- data/ext/dtpttf.c +1 -1
- data/ext/dtpttr.c +1 -1
- data/ext/dtrcon.c +3 -3
- data/ext/dtrevc.c +12 -12
- data/ext/dtrexc.c +1 -1
- data/ext/dtrrfs.c +11 -11
- data/ext/dtrsen.c +13 -13
- data/ext/dtrsna.c +20 -20
- data/ext/dtrsyl.c +11 -11
- data/ext/dtrti2.c +1 -1
- data/ext/dtrtri.c +1 -1
- data/ext/dtrtrs.c +10 -10
- data/ext/dtrttf.c +1 -1
- data/ext/dtrttp.c +1 -1
- data/ext/dzsum1.c +1 -1
- data/ext/icmax1.c +1 -1
- data/ext/ieeeck.c +1 -1
- data/ext/ilaclc.c +1 -1
- data/ext/ilaclr.c +1 -1
- data/ext/iladlc.c +1 -1
- data/ext/iladlr.c +1 -1
- data/ext/ilaenv.c +4 -4
- data/ext/ilaslc.c +1 -1
- data/ext/ilaslr.c +1 -1
- data/ext/ilazlc.c +1 -1
- data/ext/ilazlr.c +1 -1
- data/ext/iparmq.c +3 -3
- data/ext/izmax1.c +1 -1
- data/ext/rb_lapack.c +3146 -3146
- data/ext/rb_lapack.h +1 -1
- data/ext/sbbcsd.c +29 -29
- data/ext/sbdsdc.c +10 -10
- data/ext/sbdsqr.c +20 -20
- data/ext/scsum1.c +1 -1
- data/ext/sdisna.c +1 -1
- data/ext/sgbbrd.c +12 -12
- data/ext/sgbcon.c +13 -13
- data/ext/sgbequ.c +3 -3
- data/ext/sgbequb.c +2 -2
- data/ext/sgbrfs.c +22 -22
- data/ext/sgbrfsx.c +43 -43
- data/ext/sgbsv.c +2 -2
- data/ext/sgbsvx.c +25 -25
- data/ext/sgbsvxx.c +36 -36
- data/ext/sgbtf2.c +3 -3
- data/ext/sgbtrf.c +3 -3
- data/ext/sgbtrs.c +11 -11
- data/ext/sgebak.c +11 -11
- data/ext/sgebal.c +1 -1
- data/ext/sgebd2.c +1 -1
- data/ext/sgebrd.c +1 -1
- data/ext/sgecon.c +1 -1
- data/ext/sgees.c +3 -3
- data/ext/sgeesx.c +4 -4
- data/ext/sgeev.c +3 -3
- data/ext/sgeevx.c +5 -5
- data/ext/sgegs.c +2 -2
- data/ext/sgegv.c +3 -3
- data/ext/sgehd2.c +1 -1
- data/ext/sgehrd.c +2 -2
- data/ext/sgejsv.c +16 -16
- data/ext/sgelqf.c +6 -6
- data/ext/sgels.c +2 -2
- data/ext/sgelsd.c +7 -7
- data/ext/sgelss.c +2 -2
- data/ext/sgelsx.c +12 -12
- data/ext/sgelsy.c +12 -12
- data/ext/sgeql2.c +1 -1
- data/ext/sgeqlf.c +1 -1
- data/ext/sgeqp3.c +11 -11
- data/ext/sgeqpf.c +11 -11
- data/ext/sgeqr2.c +1 -1
- data/ext/sgeqr2p.c +1 -1
- data/ext/sgeqrf.c +1 -1
- data/ext/sgeqrfp.c +1 -1
- data/ext/sgerfs.c +31 -31
- data/ext/sgerfsx.c +25 -25
- data/ext/sgerqf.c +6 -6
- data/ext/sgesc2.c +13 -13
- data/ext/sgesdd.c +3 -3
- data/ext/sgesvd.c +4 -4
- data/ext/sgesvj.c +15 -15
- data/ext/sgesvx.c +32 -32
- data/ext/sgesvxx.c +26 -26
- data/ext/sgetf2.c +1 -1
- data/ext/sgetrf.c +1 -1
- data/ext/sgetri.c +10 -10
- data/ext/sgetrs.c +10 -10
- data/ext/sggbak.c +11 -11
- data/ext/sggbal.c +11 -11
- data/ext/sgges.c +15 -15
- data/ext/sggesx.c +6 -6
- data/ext/sggev.c +3 -3
- data/ext/sggevx.c +4 -4
- data/ext/sgghrd.c +14 -14
- data/ext/sggqrf.c +9 -9
- data/ext/sggrqf.c +1 -1
- data/ext/sggsvd.c +3 -3
- data/ext/sggsvp.c +4 -4
- data/ext/sgsvj0.c +20 -20
- data/ext/sgsvj1.c +26 -26
- data/ext/sgtcon.c +20 -20
- data/ext/sgtrfs.c +48 -48
- data/ext/sgtsv.c +8 -8
- data/ext/sgtsvx.c +55 -55
- data/ext/sgttrs.c +19 -19
- data/ext/sgtts2.c +20 -20
- data/ext/shgeqz.c +27 -27
- data/ext/shsein.c +42 -42
- data/ext/shseqr.c +4 -4
- data/ext/sla_gbamv.c +16 -16
- data/ext/sla_gbrcond.c +25 -25
- data/ext/sla_gbrfsx_extended.c +66 -66
- data/ext/sla_gbrpvgrw.c +13 -13
- data/ext/sla_geamv.c +4 -4
- data/ext/sla_gercond.c +31 -31
- data/ext/sla_gerfsx_extended.c +82 -82
- data/ext/sla_lin_berr.c +14 -14
- data/ext/sla_porcond.c +15 -15
- data/ext/sla_porfsx_extended.c +74 -74
- data/ext/sla_porpvgrw.c +2 -2
- data/ext/sla_rpvgrw.c +12 -12
- data/ext/sla_syamv.c +12 -12
- data/ext/sla_syrcond.c +31 -31
- data/ext/sla_syrfsx_extended.c +82 -82
- data/ext/sla_syrpvgrw.c +14 -14
- data/ext/sla_wwaddw.c +11 -11
- data/ext/slabad.c +1 -1
- data/ext/slabrd.c +2 -2
- data/ext/slacn2.c +2 -2
- data/ext/slacpy.c +1 -1
- data/ext/slaebz.c +43 -43
- data/ext/slaed0.c +2 -2
- data/ext/slaed1.c +20 -20
- data/ext/slaed2.c +21 -21
- data/ext/slaed3.c +30 -30
- data/ext/slaed4.c +12 -12
- data/ext/slaed5.c +11 -11
- data/ext/slaed6.c +12 -12
- data/ext/slaed7.c +35 -35
- data/ext/slaed8.c +16 -16
- data/ext/slaed9.c +14 -14
- data/ext/slaeda.c +31 -31
- data/ext/slaein.c +13 -13
- data/ext/slaexc.c +14 -14
- data/ext/slags2.c +4 -4
- data/ext/slagtf.c +10 -10
- data/ext/slagtm.c +21 -21
- data/ext/slagts.c +13 -13
- data/ext/slahqr.c +6 -6
- data/ext/slahr2.c +1 -1
- data/ext/slahrd.c +3 -3
- data/ext/slaic1.c +12 -12
- data/ext/slaln2.c +16 -16
- data/ext/slals0.c +37 -37
- data/ext/slalsa.c +72 -72
- data/ext/slalsd.c +4 -4
- data/ext/slamrg.c +2 -2
- data/ext/slaneg.c +1 -1
- data/ext/slangb.c +3 -3
- data/ext/slange.c +1 -1
- data/ext/slangt.c +10 -10
- data/ext/slanhs.c +1 -1
- data/ext/slansb.c +2 -2
- data/ext/slansf.c +3 -3
- data/ext/slansp.c +3 -3
- data/ext/slanst.c +1 -1
- data/ext/slansy.c +2 -2
- data/ext/slantb.c +2 -2
- data/ext/slantp.c +2 -2
- data/ext/slantr.c +3 -3
- data/ext/slapll.c +10 -10
- data/ext/slapmr.c +1 -1
- data/ext/slapmt.c +11 -11
- data/ext/slaqgb.c +2 -2
- data/ext/slaqge.c +10 -10
- data/ext/slaqp2.c +10 -10
- data/ext/slaqps.c +20 -20
- data/ext/slaqr0.c +3 -3
- data/ext/slaqr1.c +2 -2
- data/ext/slaqr2.c +18 -18
- data/ext/slaqr3.c +18 -18
- data/ext/slaqr4.c +3 -3
- data/ext/slaqr5.c +9 -9
- data/ext/slaqsb.c +13 -13
- data/ext/slaqsp.c +2 -2
- data/ext/slaqsy.c +12 -12
- data/ext/slaqtr.c +12 -12
- data/ext/slar1v.c +15 -15
- data/ext/slar2v.c +19 -19
- data/ext/slarf.c +2 -2
- data/ext/slarfb.c +16 -16
- data/ext/slarfg.c +1 -1
- data/ext/slarfgp.c +1 -1
- data/ext/slarft.c +2 -2
- data/ext/slarfx.c +2 -2
- data/ext/slargv.c +2 -2
- data/ext/slarnv.c +1 -1
- data/ext/slarra.c +20 -20
- data/ext/slarrb.c +22 -22
- data/ext/slarrc.c +13 -13
- data/ext/slarrd.c +25 -25
- data/ext/slarre.c +17 -17
- data/ext/slarrf.c +21 -21
- data/ext/slarrj.c +23 -23
- data/ext/slarrk.c +3 -3
- data/ext/slarrv.c +40 -40
- data/ext/slarscl2.c +8 -8
- data/ext/slartv.c +20 -20
- data/ext/slaruv.c +1 -1
- data/ext/slarz.c +11 -11
- data/ext/slarzb.c +14 -14
- data/ext/slarzt.c +2 -2
- data/ext/slascl.c +4 -4
- data/ext/slascl2.c +8 -8
- data/ext/slasd0.c +3 -3
- data/ext/slasd1.c +12 -12
- data/ext/slasd2.c +18 -18
- data/ext/slasd3.c +15 -15
- data/ext/slasd4.c +12 -12
- data/ext/slasd5.c +11 -11
- data/ext/slasd6.c +14 -14
- data/ext/slasd7.c +25 -25
- data/ext/slasd8.c +27 -27
- data/ext/slasda.c +5 -5
- data/ext/slasdq.c +20 -20
- data/ext/slaset.c +3 -3
- data/ext/slasq3.c +8 -8
- data/ext/slasq4.c +5 -5
- data/ext/slasq5.c +3 -3
- data/ext/slasq6.c +1 -1
- data/ext/slasr.c +2 -2
- data/ext/slasrt.c +1 -1
- data/ext/slassq.c +2 -2
- data/ext/slaswp.c +2 -2
- data/ext/slasy2.c +24 -24
- data/ext/slasyf.c +1 -1
- data/ext/slatbs.c +14 -14
- data/ext/slatdf.c +21 -21
- data/ext/slatps.c +12 -12
- data/ext/slatrd.c +1 -1
- data/ext/slatrs.c +15 -15
- data/ext/slatrz.c +1 -1
- data/ext/slatzm.c +2 -2
- data/ext/slauu2.c +1 -1
- data/ext/slauum.c +1 -1
- data/ext/sopgtr.c +8 -8
- data/ext/sopmtr.c +2 -2
- data/ext/sorbdb.c +15 -15
- data/ext/sorcsd.c +13 -13
- data/ext/sorg2l.c +9 -9
- data/ext/sorg2r.c +9 -9
- data/ext/sorgbr.c +1 -1
- data/ext/sorghr.c +7 -7
- data/ext/sorgl2.c +1 -1
- data/ext/sorglq.c +9 -9
- data/ext/sorgql.c +9 -9
- data/ext/sorgqr.c +9 -9
- data/ext/sorgr2.c +1 -1
- data/ext/sorgrq.c +9 -9
- data/ext/sorgtr.c +6 -6
- data/ext/sorm2l.c +12 -12
- data/ext/sorm2r.c +12 -12
- data/ext/sormbr.c +3 -3
- data/ext/sormhr.c +12 -12
- data/ext/sorml2.c +1 -1
- data/ext/sormlq.c +7 -7
- data/ext/sormql.c +12 -12
- data/ext/sormqr.c +12 -12
- data/ext/sormr2.c +1 -1
- data/ext/sormr3.c +10 -10
- data/ext/sormrq.c +7 -7
- data/ext/sormrz.c +10 -10
- data/ext/sormtr.c +17 -17
- data/ext/spbcon.c +3 -3
- data/ext/spbequ.c +1 -1
- data/ext/spbrfs.c +12 -12
- data/ext/spbstf.c +1 -1
- data/ext/spbsv.c +1 -1
- data/ext/spbsvx.c +23 -23
- data/ext/spbtf2.c +1 -1
- data/ext/spbtrf.c +1 -1
- data/ext/spbtrs.c +1 -1
- data/ext/spftrf.c +2 -2
- data/ext/spftri.c +2 -2
- data/ext/spftrs.c +2 -2
- data/ext/spocon.c +1 -1
- data/ext/sporfs.c +23 -23
- data/ext/sporfsx.c +22 -22
- data/ext/sposv.c +9 -9
- data/ext/sposvx.c +12 -12
- data/ext/sposvxx.c +20 -20
- data/ext/spotf2.c +1 -1
- data/ext/spotrf.c +1 -1
- data/ext/spotri.c +1 -1
- data/ext/spotrs.c +9 -9
- data/ext/sppcon.c +1 -1
- data/ext/sppequ.c +1 -1
- data/ext/spprfs.c +20 -20
- data/ext/sppsv.c +1 -1
- data/ext/sppsvx.c +12 -12
- data/ext/spptrf.c +1 -1
- data/ext/spptri.c +1 -1
- data/ext/spptrs.c +1 -1
- data/ext/spstf2.c +2 -2
- data/ext/spstrf.c +2 -2
- data/ext/sptcon.c +1 -1
- data/ext/spteqr.c +10 -10
- data/ext/sptrfs.c +30 -30
- data/ext/sptsv.c +8 -8
- data/ext/sptsvx.c +19 -19
- data/ext/spttrs.c +8 -8
- data/ext/sptts2.c +8 -8
- data/ext/srscl.c +2 -2
- data/ext/ssbev.c +3 -3
- data/ext/ssbevd.c +9 -9
- data/ext/ssbevx.c +7 -7
- data/ext/ssbgst.c +15 -15
- data/ext/ssbgv.c +15 -15
- data/ext/ssbgvd.c +20 -20
- data/ext/ssbgvx.c +10 -10
- data/ext/ssbtrd.c +13 -13
- data/ext/ssfrk.c +5 -5
- data/ext/sspcon.c +1 -1
- data/ext/sspev.c +2 -2
- data/ext/sspevd.c +7 -7
- data/ext/sspevx.c +7 -7
- data/ext/sspgst.c +10 -10
- data/ext/sspgv.c +2 -2
- data/ext/sspgvd.c +7 -7
- data/ext/sspgvx.c +8 -8
- data/ext/ssprfs.c +10 -10
- data/ext/sspsv.c +1 -1
- data/ext/sspsvx.c +20 -20
- data/ext/ssptrd.c +1 -1
- data/ext/ssptrf.c +1 -1
- data/ext/ssptri.c +1 -1
- data/ext/ssptrs.c +1 -1
- data/ext/sstebz.c +5 -5
- data/ext/sstedc.c +5 -5
- data/ext/sstegr.c +18 -18
- data/ext/sstein.c +14 -14
- data/ext/sstemr.c +22 -22
- data/ext/ssteqr.c +10 -10
- data/ext/sstev.c +1 -1
- data/ext/sstevd.c +7 -7
- data/ext/sstevr.c +16 -16
- data/ext/sstevx.c +6 -6
- data/ext/ssycon.c +12 -12
- data/ext/ssyconv.c +12 -12
- data/ext/ssyequb.c +1 -1
- data/ext/ssyev.c +2 -2
- data/ext/ssyevd.c +1 -1
- data/ext/ssyevr.c +6 -6
- data/ext/ssyevx.c +7 -7
- data/ext/ssygs2.c +2 -2
- data/ext/ssygst.c +2 -2
- data/ext/ssygv.c +13 -13
- data/ext/ssygvd.c +18 -18
- data/ext/ssygvx.c +22 -22
- data/ext/ssyrfs.c +31 -31
- data/ext/ssyrfsx.c +43 -43
- data/ext/ssysv.c +10 -10
- data/ext/ssysvx.c +15 -15
- data/ext/ssysvxx.c +41 -41
- data/ext/ssyswapr.c +2 -2
- data/ext/ssytd2.c +1 -1
- data/ext/ssytf2.c +1 -1
- data/ext/ssytrd.c +2 -2
- data/ext/ssytrf.c +2 -2
- data/ext/ssytri.c +1 -1
- data/ext/ssytri2.c +11 -11
- data/ext/ssytri2x.c +2 -2
- data/ext/ssytrs.c +10 -10
- data/ext/ssytrs2.c +10 -10
- data/ext/stbcon.c +3 -3
- data/ext/stbrfs.c +14 -14
- data/ext/stbtrs.c +2 -2
- data/ext/stfsm.c +13 -13
- data/ext/stftri.c +1 -1
- data/ext/stfttp.c +1 -1
- data/ext/stfttr.c +1 -1
- data/ext/stgevc.c +32 -32
- data/ext/stgex2.c +16 -16
- data/ext/stgexc.c +26 -26
- data/ext/stgsen.c +37 -37
- data/ext/stgsja.c +26 -26
- data/ext/stgsna.c +24 -24
- data/ext/stgsy2.c +22 -22
- data/ext/stgsyl.c +42 -42
- data/ext/stpcon.c +2 -2
- data/ext/stprfs.c +13 -13
- data/ext/stptri.c +1 -1
- data/ext/stptrs.c +3 -3
- data/ext/stpttf.c +1 -1
- data/ext/stpttr.c +1 -1
- data/ext/strcon.c +3 -3
- data/ext/strevc.c +12 -12
- data/ext/strexc.c +1 -1
- data/ext/strrfs.c +11 -11
- data/ext/strsen.c +13 -13
- data/ext/strsna.c +20 -20
- data/ext/strsyl.c +11 -11
- data/ext/strti2.c +1 -1
- data/ext/strtri.c +1 -1
- data/ext/strtrs.c +10 -10
- data/ext/strttf.c +1 -1
- data/ext/strttp.c +1 -1
- data/ext/xerbla_array.c +1 -1
- data/ext/zbbcsd.c +34 -34
- data/ext/zbdsqr.c +20 -20
- data/ext/zcposv.c +10 -10
- data/ext/zdrscl.c +2 -2
- data/ext/zgbbrd.c +12 -12
- data/ext/zgbcon.c +13 -13
- data/ext/zgbequ.c +3 -3
- data/ext/zgbequb.c +2 -2
- data/ext/zgbrfs.c +22 -22
- data/ext/zgbrfsx.c +43 -43
- data/ext/zgbsv.c +2 -2
- data/ext/zgbsvx.c +25 -25
- data/ext/zgbsvxx.c +36 -36
- data/ext/zgbtf2.c +3 -3
- data/ext/zgbtrf.c +3 -3
- data/ext/zgbtrs.c +11 -11
- data/ext/zgebak.c +11 -11
- data/ext/zgebal.c +1 -1
- data/ext/zgebd2.c +1 -1
- data/ext/zgebrd.c +1 -1
- data/ext/zgecon.c +1 -1
- data/ext/zgees.c +3 -3
- data/ext/zgeesx.c +4 -4
- data/ext/zgeev.c +4 -4
- data/ext/zgeevx.c +5 -5
- data/ext/zgegs.c +2 -2
- data/ext/zgegv.c +3 -3
- data/ext/zgehd2.c +1 -1
- data/ext/zgehrd.c +2 -2
- data/ext/zgelqf.c +6 -6
- data/ext/zgels.c +2 -2
- data/ext/zgelsd.c +9 -9
- data/ext/zgelss.c +2 -2
- data/ext/zgelsx.c +12 -12
- data/ext/zgelsy.c +12 -12
- data/ext/zgeql2.c +1 -1
- data/ext/zgeqlf.c +1 -1
- data/ext/zgeqp3.c +11 -11
- data/ext/zgeqpf.c +11 -11
- data/ext/zgeqr2.c +1 -1
- data/ext/zgeqr2p.c +1 -1
- data/ext/zgeqrf.c +1 -1
- data/ext/zgeqrfp.c +1 -1
- data/ext/zgerfs.c +31 -31
- data/ext/zgerfsx.c +25 -25
- data/ext/zgerqf.c +6 -6
- data/ext/zgesc2.c +13 -13
- data/ext/zgesdd.c +3 -3
- data/ext/zgesvd.c +4 -4
- data/ext/zgesvx.c +32 -32
- data/ext/zgesvxx.c +26 -26
- data/ext/zgetf2.c +1 -1
- data/ext/zgetrf.c +1 -1
- data/ext/zgetri.c +10 -10
- data/ext/zgetrs.c +10 -10
- data/ext/zggbak.c +11 -11
- data/ext/zggbal.c +11 -11
- data/ext/zgges.c +15 -15
- data/ext/zggesx.c +6 -6
- data/ext/zggev.c +3 -3
- data/ext/zggevx.c +5 -5
- data/ext/zgghrd.c +14 -14
- data/ext/zggqrf.c +9 -9
- data/ext/zggrqf.c +1 -1
- data/ext/zggsvd.c +3 -3
- data/ext/zggsvp.c +4 -4
- data/ext/zgtcon.c +20 -20
- data/ext/zgtrfs.c +48 -48
- data/ext/zgtsv.c +8 -8
- data/ext/zgtsvx.c +55 -55
- data/ext/zgttrs.c +19 -19
- data/ext/zgtts2.c +20 -20
- data/ext/zhbev.c +3 -3
- data/ext/zhbevd.c +9 -9
- data/ext/zhbevx.c +7 -7
- data/ext/zhbgst.c +15 -15
- data/ext/zhbgv.c +15 -15
- data/ext/zhbgvd.c +20 -20
- data/ext/zhbgvx.c +9 -9
- data/ext/zhbtrd.c +13 -13
- data/ext/zhecon.c +12 -12
- data/ext/zheequb.c +1 -1
- data/ext/zheev.c +2 -2
- data/ext/zheevd.c +7 -7
- data/ext/zheevr.c +12 -12
- data/ext/zheevx.c +7 -7
- data/ext/zhegs2.c +2 -2
- data/ext/zhegst.c +2 -2
- data/ext/zhegv.c +13 -13
- data/ext/zhegvd.c +18 -18
- data/ext/zhegvx.c +19 -19
- data/ext/zherfs.c +31 -31
- data/ext/zherfsx.c +43 -43
- data/ext/zhesv.c +10 -10
- data/ext/zhesvx.c +15 -15
- data/ext/zhesvxx.c +41 -41
- data/ext/zhetd2.c +1 -1
- data/ext/zhetf2.c +1 -1
- data/ext/zhetrd.c +2 -2
- data/ext/zhetrf.c +2 -2
- data/ext/zhetri.c +1 -1
- data/ext/zhetrs.c +10 -10
- data/ext/zhetrs2.c +10 -10
- data/ext/zhfrk.c +6 -6
- data/ext/zhgeqz.c +27 -27
- data/ext/zhpcon.c +1 -1
- data/ext/zhpev.c +2 -2
- data/ext/zhpevd.c +2 -2
- data/ext/zhpevx.c +7 -7
- data/ext/zhpgst.c +10 -10
- data/ext/zhpgv.c +2 -2
- data/ext/zhpgvd.c +11 -11
- data/ext/zhpgvx.c +8 -8
- data/ext/zhprfs.c +10 -10
- data/ext/zhpsv.c +1 -1
- data/ext/zhpsvx.c +20 -20
- data/ext/zhptrd.c +1 -1
- data/ext/zhptrf.c +1 -1
- data/ext/zhptri.c +1 -1
- data/ext/zhptrs.c +1 -1
- data/ext/zhsein.c +21 -21
- data/ext/zhseqr.c +4 -4
- data/ext/zla_gbamv.c +14 -14
- data/ext/zla_gbrcond_c.c +33 -33
- data/ext/zla_gbrcond_x.c +32 -32
- data/ext/zla_gbrfsx_extended.c +78 -78
- data/ext/zla_gbrpvgrw.c +13 -13
- data/ext/zla_geamv.c +4 -4
- data/ext/zla_gercond_c.c +31 -31
- data/ext/zla_gercond_x.c +30 -30
- data/ext/zla_gerfsx_extended.c +70 -70
- data/ext/zla_heamv.c +12 -12
- data/ext/zla_hercond_c.c +31 -31
- data/ext/zla_hercond_x.c +30 -30
- data/ext/zla_herfsx_extended.c +82 -82
- data/ext/zla_herpvgrw.c +14 -14
- data/ext/zla_lin_berr.c +14 -14
- data/ext/zla_porcond_c.c +23 -23
- data/ext/zla_porcond_x.c +22 -22
- data/ext/zla_porfsx_extended.c +74 -74
- data/ext/zla_porpvgrw.c +2 -2
- data/ext/zla_rpvgrw.c +12 -12
- data/ext/zla_syamv.c +12 -12
- data/ext/zla_syrcond_c.c +31 -31
- data/ext/zla_syrcond_x.c +30 -30
- data/ext/zla_syrfsx_extended.c +82 -82
- data/ext/zla_syrpvgrw.c +14 -14
- data/ext/zla_wwaddw.c +11 -11
- data/ext/zlabrd.c +2 -2
- data/ext/zlacn2.c +2 -2
- data/ext/zlacp2.c +1 -1
- data/ext/zlacpy.c +1 -1
- data/ext/zlacrm.c +11 -11
- data/ext/zlacrt.c +12 -12
- data/ext/zlaed7.c +42 -42
- data/ext/zlaed8.c +27 -27
- data/ext/zlaein.c +14 -14
- data/ext/zlag2c.c +2 -2
- data/ext/zlags2.c +5 -5
- data/ext/zlagtm.c +21 -21
- data/ext/zlahef.c +1 -1
- data/ext/zlahqr.c +6 -6
- data/ext/zlahr2.c +1 -1
- data/ext/zlahrd.c +1 -1
- data/ext/zlaic1.c +12 -12
- data/ext/zlals0.c +37 -37
- data/ext/zlalsa.c +72 -72
- data/ext/zlalsd.c +4 -4
- data/ext/zlangb.c +3 -3
- data/ext/zlange.c +1 -1
- data/ext/zlangt.c +10 -10
- data/ext/zlanhb.c +2 -2
- data/ext/zlanhe.c +2 -2
- data/ext/zlanhf.c +3 -3
- data/ext/zlanhp.c +3 -3
- data/ext/zlanhs.c +1 -1
- data/ext/zlanht.c +1 -1
- data/ext/zlansb.c +2 -2
- data/ext/zlansp.c +3 -3
- data/ext/zlansy.c +2 -2
- data/ext/zlantb.c +2 -2
- data/ext/zlantp.c +2 -2
- data/ext/zlantr.c +3 -3
- data/ext/zlapll.c +10 -10
- data/ext/zlapmr.c +1 -1
- data/ext/zlapmt.c +11 -11
- data/ext/zlaqgb.c +2 -2
- data/ext/zlaqge.c +10 -10
- data/ext/zlaqhb.c +2 -2
- data/ext/zlaqhe.c +12 -12
- data/ext/zlaqhp.c +2 -2
- data/ext/zlaqp2.c +10 -10
- data/ext/zlaqps.c +20 -20
- data/ext/zlaqr0.c +17 -17
- data/ext/zlaqr1.c +4 -4
- data/ext/zlaqr2.c +18 -18
- data/ext/zlaqr3.c +18 -18
- data/ext/zlaqr4.c +7 -7
- data/ext/zlaqr5.c +21 -21
- data/ext/zlaqsb.c +13 -13
- data/ext/zlaqsp.c +2 -2
- data/ext/zlaqsy.c +12 -12
- data/ext/zlar1v.c +15 -15
- data/ext/zlar2v.c +19 -19
- data/ext/zlarf.c +2 -2
- data/ext/zlarfb.c +16 -16
- data/ext/zlarfg.c +1 -1
- data/ext/zlarfgp.c +1 -1
- data/ext/zlarft.c +2 -2
- data/ext/zlarfx.c +3 -3
- data/ext/zlargv.c +2 -2
- data/ext/zlarnv.c +1 -1
- data/ext/zlarrv.c +40 -40
- data/ext/zlarscl2.c +8 -8
- data/ext/zlartv.c +20 -20
- data/ext/zlarz.c +11 -11
- data/ext/zlarzb.c +14 -14
- data/ext/zlarzt.c +2 -2
- data/ext/zlascl.c +4 -4
- data/ext/zlascl2.c +8 -8
- data/ext/zlaset.c +4 -4
- data/ext/zlasr.c +2 -2
- data/ext/zlassq.c +2 -2
- data/ext/zlaswp.c +2 -2
- data/ext/zlasyf.c +1 -1
- data/ext/zlat2c.c +1 -1
- data/ext/zlatbs.c +14 -14
- data/ext/zlatdf.c +21 -21
- data/ext/zlatps.c +12 -12
- data/ext/zlatrd.c +1 -1
- data/ext/zlatrs.c +15 -15
- data/ext/zlatrz.c +1 -1
- data/ext/zlatzm.c +3 -3
- data/ext/zlauu2.c +1 -1
- data/ext/zlauum.c +1 -1
- data/ext/zpbcon.c +3 -3
- data/ext/zpbequ.c +1 -1
- data/ext/zpbrfs.c +12 -12
- data/ext/zpbstf.c +1 -1
- data/ext/zpbsv.c +1 -1
- data/ext/zpbsvx.c +23 -23
- data/ext/zpbtf2.c +1 -1
- data/ext/zpbtrf.c +1 -1
- data/ext/zpbtrs.c +1 -1
- data/ext/zpftrf.c +2 -2
- data/ext/zpftri.c +2 -2
- data/ext/zpftrs.c +2 -2
- data/ext/zpocon.c +1 -1
- data/ext/zporfs.c +23 -23
- data/ext/zporfsx.c +22 -22
- data/ext/zposv.c +9 -9
- data/ext/zposvx.c +12 -12
- data/ext/zposvxx.c +20 -20
- data/ext/zpotf2.c +1 -1
- data/ext/zpotrf.c +1 -1
- data/ext/zpotri.c +1 -1
- data/ext/zpotrs.c +9 -9
- data/ext/zppcon.c +1 -1
- data/ext/zppequ.c +1 -1
- data/ext/zpprfs.c +20 -20
- data/ext/zppsv.c +1 -1
- data/ext/zppsvx.c +12 -12
- data/ext/zpptrf.c +1 -1
- data/ext/zpptri.c +1 -1
- data/ext/zpptrs.c +1 -1
- data/ext/zpstf2.c +2 -2
- data/ext/zpstrf.c +2 -2
- data/ext/zptcon.c +1 -1
- data/ext/zpteqr.c +10 -10
- data/ext/zptrfs.c +12 -12
- data/ext/zptsv.c +1 -1
- data/ext/zptsvx.c +19 -19
- data/ext/zpttrs.c +1 -1
- data/ext/zptts2.c +1 -1
- data/ext/zrot.c +11 -11
- data/ext/zspcon.c +1 -1
- data/ext/zspmv.c +15 -15
- data/ext/zspr.c +11 -11
- data/ext/zsprfs.c +10 -10
- data/ext/zspsv.c +1 -1
- data/ext/zspsvx.c +20 -20
- data/ext/zsptrf.c +1 -1
- data/ext/zsptri.c +1 -1
- data/ext/zsptrs.c +1 -1
- data/ext/zstedc.c +10 -10
- data/ext/zstegr.c +18 -18
- data/ext/zstein.c +14 -14
- data/ext/zstemr.c +22 -22
- data/ext/zsteqr.c +10 -10
- data/ext/zsycon.c +12 -12
- data/ext/zsyconv.c +12 -12
- data/ext/zsyequb.c +1 -1
- data/ext/zsymv.c +13 -13
- data/ext/zsyr.c +4 -4
- data/ext/zsyrfs.c +31 -31
- data/ext/zsyrfsx.c +43 -43
- data/ext/zsysv.c +10 -10
- data/ext/zsysvx.c +15 -15
- data/ext/zsysvxx.c +41 -41
- data/ext/zsyswapr.c +2 -2
- data/ext/zsytf2.c +1 -1
- data/ext/zsytrf.c +2 -2
- data/ext/zsytri.c +1 -1
- data/ext/zsytri2.c +3 -3
- data/ext/zsytri2x.c +2 -2
- data/ext/zsytrs.c +10 -10
- data/ext/zsytrs2.c +10 -10
- data/ext/ztbcon.c +3 -3
- data/ext/ztbrfs.c +14 -14
- data/ext/ztbtrs.c +2 -2
- data/ext/ztfsm.c +5 -5
- data/ext/ztftri.c +1 -1
- data/ext/ztfttp.c +1 -1
- data/ext/ztfttr.c +1 -1
- data/ext/ztgevc.c +32 -32
- data/ext/ztgex2.c +14 -14
- data/ext/ztgexc.c +25 -25
- data/ext/ztgsen.c +37 -37
- data/ext/ztgsja.c +26 -26
- data/ext/ztgsna.c +24 -24
- data/ext/ztgsy2.c +22 -22
- data/ext/ztgsyl.c +42 -42
- data/ext/ztpcon.c +2 -2
- data/ext/ztprfs.c +13 -13
- data/ext/ztptri.c +1 -1
- data/ext/ztptrs.c +3 -3
- data/ext/ztpttf.c +1 -1
- data/ext/ztpttr.c +1 -1
- data/ext/ztrcon.c +3 -3
- data/ext/ztrevc.c +12 -12
- data/ext/ztrexc.c +1 -1
- data/ext/ztrrfs.c +11 -11
- data/ext/ztrsen.c +13 -13
- data/ext/ztrsna.c +20 -20
- data/ext/ztrsyl.c +11 -11
- data/ext/ztrti2.c +1 -1
- data/ext/ztrtri.c +1 -1
- data/ext/ztrtrs.c +10 -10
- data/ext/ztrttf.c +1 -1
- data/ext/ztrttp.c +1 -1
- data/ext/zunbdb.c +15 -15
- data/ext/zuncsd.c +27 -27
- data/ext/zung2l.c +9 -9
- data/ext/zung2r.c +9 -9
- data/ext/zungbr.c +1 -1
- data/ext/zunghr.c +7 -7
- data/ext/zungl2.c +1 -1
- data/ext/zunglq.c +9 -9
- data/ext/zungql.c +9 -9
- data/ext/zungqr.c +9 -9
- data/ext/zungr2.c +1 -1
- data/ext/zungrq.c +9 -9
- data/ext/zungtr.c +6 -6
- data/ext/zunm2l.c +12 -12
- data/ext/zunm2r.c +12 -12
- data/ext/zunmbr.c +3 -3
- data/ext/zunmhr.c +12 -12
- data/ext/zunml2.c +1 -1
- data/ext/zunmlq.c +7 -7
- data/ext/zunmql.c +12 -12
- data/ext/zunmqr.c +12 -12
- data/ext/zunmr2.c +1 -1
- data/ext/zunmr3.c +10 -10
- data/ext/zunmrq.c +7 -7
- data/ext/zunmrz.c +10 -10
- data/ext/zunmtr.c +17 -17
- data/ext/zupgtr.c +8 -8
- data/ext/zupmtr.c +2 -2
- metadata +3183 -3329
- data/doc/bd.html +0 -16
- data/doc/c.html +0 -36
- data/doc/cbd.html +0 -161
- data/doc/cgb.html +0 -1865
- data/doc/cge.html +0 -5261
- data/doc/cgg.html +0 -2027
- data/doc/cgt.html +0 -711
- data/doc/chb.html +0 -1031
- data/doc/che.html +0 -3165
- data/doc/chg.html +0 -201
- data/doc/chp.html +0 -1696
- data/doc/chs.html +0 -386
- data/doc/cpb.html +0 -994
- data/doc/cpo.html +0 -1520
- data/doc/cpp.html +0 -770
- data/doc/cpt.html +0 -706
- data/doc/csp.html +0 -905
- data/doc/cst.html +0 -742
- data/doc/csy.html +0 -2194
- data/doc/ctb.html +0 -284
- data/doc/ctg.html +0 -1544
- data/doc/ctp.html +0 -553
- data/doc/ctr.html +0 -1281
- data/doc/ctz.html +0 -211
- data/doc/cun.html +0 -2553
- data/doc/cup.html +0 -166
- data/doc/d.html +0 -35
- data/doc/dbd.html +0 -304
- data/doc/ddi.html +0 -87
- data/doc/dgb.html +0 -1857
- data/doc/dge.html +0 -7267
- data/doc/dgg.html +0 -2102
- data/doc/dgt.html +0 -713
- data/doc/dhg.html +0 -225
- data/doc/dhs.html +0 -414
- data/doc/di.html +0 -14
- data/doc/dop.html +0 -166
- data/doc/dor.html +0 -2540
- data/doc/dpb.html +0 -992
- data/doc/dpo.html +0 -1517
- data/doc/dpp.html +0 -770
- data/doc/dpt.html +0 -675
- data/doc/dsb.html +0 -995
- data/doc/dsp.html +0 -1777
- data/doc/dst.html +0 -1422
- data/doc/dsy.html +0 -3433
- data/doc/dtb.html +0 -284
- data/doc/dtg.html +0 -1730
- data/doc/dtp.html +0 -532
- data/doc/dtr.html +0 -1346
- data/doc/dtz.html +0 -211
- data/doc/gb.html +0 -16
- data/doc/ge.html +0 -16
- data/doc/gg.html +0 -16
- data/doc/gt.html +0 -16
- data/doc/hb.html +0 -14
- data/doc/he.html +0 -14
- data/doc/hg.html +0 -16
- data/doc/hp.html +0 -14
- data/doc/hs.html +0 -16
- data/doc/index.html +0 -53
- data/doc/op.html +0 -14
- data/doc/or.html +0 -14
- data/doc/others.html +0 -1142
- data/doc/pb.html +0 -16
- data/doc/po.html +0 -16
- data/doc/pp.html +0 -16
- data/doc/pt.html +0 -16
- data/doc/s.html +0 -35
- data/doc/sb.html +0 -14
- data/doc/sbd.html +0 -303
- data/doc/sdi.html +0 -87
- data/doc/sgb.html +0 -1863
- data/doc/sge.html +0 -7263
- data/doc/sgg.html +0 -2102
- data/doc/sgt.html +0 -713
- data/doc/shg.html +0 -225
- data/doc/shs.html +0 -414
- data/doc/sop.html +0 -166
- data/doc/sor.html +0 -2540
- data/doc/sp.html +0 -16
- data/doc/spb.html +0 -992
- data/doc/spo.html +0 -1520
- data/doc/spp.html +0 -770
- data/doc/spt.html +0 -675
- data/doc/ssb.html +0 -995
- data/doc/ssp.html +0 -1647
- data/doc/sst.html +0 -1423
- data/doc/ssy.html +0 -3438
- data/doc/st.html +0 -16
- data/doc/stb.html +0 -284
- data/doc/stg.html +0 -1729
- data/doc/stp.html +0 -532
- data/doc/str.html +0 -1346
- data/doc/stz.html +0 -211
- data/doc/sy.html +0 -16
- data/doc/tb.html +0 -16
- data/doc/tg.html +0 -16
- data/doc/tp.html +0 -16
- data/doc/tr.html +0 -16
- data/doc/tz.html +0 -16
- data/doc/un.html +0 -14
- data/doc/up.html +0 -14
- data/doc/z.html +0 -36
- data/doc/zbd.html +0 -161
- data/doc/zgb.html +0 -1862
- data/doc/zge.html +0 -5258
- data/doc/zgg.html +0 -2027
- data/doc/zgt.html +0 -711
- data/doc/zhb.html +0 -1031
- data/doc/zhe.html +0 -3162
- data/doc/zhg.html +0 -201
- data/doc/zhp.html +0 -1697
- data/doc/zhs.html +0 -386
- data/doc/zpb.html +0 -994
- data/doc/zpo.html +0 -1517
- data/doc/zpp.html +0 -770
- data/doc/zpt.html +0 -706
- data/doc/zsp.html +0 -905
- data/doc/zst.html +0 -743
- data/doc/zsy.html +0 -2191
- data/doc/ztb.html +0 -284
- data/doc/ztg.html +0 -1544
- data/doc/ztp.html +0 -553
- data/doc/ztr.html +0 -1281
- data/doc/ztz.html +0 -211
- data/doc/zun.html +0 -2553
- data/doc/zup.html +0 -166
data/doc/ctb.html
DELETED
@@ -1,284 +0,0 @@
|
|
1
|
-
<HTML>
|
2
|
-
<HEAD>
|
3
|
-
<TITLE>COMPLEX routines for triangular band matrix</TITLE>
|
4
|
-
</HEAD>
|
5
|
-
<BODY>
|
6
|
-
<A NAME="top"></A>
|
7
|
-
<H1>COMPLEX routines for triangular band matrix</H1>
|
8
|
-
<UL>
|
9
|
-
<LI><A HREF="#ctbcon">ctbcon</A></LI>
|
10
|
-
<LI><A HREF="#ctbrfs">ctbrfs</A></LI>
|
11
|
-
<LI><A HREF="#ctbtrs">ctbtrs</A></LI>
|
12
|
-
</UL>
|
13
|
-
|
14
|
-
<A NAME="ctbcon"></A>
|
15
|
-
<H2>ctbcon</H2>
|
16
|
-
<PRE>
|
17
|
-
USAGE:
|
18
|
-
rcond, info = NumRu::Lapack.ctbcon( norm, uplo, diag, kd, ab, [:usage => usage, :help => help])
|
19
|
-
|
20
|
-
|
21
|
-
FORTRAN MANUAL
|
22
|
-
SUBROUTINE CTBCON( NORM, UPLO, DIAG, N, KD, AB, LDAB, RCOND, WORK, RWORK, INFO )
|
23
|
-
|
24
|
-
* Purpose
|
25
|
-
* =======
|
26
|
-
*
|
27
|
-
* CTBCON estimates the reciprocal of the condition number of a
|
28
|
-
* triangular band matrix A, in either the 1-norm or the infinity-norm.
|
29
|
-
*
|
30
|
-
* The norm of A is computed and an estimate is obtained for
|
31
|
-
* norm(inv(A)), then the reciprocal of the condition number is
|
32
|
-
* computed as
|
33
|
-
* RCOND = 1 / ( norm(A) * norm(inv(A)) ).
|
34
|
-
*
|
35
|
-
|
36
|
-
* Arguments
|
37
|
-
* =========
|
38
|
-
*
|
39
|
-
* NORM (input) CHARACTER*1
|
40
|
-
* Specifies whether the 1-norm condition number or the
|
41
|
-
* infinity-norm condition number is required:
|
42
|
-
* = '1' or 'O': 1-norm;
|
43
|
-
* = 'I': Infinity-norm.
|
44
|
-
*
|
45
|
-
* UPLO (input) CHARACTER*1
|
46
|
-
* = 'U': A is upper triangular;
|
47
|
-
* = 'L': A is lower triangular.
|
48
|
-
*
|
49
|
-
* DIAG (input) CHARACTER*1
|
50
|
-
* = 'N': A is non-unit triangular;
|
51
|
-
* = 'U': A is unit triangular.
|
52
|
-
*
|
53
|
-
* N (input) INTEGER
|
54
|
-
* The order of the matrix A. N >= 0.
|
55
|
-
*
|
56
|
-
* KD (input) INTEGER
|
57
|
-
* The number of superdiagonals or subdiagonals of the
|
58
|
-
* triangular band matrix A. KD >= 0.
|
59
|
-
*
|
60
|
-
* AB (input) COMPLEX array, dimension (LDAB,N)
|
61
|
-
* The upper or lower triangular band matrix A, stored in the
|
62
|
-
* first kd+1 rows of the array. The j-th column of A is stored
|
63
|
-
* in the j-th column of the array AB as follows:
|
64
|
-
* if UPLO = 'U', AB(kd+1+i-j,j) = A(i,j) for max(1,j-kd)<=i<=j;
|
65
|
-
* if UPLO = 'L', AB(1+i-j,j) = A(i,j) for j<=i<=min(n,j+kd).
|
66
|
-
* If DIAG = 'U', the diagonal elements of A are not referenced
|
67
|
-
* and are assumed to be 1.
|
68
|
-
*
|
69
|
-
* LDAB (input) INTEGER
|
70
|
-
* The leading dimension of the array AB. LDAB >= KD+1.
|
71
|
-
*
|
72
|
-
* RCOND (output) REAL
|
73
|
-
* The reciprocal of the condition number of the matrix A,
|
74
|
-
* computed as RCOND = 1/(norm(A) * norm(inv(A))).
|
75
|
-
*
|
76
|
-
* WORK (workspace) COMPLEX array, dimension (2*N)
|
77
|
-
*
|
78
|
-
* RWORK (workspace) REAL array, dimension (N)
|
79
|
-
*
|
80
|
-
* INFO (output) INTEGER
|
81
|
-
* = 0: successful exit
|
82
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value
|
83
|
-
*
|
84
|
-
|
85
|
-
* =====================================================================
|
86
|
-
*
|
87
|
-
|
88
|
-
|
89
|
-
</PRE>
|
90
|
-
<A HREF="#top">go to the page top</A>
|
91
|
-
|
92
|
-
<A NAME="ctbrfs"></A>
|
93
|
-
<H2>ctbrfs</H2>
|
94
|
-
<PRE>
|
95
|
-
USAGE:
|
96
|
-
ferr, berr, info = NumRu::Lapack.ctbrfs( uplo, trans, diag, kd, ab, b, x, [:usage => usage, :help => help])
|
97
|
-
|
98
|
-
|
99
|
-
FORTRAN MANUAL
|
100
|
-
SUBROUTINE CTBRFS( UPLO, TRANS, DIAG, N, KD, NRHS, AB, LDAB, B, LDB, X, LDX, FERR, BERR, WORK, RWORK, INFO )
|
101
|
-
|
102
|
-
* Purpose
|
103
|
-
* =======
|
104
|
-
*
|
105
|
-
* CTBRFS provides error bounds and backward error estimates for the
|
106
|
-
* solution to a system of linear equations with a triangular band
|
107
|
-
* coefficient matrix.
|
108
|
-
*
|
109
|
-
* The solution matrix X must be computed by CTBTRS or some other
|
110
|
-
* means before entering this routine. CTBRFS does not do iterative
|
111
|
-
* refinement because doing so cannot improve the backward error.
|
112
|
-
*
|
113
|
-
|
114
|
-
* Arguments
|
115
|
-
* =========
|
116
|
-
*
|
117
|
-
* UPLO (input) CHARACTER*1
|
118
|
-
* = 'U': A is upper triangular;
|
119
|
-
* = 'L': A is lower triangular.
|
120
|
-
*
|
121
|
-
* TRANS (input) CHARACTER*1
|
122
|
-
* Specifies the form of the system of equations:
|
123
|
-
* = 'N': A * X = B (No transpose)
|
124
|
-
* = 'T': A**T * X = B (Transpose)
|
125
|
-
* = 'C': A**H * X = B (Conjugate transpose)
|
126
|
-
*
|
127
|
-
* DIAG (input) CHARACTER*1
|
128
|
-
* = 'N': A is non-unit triangular;
|
129
|
-
* = 'U': A is unit triangular.
|
130
|
-
*
|
131
|
-
* N (input) INTEGER
|
132
|
-
* The order of the matrix A. N >= 0.
|
133
|
-
*
|
134
|
-
* KD (input) INTEGER
|
135
|
-
* The number of superdiagonals or subdiagonals of the
|
136
|
-
* triangular band matrix A. KD >= 0.
|
137
|
-
*
|
138
|
-
* NRHS (input) INTEGER
|
139
|
-
* The number of right hand sides, i.e., the number of columns
|
140
|
-
* of the matrices B and X. NRHS >= 0.
|
141
|
-
*
|
142
|
-
* AB (input) COMPLEX array, dimension (LDAB,N)
|
143
|
-
* The upper or lower triangular band matrix A, stored in the
|
144
|
-
* first kd+1 rows of the array. The j-th column of A is stored
|
145
|
-
* in the j-th column of the array AB as follows:
|
146
|
-
* if UPLO = 'U', AB(kd+1+i-j,j) = A(i,j) for max(1,j-kd)<=i<=j;
|
147
|
-
* if UPLO = 'L', AB(1+i-j,j) = A(i,j) for j<=i<=min(n,j+kd).
|
148
|
-
* If DIAG = 'U', the diagonal elements of A are not referenced
|
149
|
-
* and are assumed to be 1.
|
150
|
-
*
|
151
|
-
* LDAB (input) INTEGER
|
152
|
-
* The leading dimension of the array AB. LDAB >= KD+1.
|
153
|
-
*
|
154
|
-
* B (input) COMPLEX array, dimension (LDB,NRHS)
|
155
|
-
* The right hand side matrix B.
|
156
|
-
*
|
157
|
-
* LDB (input) INTEGER
|
158
|
-
* The leading dimension of the array B. LDB >= max(1,N).
|
159
|
-
*
|
160
|
-
* X (input) COMPLEX array, dimension (LDX,NRHS)
|
161
|
-
* The solution matrix X.
|
162
|
-
*
|
163
|
-
* LDX (input) INTEGER
|
164
|
-
* The leading dimension of the array X. LDX >= max(1,N).
|
165
|
-
*
|
166
|
-
* FERR (output) REAL array, dimension (NRHS)
|
167
|
-
* The estimated forward error bound for each solution vector
|
168
|
-
* X(j) (the j-th column of the solution matrix X).
|
169
|
-
* If XTRUE is the true solution corresponding to X(j), FERR(j)
|
170
|
-
* is an estimated upper bound for the magnitude of the largest
|
171
|
-
* element in (X(j) - XTRUE) divided by the magnitude of the
|
172
|
-
* largest element in X(j). The estimate is as reliable as
|
173
|
-
* the estimate for RCOND, and is almost always a slight
|
174
|
-
* overestimate of the true error.
|
175
|
-
*
|
176
|
-
* BERR (output) REAL array, dimension (NRHS)
|
177
|
-
* The componentwise relative backward error of each solution
|
178
|
-
* vector X(j) (i.e., the smallest relative change in
|
179
|
-
* any element of A or B that makes X(j) an exact solution).
|
180
|
-
*
|
181
|
-
* WORK (workspace) COMPLEX array, dimension (2*N)
|
182
|
-
*
|
183
|
-
* RWORK (workspace) REAL array, dimension (N)
|
184
|
-
*
|
185
|
-
* INFO (output) INTEGER
|
186
|
-
* = 0: successful exit
|
187
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value
|
188
|
-
*
|
189
|
-
|
190
|
-
* =====================================================================
|
191
|
-
*
|
192
|
-
|
193
|
-
|
194
|
-
</PRE>
|
195
|
-
<A HREF="#top">go to the page top</A>
|
196
|
-
|
197
|
-
<A NAME="ctbtrs"></A>
|
198
|
-
<H2>ctbtrs</H2>
|
199
|
-
<PRE>
|
200
|
-
USAGE:
|
201
|
-
info, b = NumRu::Lapack.ctbtrs( uplo, trans, diag, kd, ab, b, [:usage => usage, :help => help])
|
202
|
-
|
203
|
-
|
204
|
-
FORTRAN MANUAL
|
205
|
-
SUBROUTINE CTBTRS( UPLO, TRANS, DIAG, N, KD, NRHS, AB, LDAB, B, LDB, INFO )
|
206
|
-
|
207
|
-
* Purpose
|
208
|
-
* =======
|
209
|
-
*
|
210
|
-
* CTBTRS solves a triangular system of the form
|
211
|
-
*
|
212
|
-
* A * X = B, A**T * X = B, or A**H * X = B,
|
213
|
-
*
|
214
|
-
* where A is a triangular band matrix of order N, and B is an
|
215
|
-
* N-by-NRHS matrix. A check is made to verify that A is nonsingular.
|
216
|
-
*
|
217
|
-
|
218
|
-
* Arguments
|
219
|
-
* =========
|
220
|
-
*
|
221
|
-
* UPLO (input) CHARACTER*1
|
222
|
-
* = 'U': A is upper triangular;
|
223
|
-
* = 'L': A is lower triangular.
|
224
|
-
*
|
225
|
-
* TRANS (input) CHARACTER*1
|
226
|
-
* Specifies the form of the system of equations:
|
227
|
-
* = 'N': A * X = B (No transpose)
|
228
|
-
* = 'T': A**T * X = B (Transpose)
|
229
|
-
* = 'C': A**H * X = B (Conjugate transpose)
|
230
|
-
*
|
231
|
-
* DIAG (input) CHARACTER*1
|
232
|
-
* = 'N': A is non-unit triangular;
|
233
|
-
* = 'U': A is unit triangular.
|
234
|
-
*
|
235
|
-
* N (input) INTEGER
|
236
|
-
* The order of the matrix A. N >= 0.
|
237
|
-
*
|
238
|
-
* KD (input) INTEGER
|
239
|
-
* The number of superdiagonals or subdiagonals of the
|
240
|
-
* triangular band matrix A. KD >= 0.
|
241
|
-
*
|
242
|
-
* NRHS (input) INTEGER
|
243
|
-
* The number of right hand sides, i.e., the number of columns
|
244
|
-
* of the matrix B. NRHS >= 0.
|
245
|
-
*
|
246
|
-
* AB (input) COMPLEX array, dimension (LDAB,N)
|
247
|
-
* The upper or lower triangular band matrix A, stored in the
|
248
|
-
* first kd+1 rows of AB. The j-th column of A is stored
|
249
|
-
* in the j-th column of the array AB as follows:
|
250
|
-
* if UPLO = 'U', AB(kd+1+i-j,j) = A(i,j) for max(1,j-kd)<=i<=j;
|
251
|
-
* if UPLO = 'L', AB(1+i-j,j) = A(i,j) for j<=i<=min(n,j+kd).
|
252
|
-
* If DIAG = 'U', the diagonal elements of A are not referenced
|
253
|
-
* and are assumed to be 1.
|
254
|
-
*
|
255
|
-
* LDAB (input) INTEGER
|
256
|
-
* The leading dimension of the array AB. LDAB >= KD+1.
|
257
|
-
*
|
258
|
-
* B (input/output) COMPLEX array, dimension (LDB,NRHS)
|
259
|
-
* On entry, the right hand side matrix B.
|
260
|
-
* On exit, if INFO = 0, the solution matrix X.
|
261
|
-
*
|
262
|
-
* LDB (input) INTEGER
|
263
|
-
* The leading dimension of the array B. LDB >= max(1,N).
|
264
|
-
*
|
265
|
-
* INFO (output) INTEGER
|
266
|
-
* = 0: successful exit
|
267
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value
|
268
|
-
* > 0: if INFO = i, the i-th diagonal element of A is zero,
|
269
|
-
* indicating that the matrix is singular and the
|
270
|
-
* solutions X have not been computed.
|
271
|
-
*
|
272
|
-
|
273
|
-
* =====================================================================
|
274
|
-
*
|
275
|
-
|
276
|
-
|
277
|
-
</PRE>
|
278
|
-
<A HREF="#top">go to the page top</A>
|
279
|
-
|
280
|
-
<HR />
|
281
|
-
<A HREF="c.html">back to matrix types</A><BR>
|
282
|
-
<A HREF="c.html">back to data types</A>
|
283
|
-
</BODY>
|
284
|
-
</HTML>
|
data/doc/ctg.html
DELETED
@@ -1,1544 +0,0 @@
|
|
1
|
-
<HTML>
|
2
|
-
<HEAD>
|
3
|
-
<TITLE>COMPLEX routines for triangular matrices, generalized problem (i.e., a pair of triangular matrices) matrix</TITLE>
|
4
|
-
</HEAD>
|
5
|
-
<BODY>
|
6
|
-
<A NAME="top"></A>
|
7
|
-
<H1>COMPLEX routines for triangular matrices, generalized problem (i.e., a pair of triangular matrices) matrix</H1>
|
8
|
-
<UL>
|
9
|
-
<LI><A HREF="#ctgevc">ctgevc</A></LI>
|
10
|
-
<LI><A HREF="#ctgex2">ctgex2</A></LI>
|
11
|
-
<LI><A HREF="#ctgexc">ctgexc</A></LI>
|
12
|
-
<LI><A HREF="#ctgsen">ctgsen</A></LI>
|
13
|
-
<LI><A HREF="#ctgsja">ctgsja</A></LI>
|
14
|
-
<LI><A HREF="#ctgsna">ctgsna</A></LI>
|
15
|
-
<LI><A HREF="#ctgsy2">ctgsy2</A></LI>
|
16
|
-
<LI><A HREF="#ctgsyl">ctgsyl</A></LI>
|
17
|
-
</UL>
|
18
|
-
|
19
|
-
<A NAME="ctgevc"></A>
|
20
|
-
<H2>ctgevc</H2>
|
21
|
-
<PRE>
|
22
|
-
USAGE:
|
23
|
-
m, info, vl, vr = NumRu::Lapack.ctgevc( side, howmny, select, s, p, vl, vr, [:usage => usage, :help => help])
|
24
|
-
|
25
|
-
|
26
|
-
FORTRAN MANUAL
|
27
|
-
SUBROUTINE CTGEVC( SIDE, HOWMNY, SELECT, N, S, LDS, P, LDP, VL, LDVL, VR, LDVR, MM, M, WORK, RWORK, INFO )
|
28
|
-
|
29
|
-
* Purpose
|
30
|
-
* =======
|
31
|
-
*
|
32
|
-
* CTGEVC computes some or all of the right and/or left eigenvectors of
|
33
|
-
* a pair of complex matrices (S,P), where S and P are upper triangular.
|
34
|
-
* Matrix pairs of this type are produced by the generalized Schur
|
35
|
-
* factorization of a complex matrix pair (A,B):
|
36
|
-
*
|
37
|
-
* A = Q*S*Z**H, B = Q*P*Z**H
|
38
|
-
*
|
39
|
-
* as computed by CGGHRD + CHGEQZ.
|
40
|
-
*
|
41
|
-
* The right eigenvector x and the left eigenvector y of (S,P)
|
42
|
-
* corresponding to an eigenvalue w are defined by:
|
43
|
-
*
|
44
|
-
* S*x = w*P*x, (y**H)*S = w*(y**H)*P,
|
45
|
-
*
|
46
|
-
* where y**H denotes the conjugate tranpose of y.
|
47
|
-
* The eigenvalues are not input to this routine, but are computed
|
48
|
-
* directly from the diagonal elements of S and P.
|
49
|
-
*
|
50
|
-
* This routine returns the matrices X and/or Y of right and left
|
51
|
-
* eigenvectors of (S,P), or the products Z*X and/or Q*Y,
|
52
|
-
* where Z and Q are input matrices.
|
53
|
-
* If Q and Z are the unitary factors from the generalized Schur
|
54
|
-
* factorization of a matrix pair (A,B), then Z*X and Q*Y
|
55
|
-
* are the matrices of right and left eigenvectors of (A,B).
|
56
|
-
*
|
57
|
-
|
58
|
-
* Arguments
|
59
|
-
* =========
|
60
|
-
*
|
61
|
-
* SIDE (input) CHARACTER*1
|
62
|
-
* = 'R': compute right eigenvectors only;
|
63
|
-
* = 'L': compute left eigenvectors only;
|
64
|
-
* = 'B': compute both right and left eigenvectors.
|
65
|
-
*
|
66
|
-
* HOWMNY (input) CHARACTER*1
|
67
|
-
* = 'A': compute all right and/or left eigenvectors;
|
68
|
-
* = 'B': compute all right and/or left eigenvectors,
|
69
|
-
* backtransformed by the matrices in VR and/or VL;
|
70
|
-
* = 'S': compute selected right and/or left eigenvectors,
|
71
|
-
* specified by the logical array SELECT.
|
72
|
-
*
|
73
|
-
* SELECT (input) LOGICAL array, dimension (N)
|
74
|
-
* If HOWMNY='S', SELECT specifies the eigenvectors to be
|
75
|
-
* computed. The eigenvector corresponding to the j-th
|
76
|
-
* eigenvalue is computed if SELECT(j) = .TRUE..
|
77
|
-
* Not referenced if HOWMNY = 'A' or 'B'.
|
78
|
-
*
|
79
|
-
* N (input) INTEGER
|
80
|
-
* The order of the matrices S and P. N >= 0.
|
81
|
-
*
|
82
|
-
* S (input) COMPLEX array, dimension (LDS,N)
|
83
|
-
* The upper triangular matrix S from a generalized Schur
|
84
|
-
* factorization, as computed by CHGEQZ.
|
85
|
-
*
|
86
|
-
* LDS (input) INTEGER
|
87
|
-
* The leading dimension of array S. LDS >= max(1,N).
|
88
|
-
*
|
89
|
-
* P (input) COMPLEX array, dimension (LDP,N)
|
90
|
-
* The upper triangular matrix P from a generalized Schur
|
91
|
-
* factorization, as computed by CHGEQZ. P must have real
|
92
|
-
* diagonal elements.
|
93
|
-
*
|
94
|
-
* LDP (input) INTEGER
|
95
|
-
* The leading dimension of array P. LDP >= max(1,N).
|
96
|
-
*
|
97
|
-
* VL (input/output) COMPLEX array, dimension (LDVL,MM)
|
98
|
-
* On entry, if SIDE = 'L' or 'B' and HOWMNY = 'B', VL must
|
99
|
-
* contain an N-by-N matrix Q (usually the unitary matrix Q
|
100
|
-
* of left Schur vectors returned by CHGEQZ).
|
101
|
-
* On exit, if SIDE = 'L' or 'B', VL contains:
|
102
|
-
* if HOWMNY = 'A', the matrix Y of left eigenvectors of (S,P);
|
103
|
-
* if HOWMNY = 'B', the matrix Q*Y;
|
104
|
-
* if HOWMNY = 'S', the left eigenvectors of (S,P) specified by
|
105
|
-
* SELECT, stored consecutively in the columns of
|
106
|
-
* VL, in the same order as their eigenvalues.
|
107
|
-
* Not referenced if SIDE = 'R'.
|
108
|
-
*
|
109
|
-
* LDVL (input) INTEGER
|
110
|
-
* The leading dimension of array VL. LDVL >= 1, and if
|
111
|
-
* SIDE = 'L' or 'l' or 'B' or 'b', LDVL >= N.
|
112
|
-
*
|
113
|
-
* VR (input/output) COMPLEX array, dimension (LDVR,MM)
|
114
|
-
* On entry, if SIDE = 'R' or 'B' and HOWMNY = 'B', VR must
|
115
|
-
* contain an N-by-N matrix Q (usually the unitary matrix Z
|
116
|
-
* of right Schur vectors returned by CHGEQZ).
|
117
|
-
* On exit, if SIDE = 'R' or 'B', VR contains:
|
118
|
-
* if HOWMNY = 'A', the matrix X of right eigenvectors of (S,P);
|
119
|
-
* if HOWMNY = 'B', the matrix Z*X;
|
120
|
-
* if HOWMNY = 'S', the right eigenvectors of (S,P) specified by
|
121
|
-
* SELECT, stored consecutively in the columns of
|
122
|
-
* VR, in the same order as their eigenvalues.
|
123
|
-
* Not referenced if SIDE = 'L'.
|
124
|
-
*
|
125
|
-
* LDVR (input) INTEGER
|
126
|
-
* The leading dimension of the array VR. LDVR >= 1, and if
|
127
|
-
* SIDE = 'R' or 'B', LDVR >= N.
|
128
|
-
*
|
129
|
-
* MM (input) INTEGER
|
130
|
-
* The number of columns in the arrays VL and/or VR. MM >= M.
|
131
|
-
*
|
132
|
-
* M (output) INTEGER
|
133
|
-
* The number of columns in the arrays VL and/or VR actually
|
134
|
-
* used to store the eigenvectors. If HOWMNY = 'A' or 'B', M
|
135
|
-
* is set to N. Each selected eigenvector occupies one column.
|
136
|
-
*
|
137
|
-
* WORK (workspace) COMPLEX array, dimension (2*N)
|
138
|
-
*
|
139
|
-
* RWORK (workspace) REAL array, dimension (2*N)
|
140
|
-
*
|
141
|
-
* INFO (output) INTEGER
|
142
|
-
* = 0: successful exit.
|
143
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value.
|
144
|
-
*
|
145
|
-
|
146
|
-
* =====================================================================
|
147
|
-
*
|
148
|
-
|
149
|
-
|
150
|
-
</PRE>
|
151
|
-
<A HREF="#top">go to the page top</A>
|
152
|
-
|
153
|
-
<A NAME="ctgex2"></A>
|
154
|
-
<H2>ctgex2</H2>
|
155
|
-
<PRE>
|
156
|
-
USAGE:
|
157
|
-
info, a, b, q, z = NumRu::Lapack.ctgex2( wantq, wantz, a, b, q, ldq, z, ldz, j1, [:usage => usage, :help => help])
|
158
|
-
|
159
|
-
|
160
|
-
FORTRAN MANUAL
|
161
|
-
SUBROUTINE CTGEX2( WANTQ, WANTZ, N, A, LDA, B, LDB, Q, LDQ, Z, LDZ, J1, INFO )
|
162
|
-
|
163
|
-
* Purpose
|
164
|
-
* =======
|
165
|
-
*
|
166
|
-
* CTGEX2 swaps adjacent diagonal 1 by 1 blocks (A11,B11) and (A22,B22)
|
167
|
-
* in an upper triangular matrix pair (A, B) by an unitary equivalence
|
168
|
-
* transformation.
|
169
|
-
*
|
170
|
-
* (A, B) must be in generalized Schur canonical form, that is, A and
|
171
|
-
* B are both upper triangular.
|
172
|
-
*
|
173
|
-
* Optionally, the matrices Q and Z of generalized Schur vectors are
|
174
|
-
* updated.
|
175
|
-
*
|
176
|
-
* Q(in) * A(in) * Z(in)' = Q(out) * A(out) * Z(out)'
|
177
|
-
* Q(in) * B(in) * Z(in)' = Q(out) * B(out) * Z(out)'
|
178
|
-
*
|
179
|
-
*
|
180
|
-
|
181
|
-
* Arguments
|
182
|
-
* =========
|
183
|
-
*
|
184
|
-
* WANTQ (input) LOGICAL
|
185
|
-
* .TRUE. : update the left transformation matrix Q;
|
186
|
-
* .FALSE.: do not update Q.
|
187
|
-
*
|
188
|
-
* WANTZ (input) LOGICAL
|
189
|
-
* .TRUE. : update the right transformation matrix Z;
|
190
|
-
* .FALSE.: do not update Z.
|
191
|
-
*
|
192
|
-
* N (input) INTEGER
|
193
|
-
* The order of the matrices A and B. N >= 0.
|
194
|
-
*
|
195
|
-
* A (input/output) COMPLEX arrays, dimensions (LDA,N)
|
196
|
-
* On entry, the matrix A in the pair (A, B).
|
197
|
-
* On exit, the updated matrix A.
|
198
|
-
*
|
199
|
-
* LDA (input) INTEGER
|
200
|
-
* The leading dimension of the array A. LDA >= max(1,N).
|
201
|
-
*
|
202
|
-
* B (input/output) COMPLEX arrays, dimensions (LDB,N)
|
203
|
-
* On entry, the matrix B in the pair (A, B).
|
204
|
-
* On exit, the updated matrix B.
|
205
|
-
*
|
206
|
-
* LDB (input) INTEGER
|
207
|
-
* The leading dimension of the array B. LDB >= max(1,N).
|
208
|
-
*
|
209
|
-
* Q (input/output) COMPLEX array, dimension (LDZ,N)
|
210
|
-
* If WANTQ = .TRUE, on entry, the unitary matrix Q. On exit,
|
211
|
-
* the updated matrix Q.
|
212
|
-
* Not referenced if WANTQ = .FALSE..
|
213
|
-
*
|
214
|
-
* LDQ (input) INTEGER
|
215
|
-
* The leading dimension of the array Q. LDQ >= 1;
|
216
|
-
* If WANTQ = .TRUE., LDQ >= N.
|
217
|
-
*
|
218
|
-
* Z (input/output) COMPLEX array, dimension (LDZ,N)
|
219
|
-
* If WANTZ = .TRUE, on entry, the unitary matrix Z. On exit,
|
220
|
-
* the updated matrix Z.
|
221
|
-
* Not referenced if WANTZ = .FALSE..
|
222
|
-
*
|
223
|
-
* LDZ (input) INTEGER
|
224
|
-
* The leading dimension of the array Z. LDZ >= 1;
|
225
|
-
* If WANTZ = .TRUE., LDZ >= N.
|
226
|
-
*
|
227
|
-
* J1 (input) INTEGER
|
228
|
-
* The index to the first block (A11, B11).
|
229
|
-
*
|
230
|
-
* INFO (output) INTEGER
|
231
|
-
* =0: Successful exit.
|
232
|
-
* =1: The transformed matrix pair (A, B) would be too far
|
233
|
-
* from generalized Schur form; the problem is ill-
|
234
|
-
* conditioned.
|
235
|
-
*
|
236
|
-
*
|
237
|
-
|
238
|
-
* Further Details
|
239
|
-
* ===============
|
240
|
-
*
|
241
|
-
* Based on contributions by
|
242
|
-
* Bo Kagstrom and Peter Poromaa, Department of Computing Science,
|
243
|
-
* Umea University, S-901 87 Umea, Sweden.
|
244
|
-
*
|
245
|
-
* In the current code both weak and strong stability tests are
|
246
|
-
* performed. The user can omit the strong stability test by changing
|
247
|
-
* the internal logical parameter WANDS to .FALSE.. See ref. [2] for
|
248
|
-
* details.
|
249
|
-
*
|
250
|
-
* [1] B. Kagstrom; A Direct Method for Reordering Eigenvalues in the
|
251
|
-
* Generalized Real Schur Form of a Regular Matrix Pair (A, B), in
|
252
|
-
* M.S. Moonen et al (eds), Linear Algebra for Large Scale and
|
253
|
-
* Real-Time Applications, Kluwer Academic Publ. 1993, pp 195-218.
|
254
|
-
*
|
255
|
-
* [2] B. Kagstrom and P. Poromaa; Computing Eigenspaces with Specified
|
256
|
-
* Eigenvalues of a Regular Matrix Pair (A, B) and Condition
|
257
|
-
* Estimation: Theory, Algorithms and Software, Report UMINF-94.04,
|
258
|
-
* Department of Computing Science, Umea University, S-901 87 Umea,
|
259
|
-
* Sweden, 1994. Also as LAPACK Working Note 87. To appear in
|
260
|
-
* Numerical Algorithms, 1996.
|
261
|
-
*
|
262
|
-
* =====================================================================
|
263
|
-
*
|
264
|
-
|
265
|
-
|
266
|
-
</PRE>
|
267
|
-
<A HREF="#top">go to the page top</A>
|
268
|
-
|
269
|
-
<A NAME="ctgexc"></A>
|
270
|
-
<H2>ctgexc</H2>
|
271
|
-
<PRE>
|
272
|
-
USAGE:
|
273
|
-
info, a, b, q, z, ilst = NumRu::Lapack.ctgexc( wantq, wantz, a, b, q, ldq, z, ifst, ilst, [:usage => usage, :help => help])
|
274
|
-
|
275
|
-
|
276
|
-
FORTRAN MANUAL
|
277
|
-
SUBROUTINE CTGEXC( WANTQ, WANTZ, N, A, LDA, B, LDB, Q, LDQ, Z, LDZ, IFST, ILST, INFO )
|
278
|
-
|
279
|
-
* Purpose
|
280
|
-
* =======
|
281
|
-
*
|
282
|
-
* CTGEXC reorders the generalized Schur decomposition of a complex
|
283
|
-
* matrix pair (A,B), using an unitary equivalence transformation
|
284
|
-
* (A, B) := Q * (A, B) * Z', so that the diagonal block of (A, B) with
|
285
|
-
* row index IFST is moved to row ILST.
|
286
|
-
*
|
287
|
-
* (A, B) must be in generalized Schur canonical form, that is, A and
|
288
|
-
* B are both upper triangular.
|
289
|
-
*
|
290
|
-
* Optionally, the matrices Q and Z of generalized Schur vectors are
|
291
|
-
* updated.
|
292
|
-
*
|
293
|
-
* Q(in) * A(in) * Z(in)' = Q(out) * A(out) * Z(out)'
|
294
|
-
* Q(in) * B(in) * Z(in)' = Q(out) * B(out) * Z(out)'
|
295
|
-
*
|
296
|
-
|
297
|
-
* Arguments
|
298
|
-
* =========
|
299
|
-
*
|
300
|
-
* WANTQ (input) LOGICAL
|
301
|
-
* .TRUE. : update the left transformation matrix Q;
|
302
|
-
* .FALSE.: do not update Q.
|
303
|
-
*
|
304
|
-
* WANTZ (input) LOGICAL
|
305
|
-
* .TRUE. : update the right transformation matrix Z;
|
306
|
-
* .FALSE.: do not update Z.
|
307
|
-
*
|
308
|
-
* N (input) INTEGER
|
309
|
-
* The order of the matrices A and B. N >= 0.
|
310
|
-
*
|
311
|
-
* A (input/output) COMPLEX array, dimension (LDA,N)
|
312
|
-
* On entry, the upper triangular matrix A in the pair (A, B).
|
313
|
-
* On exit, the updated matrix A.
|
314
|
-
*
|
315
|
-
* LDA (input) INTEGER
|
316
|
-
* The leading dimension of the array A. LDA >= max(1,N).
|
317
|
-
*
|
318
|
-
* B (input/output) COMPLEX array, dimension (LDB,N)
|
319
|
-
* On entry, the upper triangular matrix B in the pair (A, B).
|
320
|
-
* On exit, the updated matrix B.
|
321
|
-
*
|
322
|
-
* LDB (input) INTEGER
|
323
|
-
* The leading dimension of the array B. LDB >= max(1,N).
|
324
|
-
*
|
325
|
-
* Q (input/output) COMPLEX array, dimension (LDZ,N)
|
326
|
-
* On entry, if WANTQ = .TRUE., the unitary matrix Q.
|
327
|
-
* On exit, the updated matrix Q.
|
328
|
-
* If WANTQ = .FALSE., Q is not referenced.
|
329
|
-
*
|
330
|
-
* LDQ (input) INTEGER
|
331
|
-
* The leading dimension of the array Q. LDQ >= 1;
|
332
|
-
* If WANTQ = .TRUE., LDQ >= N.
|
333
|
-
*
|
334
|
-
* Z (input/output) COMPLEX array, dimension (LDZ,N)
|
335
|
-
* On entry, if WANTZ = .TRUE., the unitary matrix Z.
|
336
|
-
* On exit, the updated matrix Z.
|
337
|
-
* If WANTZ = .FALSE., Z is not referenced.
|
338
|
-
*
|
339
|
-
* LDZ (input) INTEGER
|
340
|
-
* The leading dimension of the array Z. LDZ >= 1;
|
341
|
-
* If WANTZ = .TRUE., LDZ >= N.
|
342
|
-
*
|
343
|
-
* IFST (input) INTEGER
|
344
|
-
* ILST (input/output) INTEGER
|
345
|
-
* Specify the reordering of the diagonal blocks of (A, B).
|
346
|
-
* The block with row index IFST is moved to row ILST, by a
|
347
|
-
* sequence of swapping between adjacent blocks.
|
348
|
-
*
|
349
|
-
* INFO (output) INTEGER
|
350
|
-
* =0: Successful exit.
|
351
|
-
* <0: if INFO = -i, the i-th argument had an illegal value.
|
352
|
-
* =1: The transformed matrix pair (A, B) would be too far
|
353
|
-
* from generalized Schur form; the problem is ill-
|
354
|
-
* conditioned. (A, B) may have been partially reordered,
|
355
|
-
* and ILST points to the first row of the current
|
356
|
-
* position of the block being moved.
|
357
|
-
*
|
358
|
-
*
|
359
|
-
|
360
|
-
* Further Details
|
361
|
-
* ===============
|
362
|
-
*
|
363
|
-
* Based on contributions by
|
364
|
-
* Bo Kagstrom and Peter Poromaa, Department of Computing Science,
|
365
|
-
* Umea University, S-901 87 Umea, Sweden.
|
366
|
-
*
|
367
|
-
* [1] B. Kagstrom; A Direct Method for Reordering Eigenvalues in the
|
368
|
-
* Generalized Real Schur Form of a Regular Matrix Pair (A, B), in
|
369
|
-
* M.S. Moonen et al (eds), Linear Algebra for Large Scale and
|
370
|
-
* Real-Time Applications, Kluwer Academic Publ. 1993, pp 195-218.
|
371
|
-
*
|
372
|
-
* [2] B. Kagstrom and P. Poromaa; Computing Eigenspaces with Specified
|
373
|
-
* Eigenvalues of a Regular Matrix Pair (A, B) and Condition
|
374
|
-
* Estimation: Theory, Algorithms and Software, Report
|
375
|
-
* UMINF - 94.04, Department of Computing Science, Umea University,
|
376
|
-
* S-901 87 Umea, Sweden, 1994. Also as LAPACK Working Note 87.
|
377
|
-
* To appear in Numerical Algorithms, 1996.
|
378
|
-
*
|
379
|
-
* [3] B. Kagstrom and P. Poromaa, LAPACK-Style Algorithms and Software
|
380
|
-
* for Solving the Generalized Sylvester Equation and Estimating the
|
381
|
-
* Separation between Regular Matrix Pairs, Report UMINF - 93.23,
|
382
|
-
* Department of Computing Science, Umea University, S-901 87 Umea,
|
383
|
-
* Sweden, December 1993, Revised April 1994, Also as LAPACK working
|
384
|
-
* Note 75. To appear in ACM Trans. on Math. Software, Vol 22, No 1,
|
385
|
-
* 1996.
|
386
|
-
*
|
387
|
-
* =====================================================================
|
388
|
-
*
|
389
|
-
* .. Local Scalars ..
|
390
|
-
INTEGER HERE
|
391
|
-
* ..
|
392
|
-
* .. External Subroutines ..
|
393
|
-
EXTERNAL CTGEX2, XERBLA
|
394
|
-
* ..
|
395
|
-
* .. Intrinsic Functions ..
|
396
|
-
INTRINSIC MAX
|
397
|
-
* ..
|
398
|
-
|
399
|
-
|
400
|
-
</PRE>
|
401
|
-
<A HREF="#top">go to the page top</A>
|
402
|
-
|
403
|
-
<A NAME="ctgsen"></A>
|
404
|
-
<H2>ctgsen</H2>
|
405
|
-
<PRE>
|
406
|
-
USAGE:
|
407
|
-
alpha, beta, m, pl, pr, dif, work, iwork, info, a, b, q, z = NumRu::Lapack.ctgsen( ijob, wantq, wantz, select, a, b, q, z, [:lwork => lwork, :liwork => liwork, :usage => usage, :help => help])
|
408
|
-
|
409
|
-
|
410
|
-
FORTRAN MANUAL
|
411
|
-
SUBROUTINE CTGSEN( IJOB, WANTQ, WANTZ, SELECT, N, A, LDA, B, LDB, ALPHA, BETA, Q, LDQ, Z, LDZ, M, PL, PR, DIF, WORK, LWORK, IWORK, LIWORK, INFO )
|
412
|
-
|
413
|
-
* Purpose
|
414
|
-
* =======
|
415
|
-
*
|
416
|
-
* CTGSEN reorders the generalized Schur decomposition of a complex
|
417
|
-
* matrix pair (A, B) (in terms of an unitary equivalence trans-
|
418
|
-
* formation Q' * (A, B) * Z), so that a selected cluster of eigenvalues
|
419
|
-
* appears in the leading diagonal blocks of the pair (A,B). The leading
|
420
|
-
* columns of Q and Z form unitary bases of the corresponding left and
|
421
|
-
* right eigenspaces (deflating subspaces). (A, B) must be in
|
422
|
-
* generalized Schur canonical form, that is, A and B are both upper
|
423
|
-
* triangular.
|
424
|
-
*
|
425
|
-
* CTGSEN also computes the generalized eigenvalues
|
426
|
-
*
|
427
|
-
* w(j)= ALPHA(j) / BETA(j)
|
428
|
-
*
|
429
|
-
* of the reordered matrix pair (A, B).
|
430
|
-
*
|
431
|
-
* Optionally, the routine computes estimates of reciprocal condition
|
432
|
-
* numbers for eigenvalues and eigenspaces. These are Difu[(A11,B11),
|
433
|
-
* (A22,B22)] and Difl[(A11,B11), (A22,B22)], i.e. the separation(s)
|
434
|
-
* between the matrix pairs (A11, B11) and (A22,B22) that correspond to
|
435
|
-
* the selected cluster and the eigenvalues outside the cluster, resp.,
|
436
|
-
* and norms of "projections" onto left and right eigenspaces w.r.t.
|
437
|
-
* the selected cluster in the (1,1)-block.
|
438
|
-
*
|
439
|
-
*
|
440
|
-
|
441
|
-
* Arguments
|
442
|
-
* =========
|
443
|
-
*
|
444
|
-
* IJOB (input) integer
|
445
|
-
* Specifies whether condition numbers are required for the
|
446
|
-
* cluster of eigenvalues (PL and PR) or the deflating subspaces
|
447
|
-
* (Difu and Difl):
|
448
|
-
* =0: Only reorder w.r.t. SELECT. No extras.
|
449
|
-
* =1: Reciprocal of norms of "projections" onto left and right
|
450
|
-
* eigenspaces w.r.t. the selected cluster (PL and PR).
|
451
|
-
* =2: Upper bounds on Difu and Difl. F-norm-based estimate
|
452
|
-
* (DIF(1:2)).
|
453
|
-
* =3: Estimate of Difu and Difl. 1-norm-based estimate
|
454
|
-
* (DIF(1:2)).
|
455
|
-
* About 5 times as expensive as IJOB = 2.
|
456
|
-
* =4: Compute PL, PR and DIF (i.e. 0, 1 and 2 above): Economic
|
457
|
-
* version to get it all.
|
458
|
-
* =5: Compute PL, PR and DIF (i.e. 0, 1 and 3 above)
|
459
|
-
*
|
460
|
-
* WANTQ (input) LOGICAL
|
461
|
-
* .TRUE. : update the left transformation matrix Q;
|
462
|
-
* .FALSE.: do not update Q.
|
463
|
-
*
|
464
|
-
* WANTZ (input) LOGICAL
|
465
|
-
* .TRUE. : update the right transformation matrix Z;
|
466
|
-
* .FALSE.: do not update Z.
|
467
|
-
*
|
468
|
-
* SELECT (input) LOGICAL array, dimension (N)
|
469
|
-
* SELECT specifies the eigenvalues in the selected cluster. To
|
470
|
-
* select an eigenvalue w(j), SELECT(j) must be set to
|
471
|
-
* .TRUE..
|
472
|
-
*
|
473
|
-
* N (input) INTEGER
|
474
|
-
* The order of the matrices A and B. N >= 0.
|
475
|
-
*
|
476
|
-
* A (input/output) COMPLEX array, dimension(LDA,N)
|
477
|
-
* On entry, the upper triangular matrix A, in generalized
|
478
|
-
* Schur canonical form.
|
479
|
-
* On exit, A is overwritten by the reordered matrix A.
|
480
|
-
*
|
481
|
-
* LDA (input) INTEGER
|
482
|
-
* The leading dimension of the array A. LDA >= max(1,N).
|
483
|
-
*
|
484
|
-
* B (input/output) COMPLEX array, dimension(LDB,N)
|
485
|
-
* On entry, the upper triangular matrix B, in generalized
|
486
|
-
* Schur canonical form.
|
487
|
-
* On exit, B is overwritten by the reordered matrix B.
|
488
|
-
*
|
489
|
-
* LDB (input) INTEGER
|
490
|
-
* The leading dimension of the array B. LDB >= max(1,N).
|
491
|
-
*
|
492
|
-
* ALPHA (output) COMPLEX array, dimension (N)
|
493
|
-
* BETA (output) COMPLEX array, dimension (N)
|
494
|
-
* The diagonal elements of A and B, respectively,
|
495
|
-
* when the pair (A,B) has been reduced to generalized Schur
|
496
|
-
* form. ALPHA(i)/BETA(i) i=1,...,N are the generalized
|
497
|
-
* eigenvalues.
|
498
|
-
*
|
499
|
-
* Q (input/output) COMPLEX array, dimension (LDQ,N)
|
500
|
-
* On entry, if WANTQ = .TRUE., Q is an N-by-N matrix.
|
501
|
-
* On exit, Q has been postmultiplied by the left unitary
|
502
|
-
* transformation matrix which reorder (A, B); The leading M
|
503
|
-
* columns of Q form orthonormal bases for the specified pair of
|
504
|
-
* left eigenspaces (deflating subspaces).
|
505
|
-
* If WANTQ = .FALSE., Q is not referenced.
|
506
|
-
*
|
507
|
-
* LDQ (input) INTEGER
|
508
|
-
* The leading dimension of the array Q. LDQ >= 1.
|
509
|
-
* If WANTQ = .TRUE., LDQ >= N.
|
510
|
-
*
|
511
|
-
* Z (input/output) COMPLEX array, dimension (LDZ,N)
|
512
|
-
* On entry, if WANTZ = .TRUE., Z is an N-by-N matrix.
|
513
|
-
* On exit, Z has been postmultiplied by the left unitary
|
514
|
-
* transformation matrix which reorder (A, B); The leading M
|
515
|
-
* columns of Z form orthonormal bases for the specified pair of
|
516
|
-
* left eigenspaces (deflating subspaces).
|
517
|
-
* If WANTZ = .FALSE., Z is not referenced.
|
518
|
-
*
|
519
|
-
* LDZ (input) INTEGER
|
520
|
-
* The leading dimension of the array Z. LDZ >= 1.
|
521
|
-
* If WANTZ = .TRUE., LDZ >= N.
|
522
|
-
*
|
523
|
-
* M (output) INTEGER
|
524
|
-
* The dimension of the specified pair of left and right
|
525
|
-
* eigenspaces, (deflating subspaces) 0 <= M <= N.
|
526
|
-
*
|
527
|
-
* PL (output) REAL
|
528
|
-
* PR (output) REAL
|
529
|
-
* If IJOB = 1, 4 or 5, PL, PR are lower bounds on the
|
530
|
-
* reciprocal of the norm of "projections" onto left and right
|
531
|
-
* eigenspace with respect to the selected cluster.
|
532
|
-
* 0 < PL, PR <= 1.
|
533
|
-
* If M = 0 or M = N, PL = PR = 1.
|
534
|
-
* If IJOB = 0, 2 or 3 PL, PR are not referenced.
|
535
|
-
*
|
536
|
-
* DIF (output) REAL array, dimension (2).
|
537
|
-
* If IJOB >= 2, DIF(1:2) store the estimates of Difu and Difl.
|
538
|
-
* If IJOB = 2 or 4, DIF(1:2) are F-norm-based upper bounds on
|
539
|
-
* Difu and Difl. If IJOB = 3 or 5, DIF(1:2) are 1-norm-based
|
540
|
-
* estimates of Difu and Difl, computed using reversed
|
541
|
-
* communication with CLACN2.
|
542
|
-
* If M = 0 or N, DIF(1:2) = F-norm([A, B]).
|
543
|
-
* If IJOB = 0 or 1, DIF is not referenced.
|
544
|
-
*
|
545
|
-
* WORK (workspace/output) COMPLEX array, dimension (MAX(1,LWORK))
|
546
|
-
* On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
|
547
|
-
*
|
548
|
-
* LWORK (input) INTEGER
|
549
|
-
* The dimension of the array WORK. LWORK >= 1
|
550
|
-
* If IJOB = 1, 2 or 4, LWORK >= 2*M*(N-M)
|
551
|
-
* If IJOB = 3 or 5, LWORK >= 4*M*(N-M)
|
552
|
-
*
|
553
|
-
* If LWORK = -1, then a workspace query is assumed; the routine
|
554
|
-
* only calculates the optimal size of the WORK array, returns
|
555
|
-
* this value as the first entry of the WORK array, and no error
|
556
|
-
* message related to LWORK is issued by XERBLA.
|
557
|
-
*
|
558
|
-
* IWORK (workspace/output) INTEGER array, dimension (MAX(1,LIWORK))
|
559
|
-
* On exit, if INFO = 0, IWORK(1) returns the optimal LIWORK.
|
560
|
-
*
|
561
|
-
* LIWORK (input) INTEGER
|
562
|
-
* The dimension of the array IWORK. LIWORK >= 1.
|
563
|
-
* If IJOB = 1, 2 or 4, LIWORK >= N+2;
|
564
|
-
* If IJOB = 3 or 5, LIWORK >= MAX(N+2, 2*M*(N-M));
|
565
|
-
*
|
566
|
-
* If LIWORK = -1, then a workspace query is assumed; the
|
567
|
-
* routine only calculates the optimal size of the IWORK array,
|
568
|
-
* returns this value as the first entry of the IWORK array, and
|
569
|
-
* no error message related to LIWORK is issued by XERBLA.
|
570
|
-
*
|
571
|
-
* INFO (output) INTEGER
|
572
|
-
* =0: Successful exit.
|
573
|
-
* <0: If INFO = -i, the i-th argument had an illegal value.
|
574
|
-
* =1: Reordering of (A, B) failed because the transformed
|
575
|
-
* matrix pair (A, B) would be too far from generalized
|
576
|
-
* Schur form; the problem is very ill-conditioned.
|
577
|
-
* (A, B) may have been partially reordered.
|
578
|
-
* If requested, 0 is returned in DIF(*), PL and PR.
|
579
|
-
*
|
580
|
-
*
|
581
|
-
|
582
|
-
* Further Details
|
583
|
-
* ===============
|
584
|
-
*
|
585
|
-
* CTGSEN first collects the selected eigenvalues by computing unitary
|
586
|
-
* U and W that move them to the top left corner of (A, B). In other
|
587
|
-
* words, the selected eigenvalues are the eigenvalues of (A11, B11) in
|
588
|
-
*
|
589
|
-
* U'*(A, B)*W = (A11 A12) (B11 B12) n1
|
590
|
-
* ( 0 A22),( 0 B22) n2
|
591
|
-
* n1 n2 n1 n2
|
592
|
-
*
|
593
|
-
* where N = n1+n2 and U' means the conjugate transpose of U. The first
|
594
|
-
* n1 columns of U and W span the specified pair of left and right
|
595
|
-
* eigenspaces (deflating subspaces) of (A, B).
|
596
|
-
*
|
597
|
-
* If (A, B) has been obtained from the generalized real Schur
|
598
|
-
* decomposition of a matrix pair (C, D) = Q*(A, B)*Z', then the
|
599
|
-
* reordered generalized Schur form of (C, D) is given by
|
600
|
-
*
|
601
|
-
* (C, D) = (Q*U)*(U'*(A, B)*W)*(Z*W)',
|
602
|
-
*
|
603
|
-
* and the first n1 columns of Q*U and Z*W span the corresponding
|
604
|
-
* deflating subspaces of (C, D) (Q and Z store Q*U and Z*W, resp.).
|
605
|
-
*
|
606
|
-
* Note that if the selected eigenvalue is sufficiently ill-conditioned,
|
607
|
-
* then its value may differ significantly from its value before
|
608
|
-
* reordering.
|
609
|
-
*
|
610
|
-
* The reciprocal condition numbers of the left and right eigenspaces
|
611
|
-
* spanned by the first n1 columns of U and W (or Q*U and Z*W) may
|
612
|
-
* be returned in DIF(1:2), corresponding to Difu and Difl, resp.
|
613
|
-
*
|
614
|
-
* The Difu and Difl are defined as:
|
615
|
-
*
|
616
|
-
* Difu[(A11, B11), (A22, B22)] = sigma-min( Zu )
|
617
|
-
* and
|
618
|
-
* Difl[(A11, B11), (A22, B22)] = Difu[(A22, B22), (A11, B11)],
|
619
|
-
*
|
620
|
-
* where sigma-min(Zu) is the smallest singular value of the
|
621
|
-
* (2*n1*n2)-by-(2*n1*n2) matrix
|
622
|
-
*
|
623
|
-
* Zu = [ kron(In2, A11) -kron(A22', In1) ]
|
624
|
-
* [ kron(In2, B11) -kron(B22', In1) ].
|
625
|
-
*
|
626
|
-
* Here, Inx is the identity matrix of size nx and A22' is the
|
627
|
-
* transpose of A22. kron(X, Y) is the Kronecker product between
|
628
|
-
* the matrices X and Y.
|
629
|
-
*
|
630
|
-
* When DIF(2) is small, small changes in (A, B) can cause large changes
|
631
|
-
* in the deflating subspace. An approximate (asymptotic) bound on the
|
632
|
-
* maximum angular error in the computed deflating subspaces is
|
633
|
-
*
|
634
|
-
* EPS * norm((A, B)) / DIF(2),
|
635
|
-
*
|
636
|
-
* where EPS is the machine precision.
|
637
|
-
*
|
638
|
-
* The reciprocal norm of the projectors on the left and right
|
639
|
-
* eigenspaces associated with (A11, B11) may be returned in PL and PR.
|
640
|
-
* They are computed as follows. First we compute L and R so that
|
641
|
-
* P*(A, B)*Q is block diagonal, where
|
642
|
-
*
|
643
|
-
* P = ( I -L ) n1 Q = ( I R ) n1
|
644
|
-
* ( 0 I ) n2 and ( 0 I ) n2
|
645
|
-
* n1 n2 n1 n2
|
646
|
-
*
|
647
|
-
* and (L, R) is the solution to the generalized Sylvester equation
|
648
|
-
*
|
649
|
-
* A11*R - L*A22 = -A12
|
650
|
-
* B11*R - L*B22 = -B12
|
651
|
-
*
|
652
|
-
* Then PL = (F-norm(L)**2+1)**(-1/2) and PR = (F-norm(R)**2+1)**(-1/2).
|
653
|
-
* An approximate (asymptotic) bound on the average absolute error of
|
654
|
-
* the selected eigenvalues is
|
655
|
-
*
|
656
|
-
* EPS * norm((A, B)) / PL.
|
657
|
-
*
|
658
|
-
* There are also global error bounds which valid for perturbations up
|
659
|
-
* to a certain restriction: A lower bound (x) on the smallest
|
660
|
-
* F-norm(E,F) for which an eigenvalue of (A11, B11) may move and
|
661
|
-
* coalesce with an eigenvalue of (A22, B22) under perturbation (E,F),
|
662
|
-
* (i.e. (A + E, B + F), is
|
663
|
-
*
|
664
|
-
* x = min(Difu,Difl)/((1/(PL*PL)+1/(PR*PR))**(1/2)+2*max(1/PL,1/PR)).
|
665
|
-
*
|
666
|
-
* An approximate bound on x can be computed from DIF(1:2), PL and PR.
|
667
|
-
*
|
668
|
-
* If y = ( F-norm(E,F) / x) <= 1, the angles between the perturbed
|
669
|
-
* (L', R') and unperturbed (L, R) left and right deflating subspaces
|
670
|
-
* associated with the selected cluster in the (1,1)-blocks can be
|
671
|
-
* bounded as
|
672
|
-
*
|
673
|
-
* max-angle(L, L') <= arctan( y * PL / (1 - y * (1 - PL * PL)**(1/2))
|
674
|
-
* max-angle(R, R') <= arctan( y * PR / (1 - y * (1 - PR * PR)**(1/2))
|
675
|
-
*
|
676
|
-
* See LAPACK User's Guide section 4.11 or the following references
|
677
|
-
* for more information.
|
678
|
-
*
|
679
|
-
* Note that if the default method for computing the Frobenius-norm-
|
680
|
-
* based estimate DIF is not wanted (see CLATDF), then the parameter
|
681
|
-
* IDIFJB (see below) should be changed from 3 to 4 (routine CLATDF
|
682
|
-
* (IJOB = 2 will be used)). See CTGSYL for more details.
|
683
|
-
*
|
684
|
-
* Based on contributions by
|
685
|
-
* Bo Kagstrom and Peter Poromaa, Department of Computing Science,
|
686
|
-
* Umea University, S-901 87 Umea, Sweden.
|
687
|
-
*
|
688
|
-
* References
|
689
|
-
* ==========
|
690
|
-
*
|
691
|
-
* [1] B. Kagstrom; A Direct Method for Reordering Eigenvalues in the
|
692
|
-
* Generalized Real Schur Form of a Regular Matrix Pair (A, B), in
|
693
|
-
* M.S. Moonen et al (eds), Linear Algebra for Large Scale and
|
694
|
-
* Real-Time Applications, Kluwer Academic Publ. 1993, pp 195-218.
|
695
|
-
*
|
696
|
-
* [2] B. Kagstrom and P. Poromaa; Computing Eigenspaces with Specified
|
697
|
-
* Eigenvalues of a Regular Matrix Pair (A, B) and Condition
|
698
|
-
* Estimation: Theory, Algorithms and Software, Report
|
699
|
-
* UMINF - 94.04, Department of Computing Science, Umea University,
|
700
|
-
* S-901 87 Umea, Sweden, 1994. Also as LAPACK Working Note 87.
|
701
|
-
* To appear in Numerical Algorithms, 1996.
|
702
|
-
*
|
703
|
-
* [3] B. Kagstrom and P. Poromaa, LAPACK-Style Algorithms and Software
|
704
|
-
* for Solving the Generalized Sylvester Equation and Estimating the
|
705
|
-
* Separation between Regular Matrix Pairs, Report UMINF - 93.23,
|
706
|
-
* Department of Computing Science, Umea University, S-901 87 Umea,
|
707
|
-
* Sweden, December 1993, Revised April 1994, Also as LAPACK working
|
708
|
-
* Note 75. To appear in ACM Trans. on Math. Software, Vol 22, No 1,
|
709
|
-
* 1996.
|
710
|
-
*
|
711
|
-
* =====================================================================
|
712
|
-
*
|
713
|
-
|
714
|
-
|
715
|
-
</PRE>
|
716
|
-
<A HREF="#top">go to the page top</A>
|
717
|
-
|
718
|
-
<A NAME="ctgsja"></A>
|
719
|
-
<H2>ctgsja</H2>
|
720
|
-
<PRE>
|
721
|
-
USAGE:
|
722
|
-
alpha, beta, ncycle, info, a, b, u, v, q = NumRu::Lapack.ctgsja( jobu, jobv, jobq, k, l, a, b, tola, tolb, u, v, q, [:usage => usage, :help => help])
|
723
|
-
|
724
|
-
|
725
|
-
FORTRAN MANUAL
|
726
|
-
SUBROUTINE CTGSJA( JOBU, JOBV, JOBQ, M, P, N, K, L, A, LDA, B, LDB, TOLA, TOLB, ALPHA, BETA, U, LDU, V, LDV, Q, LDQ, WORK, NCYCLE, INFO )
|
727
|
-
|
728
|
-
* Purpose
|
729
|
-
* =======
|
730
|
-
*
|
731
|
-
* CTGSJA computes the generalized singular value decomposition (GSVD)
|
732
|
-
* of two complex upper triangular (or trapezoidal) matrices A and B.
|
733
|
-
*
|
734
|
-
* On entry, it is assumed that matrices A and B have the following
|
735
|
-
* forms, which may be obtained by the preprocessing subroutine CGGSVP
|
736
|
-
* from a general M-by-N matrix A and P-by-N matrix B:
|
737
|
-
*
|
738
|
-
* N-K-L K L
|
739
|
-
* A = K ( 0 A12 A13 ) if M-K-L >= 0;
|
740
|
-
* L ( 0 0 A23 )
|
741
|
-
* M-K-L ( 0 0 0 )
|
742
|
-
*
|
743
|
-
* N-K-L K L
|
744
|
-
* A = K ( 0 A12 A13 ) if M-K-L < 0;
|
745
|
-
* M-K ( 0 0 A23 )
|
746
|
-
*
|
747
|
-
* N-K-L K L
|
748
|
-
* B = L ( 0 0 B13 )
|
749
|
-
* P-L ( 0 0 0 )
|
750
|
-
*
|
751
|
-
* where the K-by-K matrix A12 and L-by-L matrix B13 are nonsingular
|
752
|
-
* upper triangular; A23 is L-by-L upper triangular if M-K-L >= 0,
|
753
|
-
* otherwise A23 is (M-K)-by-L upper trapezoidal.
|
754
|
-
*
|
755
|
-
* On exit,
|
756
|
-
*
|
757
|
-
* U'*A*Q = D1*( 0 R ), V'*B*Q = D2*( 0 R ),
|
758
|
-
*
|
759
|
-
* where U, V and Q are unitary matrices, Z' denotes the conjugate
|
760
|
-
* transpose of Z, R is a nonsingular upper triangular matrix, and D1
|
761
|
-
* and D2 are ``diagonal'' matrices, which are of the following
|
762
|
-
* structures:
|
763
|
-
*
|
764
|
-
* If M-K-L >= 0,
|
765
|
-
*
|
766
|
-
* K L
|
767
|
-
* D1 = K ( I 0 )
|
768
|
-
* L ( 0 C )
|
769
|
-
* M-K-L ( 0 0 )
|
770
|
-
*
|
771
|
-
* K L
|
772
|
-
* D2 = L ( 0 S )
|
773
|
-
* P-L ( 0 0 )
|
774
|
-
*
|
775
|
-
* N-K-L K L
|
776
|
-
* ( 0 R ) = K ( 0 R11 R12 ) K
|
777
|
-
* L ( 0 0 R22 ) L
|
778
|
-
*
|
779
|
-
* where
|
780
|
-
*
|
781
|
-
* C = diag( ALPHA(K+1), ... , ALPHA(K+L) ),
|
782
|
-
* S = diag( BETA(K+1), ... , BETA(K+L) ),
|
783
|
-
* C**2 + S**2 = I.
|
784
|
-
*
|
785
|
-
* R is stored in A(1:K+L,N-K-L+1:N) on exit.
|
786
|
-
*
|
787
|
-
* If M-K-L < 0,
|
788
|
-
*
|
789
|
-
* K M-K K+L-M
|
790
|
-
* D1 = K ( I 0 0 )
|
791
|
-
* M-K ( 0 C 0 )
|
792
|
-
*
|
793
|
-
* K M-K K+L-M
|
794
|
-
* D2 = M-K ( 0 S 0 )
|
795
|
-
* K+L-M ( 0 0 I )
|
796
|
-
* P-L ( 0 0 0 )
|
797
|
-
*
|
798
|
-
* N-K-L K M-K K+L-M
|
799
|
-
* ( 0 R ) = K ( 0 R11 R12 R13 )
|
800
|
-
* M-K ( 0 0 R22 R23 )
|
801
|
-
* K+L-M ( 0 0 0 R33 )
|
802
|
-
*
|
803
|
-
* where
|
804
|
-
* C = diag( ALPHA(K+1), ... , ALPHA(M) ),
|
805
|
-
* S = diag( BETA(K+1), ... , BETA(M) ),
|
806
|
-
* C**2 + S**2 = I.
|
807
|
-
*
|
808
|
-
* R = ( R11 R12 R13 ) is stored in A(1:M, N-K-L+1:N) and R33 is stored
|
809
|
-
* ( 0 R22 R23 )
|
810
|
-
* in B(M-K+1:L,N+M-K-L+1:N) on exit.
|
811
|
-
*
|
812
|
-
* The computation of the unitary transformation matrices U, V or Q
|
813
|
-
* is optional. These matrices may either be formed explicitly, or they
|
814
|
-
* may be postmultiplied into input matrices U1, V1, or Q1.
|
815
|
-
*
|
816
|
-
|
817
|
-
* Arguments
|
818
|
-
* =========
|
819
|
-
*
|
820
|
-
* JOBU (input) CHARACTER*1
|
821
|
-
* = 'U': U must contain a unitary matrix U1 on entry, and
|
822
|
-
* the product U1*U is returned;
|
823
|
-
* = 'I': U is initialized to the unit matrix, and the
|
824
|
-
* unitary matrix U is returned;
|
825
|
-
* = 'N': U is not computed.
|
826
|
-
*
|
827
|
-
* JOBV (input) CHARACTER*1
|
828
|
-
* = 'V': V must contain a unitary matrix V1 on entry, and
|
829
|
-
* the product V1*V is returned;
|
830
|
-
* = 'I': V is initialized to the unit matrix, and the
|
831
|
-
* unitary matrix V is returned;
|
832
|
-
* = 'N': V is not computed.
|
833
|
-
*
|
834
|
-
* JOBQ (input) CHARACTER*1
|
835
|
-
* = 'Q': Q must contain a unitary matrix Q1 on entry, and
|
836
|
-
* the product Q1*Q is returned;
|
837
|
-
* = 'I': Q is initialized to the unit matrix, and the
|
838
|
-
* unitary matrix Q is returned;
|
839
|
-
* = 'N': Q is not computed.
|
840
|
-
*
|
841
|
-
* M (input) INTEGER
|
842
|
-
* The number of rows of the matrix A. M >= 0.
|
843
|
-
*
|
844
|
-
* P (input) INTEGER
|
845
|
-
* The number of rows of the matrix B. P >= 0.
|
846
|
-
*
|
847
|
-
* N (input) INTEGER
|
848
|
-
* The number of columns of the matrices A and B. N >= 0.
|
849
|
-
*
|
850
|
-
* K (input) INTEGER
|
851
|
-
* L (input) INTEGER
|
852
|
-
* K and L specify the subblocks in the input matrices A and B:
|
853
|
-
* A23 = A(K+1:MIN(K+L,M),N-L+1:N) and B13 = B(1:L,,N-L+1:N)
|
854
|
-
* of A and B, whose GSVD is going to be computed by CTGSJA.
|
855
|
-
* See Further Details.
|
856
|
-
*
|
857
|
-
* A (input/output) COMPLEX array, dimension (LDA,N)
|
858
|
-
* On entry, the M-by-N matrix A.
|
859
|
-
* On exit, A(N-K+1:N,1:MIN(K+L,M) ) contains the triangular
|
860
|
-
* matrix R or part of R. See Purpose for details.
|
861
|
-
*
|
862
|
-
* LDA (input) INTEGER
|
863
|
-
* The leading dimension of the array A. LDA >= max(1,M).
|
864
|
-
*
|
865
|
-
* B (input/output) COMPLEX array, dimension (LDB,N)
|
866
|
-
* On entry, the P-by-N matrix B.
|
867
|
-
* On exit, if necessary, B(M-K+1:L,N+M-K-L+1:N) contains
|
868
|
-
* a part of R. See Purpose for details.
|
869
|
-
*
|
870
|
-
* LDB (input) INTEGER
|
871
|
-
* The leading dimension of the array B. LDB >= max(1,P).
|
872
|
-
*
|
873
|
-
* TOLA (input) REAL
|
874
|
-
* TOLB (input) REAL
|
875
|
-
* TOLA and TOLB are the convergence criteria for the Jacobi-
|
876
|
-
* Kogbetliantz iteration procedure. Generally, they are the
|
877
|
-
* same as used in the preprocessing step, say
|
878
|
-
* TOLA = MAX(M,N)*norm(A)*MACHEPS,
|
879
|
-
* TOLB = MAX(P,N)*norm(B)*MACHEPS.
|
880
|
-
*
|
881
|
-
* ALPHA (output) REAL array, dimension (N)
|
882
|
-
* BETA (output) REAL array, dimension (N)
|
883
|
-
* On exit, ALPHA and BETA contain the generalized singular
|
884
|
-
* value pairs of A and B;
|
885
|
-
* ALPHA(1:K) = 1,
|
886
|
-
* BETA(1:K) = 0,
|
887
|
-
* and if M-K-L >= 0,
|
888
|
-
* ALPHA(K+1:K+L) = diag(C),
|
889
|
-
* BETA(K+1:K+L) = diag(S),
|
890
|
-
* or if M-K-L < 0,
|
891
|
-
* ALPHA(K+1:M)= C, ALPHA(M+1:K+L)= 0
|
892
|
-
* BETA(K+1:M) = S, BETA(M+1:K+L) = 1.
|
893
|
-
* Furthermore, if K+L < N,
|
894
|
-
* ALPHA(K+L+1:N) = 0
|
895
|
-
* BETA(K+L+1:N) = 0.
|
896
|
-
*
|
897
|
-
* U (input/output) COMPLEX array, dimension (LDU,M)
|
898
|
-
* On entry, if JOBU = 'U', U must contain a matrix U1 (usually
|
899
|
-
* the unitary matrix returned by CGGSVP).
|
900
|
-
* On exit,
|
901
|
-
* if JOBU = 'I', U contains the unitary matrix U;
|
902
|
-
* if JOBU = 'U', U contains the product U1*U.
|
903
|
-
* If JOBU = 'N', U is not referenced.
|
904
|
-
*
|
905
|
-
* LDU (input) INTEGER
|
906
|
-
* The leading dimension of the array U. LDU >= max(1,M) if
|
907
|
-
* JOBU = 'U'; LDU >= 1 otherwise.
|
908
|
-
*
|
909
|
-
* V (input/output) COMPLEX array, dimension (LDV,P)
|
910
|
-
* On entry, if JOBV = 'V', V must contain a matrix V1 (usually
|
911
|
-
* the unitary matrix returned by CGGSVP).
|
912
|
-
* On exit,
|
913
|
-
* if JOBV = 'I', V contains the unitary matrix V;
|
914
|
-
* if JOBV = 'V', V contains the product V1*V.
|
915
|
-
* If JOBV = 'N', V is not referenced.
|
916
|
-
*
|
917
|
-
* LDV (input) INTEGER
|
918
|
-
* The leading dimension of the array V. LDV >= max(1,P) if
|
919
|
-
* JOBV = 'V'; LDV >= 1 otherwise.
|
920
|
-
*
|
921
|
-
* Q (input/output) COMPLEX array, dimension (LDQ,N)
|
922
|
-
* On entry, if JOBQ = 'Q', Q must contain a matrix Q1 (usually
|
923
|
-
* the unitary matrix returned by CGGSVP).
|
924
|
-
* On exit,
|
925
|
-
* if JOBQ = 'I', Q contains the unitary matrix Q;
|
926
|
-
* if JOBQ = 'Q', Q contains the product Q1*Q.
|
927
|
-
* If JOBQ = 'N', Q is not referenced.
|
928
|
-
*
|
929
|
-
* LDQ (input) INTEGER
|
930
|
-
* The leading dimension of the array Q. LDQ >= max(1,N) if
|
931
|
-
* JOBQ = 'Q'; LDQ >= 1 otherwise.
|
932
|
-
*
|
933
|
-
* WORK (workspace) COMPLEX array, dimension (2*N)
|
934
|
-
*
|
935
|
-
* NCYCLE (output) INTEGER
|
936
|
-
* The number of cycles required for convergence.
|
937
|
-
*
|
938
|
-
* INFO (output) INTEGER
|
939
|
-
* = 0: successful exit
|
940
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value.
|
941
|
-
* = 1: the procedure does not converge after MAXIT cycles.
|
942
|
-
*
|
943
|
-
* Internal Parameters
|
944
|
-
* ===================
|
945
|
-
*
|
946
|
-
* MAXIT INTEGER
|
947
|
-
* MAXIT specifies the total loops that the iterative procedure
|
948
|
-
* may take. If after MAXIT cycles, the routine fails to
|
949
|
-
* converge, we return INFO = 1.
|
950
|
-
*
|
951
|
-
|
952
|
-
* Further Details
|
953
|
-
* ===============
|
954
|
-
*
|
955
|
-
* CTGSJA essentially uses a variant of Kogbetliantz algorithm to reduce
|
956
|
-
* min(L,M-K)-by-L triangular (or trapezoidal) matrix A23 and L-by-L
|
957
|
-
* matrix B13 to the form:
|
958
|
-
*
|
959
|
-
* U1'*A13*Q1 = C1*R1; V1'*B13*Q1 = S1*R1,
|
960
|
-
*
|
961
|
-
* where U1, V1 and Q1 are unitary matrix, and Z' is the conjugate
|
962
|
-
* transpose of Z. C1 and S1 are diagonal matrices satisfying
|
963
|
-
*
|
964
|
-
* C1**2 + S1**2 = I,
|
965
|
-
*
|
966
|
-
* and R1 is an L-by-L nonsingular upper triangular matrix.
|
967
|
-
*
|
968
|
-
* =====================================================================
|
969
|
-
*
|
970
|
-
|
971
|
-
|
972
|
-
</PRE>
|
973
|
-
<A HREF="#top">go to the page top</A>
|
974
|
-
|
975
|
-
<A NAME="ctgsna"></A>
|
976
|
-
<H2>ctgsna</H2>
|
977
|
-
<PRE>
|
978
|
-
USAGE:
|
979
|
-
s, dif, m, work, info = NumRu::Lapack.ctgsna( job, howmny, select, a, b, vl, vr, [:lwork => lwork, :usage => usage, :help => help])
|
980
|
-
|
981
|
-
|
982
|
-
FORTRAN MANUAL
|
983
|
-
SUBROUTINE CTGSNA( JOB, HOWMNY, SELECT, N, A, LDA, B, LDB, VL, LDVL, VR, LDVR, S, DIF, MM, M, WORK, LWORK, IWORK, INFO )
|
984
|
-
|
985
|
-
* Purpose
|
986
|
-
* =======
|
987
|
-
*
|
988
|
-
* CTGSNA estimates reciprocal condition numbers for specified
|
989
|
-
* eigenvalues and/or eigenvectors of a matrix pair (A, B).
|
990
|
-
*
|
991
|
-
* (A, B) must be in generalized Schur canonical form, that is, A and
|
992
|
-
* B are both upper triangular.
|
993
|
-
*
|
994
|
-
|
995
|
-
* Arguments
|
996
|
-
* =========
|
997
|
-
*
|
998
|
-
* JOB (input) CHARACTER*1
|
999
|
-
* Specifies whether condition numbers are required for
|
1000
|
-
* eigenvalues (S) or eigenvectors (DIF):
|
1001
|
-
* = 'E': for eigenvalues only (S);
|
1002
|
-
* = 'V': for eigenvectors only (DIF);
|
1003
|
-
* = 'B': for both eigenvalues and eigenvectors (S and DIF).
|
1004
|
-
*
|
1005
|
-
* HOWMNY (input) CHARACTER*1
|
1006
|
-
* = 'A': compute condition numbers for all eigenpairs;
|
1007
|
-
* = 'S': compute condition numbers for selected eigenpairs
|
1008
|
-
* specified by the array SELECT.
|
1009
|
-
*
|
1010
|
-
* SELECT (input) LOGICAL array, dimension (N)
|
1011
|
-
* If HOWMNY = 'S', SELECT specifies the eigenpairs for which
|
1012
|
-
* condition numbers are required. To select condition numbers
|
1013
|
-
* for the corresponding j-th eigenvalue and/or eigenvector,
|
1014
|
-
* SELECT(j) must be set to .TRUE..
|
1015
|
-
* If HOWMNY = 'A', SELECT is not referenced.
|
1016
|
-
*
|
1017
|
-
* N (input) INTEGER
|
1018
|
-
* The order of the square matrix pair (A, B). N >= 0.
|
1019
|
-
*
|
1020
|
-
* A (input) COMPLEX array, dimension (LDA,N)
|
1021
|
-
* The upper triangular matrix A in the pair (A,B).
|
1022
|
-
*
|
1023
|
-
* LDA (input) INTEGER
|
1024
|
-
* The leading dimension of the array A. LDA >= max(1,N).
|
1025
|
-
*
|
1026
|
-
* B (input) COMPLEX array, dimension (LDB,N)
|
1027
|
-
* The upper triangular matrix B in the pair (A, B).
|
1028
|
-
*
|
1029
|
-
* LDB (input) INTEGER
|
1030
|
-
* The leading dimension of the array B. LDB >= max(1,N).
|
1031
|
-
*
|
1032
|
-
* VL (input) COMPLEX array, dimension (LDVL,M)
|
1033
|
-
* IF JOB = 'E' or 'B', VL must contain left eigenvectors of
|
1034
|
-
* (A, B), corresponding to the eigenpairs specified by HOWMNY
|
1035
|
-
* and SELECT. The eigenvectors must be stored in consecutive
|
1036
|
-
* columns of VL, as returned by CTGEVC.
|
1037
|
-
* If JOB = 'V', VL is not referenced.
|
1038
|
-
*
|
1039
|
-
* LDVL (input) INTEGER
|
1040
|
-
* The leading dimension of the array VL. LDVL >= 1; and
|
1041
|
-
* If JOB = 'E' or 'B', LDVL >= N.
|
1042
|
-
*
|
1043
|
-
* VR (input) COMPLEX array, dimension (LDVR,M)
|
1044
|
-
* IF JOB = 'E' or 'B', VR must contain right eigenvectors of
|
1045
|
-
* (A, B), corresponding to the eigenpairs specified by HOWMNY
|
1046
|
-
* and SELECT. The eigenvectors must be stored in consecutive
|
1047
|
-
* columns of VR, as returned by CTGEVC.
|
1048
|
-
* If JOB = 'V', VR is not referenced.
|
1049
|
-
*
|
1050
|
-
* LDVR (input) INTEGER
|
1051
|
-
* The leading dimension of the array VR. LDVR >= 1;
|
1052
|
-
* If JOB = 'E' or 'B', LDVR >= N.
|
1053
|
-
*
|
1054
|
-
* S (output) REAL array, dimension (MM)
|
1055
|
-
* If JOB = 'E' or 'B', the reciprocal condition numbers of the
|
1056
|
-
* selected eigenvalues, stored in consecutive elements of the
|
1057
|
-
* array.
|
1058
|
-
* If JOB = 'V', S is not referenced.
|
1059
|
-
*
|
1060
|
-
* DIF (output) REAL array, dimension (MM)
|
1061
|
-
* If JOB = 'V' or 'B', the estimated reciprocal condition
|
1062
|
-
* numbers of the selected eigenvectors, stored in consecutive
|
1063
|
-
* elements of the array.
|
1064
|
-
* If the eigenvalues cannot be reordered to compute DIF(j),
|
1065
|
-
* DIF(j) is set to 0; this can only occur when the true value
|
1066
|
-
* would be very small anyway.
|
1067
|
-
* For each eigenvalue/vector specified by SELECT, DIF stores
|
1068
|
-
* a Frobenius norm-based estimate of Difl.
|
1069
|
-
* If JOB = 'E', DIF is not referenced.
|
1070
|
-
*
|
1071
|
-
* MM (input) INTEGER
|
1072
|
-
* The number of elements in the arrays S and DIF. MM >= M.
|
1073
|
-
*
|
1074
|
-
* M (output) INTEGER
|
1075
|
-
* The number of elements of the arrays S and DIF used to store
|
1076
|
-
* the specified condition numbers; for each selected eigenvalue
|
1077
|
-
* one element is used. If HOWMNY = 'A', M is set to N.
|
1078
|
-
*
|
1079
|
-
* WORK (workspace/output) COMPLEX array, dimension (MAX(1,LWORK))
|
1080
|
-
* On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
|
1081
|
-
*
|
1082
|
-
* LWORK (input) INTEGER
|
1083
|
-
* The dimension of the array WORK. LWORK >= max(1,N).
|
1084
|
-
* If JOB = 'V' or 'B', LWORK >= max(1,2*N*N).
|
1085
|
-
*
|
1086
|
-
* IWORK (workspace) INTEGER array, dimension (N+2)
|
1087
|
-
* If JOB = 'E', IWORK is not referenced.
|
1088
|
-
*
|
1089
|
-
* INFO (output) INTEGER
|
1090
|
-
* = 0: Successful exit
|
1091
|
-
* < 0: If INFO = -i, the i-th argument had an illegal value
|
1092
|
-
*
|
1093
|
-
|
1094
|
-
* Further Details
|
1095
|
-
* ===============
|
1096
|
-
*
|
1097
|
-
* The reciprocal of the condition number of the i-th generalized
|
1098
|
-
* eigenvalue w = (a, b) is defined as
|
1099
|
-
*
|
1100
|
-
* S(I) = (|v'Au|**2 + |v'Bu|**2)**(1/2) / (norm(u)*norm(v))
|
1101
|
-
*
|
1102
|
-
* where u and v are the right and left eigenvectors of (A, B)
|
1103
|
-
* corresponding to w; |z| denotes the absolute value of the complex
|
1104
|
-
* number, and norm(u) denotes the 2-norm of the vector u. The pair
|
1105
|
-
* (a, b) corresponds to an eigenvalue w = a/b (= v'Au/v'Bu) of the
|
1106
|
-
* matrix pair (A, B). If both a and b equal zero, then (A,B) is
|
1107
|
-
* singular and S(I) = -1 is returned.
|
1108
|
-
*
|
1109
|
-
* An approximate error bound on the chordal distance between the i-th
|
1110
|
-
* computed generalized eigenvalue w and the corresponding exact
|
1111
|
-
* eigenvalue lambda is
|
1112
|
-
*
|
1113
|
-
* chord(w, lambda) <= EPS * norm(A, B) / S(I),
|
1114
|
-
*
|
1115
|
-
* where EPS is the machine precision.
|
1116
|
-
*
|
1117
|
-
* The reciprocal of the condition number of the right eigenvector u
|
1118
|
-
* and left eigenvector v corresponding to the generalized eigenvalue w
|
1119
|
-
* is defined as follows. Suppose
|
1120
|
-
*
|
1121
|
-
* (A, B) = ( a * ) ( b * ) 1
|
1122
|
-
* ( 0 A22 ),( 0 B22 ) n-1
|
1123
|
-
* 1 n-1 1 n-1
|
1124
|
-
*
|
1125
|
-
* Then the reciprocal condition number DIF(I) is
|
1126
|
-
*
|
1127
|
-
* Difl[(a, b), (A22, B22)] = sigma-min( Zl )
|
1128
|
-
*
|
1129
|
-
* where sigma-min(Zl) denotes the smallest singular value of
|
1130
|
-
*
|
1131
|
-
* Zl = [ kron(a, In-1) -kron(1, A22) ]
|
1132
|
-
* [ kron(b, In-1) -kron(1, B22) ].
|
1133
|
-
*
|
1134
|
-
* Here In-1 is the identity matrix of size n-1 and X' is the conjugate
|
1135
|
-
* transpose of X. kron(X, Y) is the Kronecker product between the
|
1136
|
-
* matrices X and Y.
|
1137
|
-
*
|
1138
|
-
* We approximate the smallest singular value of Zl with an upper
|
1139
|
-
* bound. This is done by CLATDF.
|
1140
|
-
*
|
1141
|
-
* An approximate error bound for a computed eigenvector VL(i) or
|
1142
|
-
* VR(i) is given by
|
1143
|
-
*
|
1144
|
-
* EPS * norm(A, B) / DIF(i).
|
1145
|
-
*
|
1146
|
-
* See ref. [2-3] for more details and further references.
|
1147
|
-
*
|
1148
|
-
* Based on contributions by
|
1149
|
-
* Bo Kagstrom and Peter Poromaa, Department of Computing Science,
|
1150
|
-
* Umea University, S-901 87 Umea, Sweden.
|
1151
|
-
*
|
1152
|
-
* References
|
1153
|
-
* ==========
|
1154
|
-
*
|
1155
|
-
* [1] B. Kagstrom; A Direct Method for Reordering Eigenvalues in the
|
1156
|
-
* Generalized Real Schur Form of a Regular Matrix Pair (A, B), in
|
1157
|
-
* M.S. Moonen et al (eds), Linear Algebra for Large Scale and
|
1158
|
-
* Real-Time Applications, Kluwer Academic Publ. 1993, pp 195-218.
|
1159
|
-
*
|
1160
|
-
* [2] B. Kagstrom and P. Poromaa; Computing Eigenspaces with Specified
|
1161
|
-
* Eigenvalues of a Regular Matrix Pair (A, B) and Condition
|
1162
|
-
* Estimation: Theory, Algorithms and Software, Report
|
1163
|
-
* UMINF - 94.04, Department of Computing Science, Umea University,
|
1164
|
-
* S-901 87 Umea, Sweden, 1994. Also as LAPACK Working Note 87.
|
1165
|
-
* To appear in Numerical Algorithms, 1996.
|
1166
|
-
*
|
1167
|
-
* [3] B. Kagstrom and P. Poromaa, LAPACK-Style Algorithms and Software
|
1168
|
-
* for Solving the Generalized Sylvester Equation and Estimating the
|
1169
|
-
* Separation between Regular Matrix Pairs, Report UMINF - 93.23,
|
1170
|
-
* Department of Computing Science, Umea University, S-901 87 Umea,
|
1171
|
-
* Sweden, December 1993, Revised April 1994, Also as LAPACK Working
|
1172
|
-
* Note 75.
|
1173
|
-
* To appear in ACM Trans. on Math. Software, Vol 22, No 1, 1996.
|
1174
|
-
*
|
1175
|
-
* =====================================================================
|
1176
|
-
*
|
1177
|
-
|
1178
|
-
|
1179
|
-
</PRE>
|
1180
|
-
<A HREF="#top">go to the page top</A>
|
1181
|
-
|
1182
|
-
<A NAME="ctgsy2"></A>
|
1183
|
-
<H2>ctgsy2</H2>
|
1184
|
-
<PRE>
|
1185
|
-
USAGE:
|
1186
|
-
scale, info, c, f, rdsum, rdscal = NumRu::Lapack.ctgsy2( trans, ijob, a, b, c, d, e, f, rdsum, rdscal, [:usage => usage, :help => help])
|
1187
|
-
|
1188
|
-
|
1189
|
-
FORTRAN MANUAL
|
1190
|
-
SUBROUTINE CTGSY2( TRANS, IJOB, M, N, A, LDA, B, LDB, C, LDC, D, LDD, E, LDE, F, LDF, SCALE, RDSUM, RDSCAL, INFO )
|
1191
|
-
|
1192
|
-
* Purpose
|
1193
|
-
* =======
|
1194
|
-
*
|
1195
|
-
* CTGSY2 solves the generalized Sylvester equation
|
1196
|
-
*
|
1197
|
-
* A * R - L * B = scale * C (1)
|
1198
|
-
* D * R - L * E = scale * F
|
1199
|
-
*
|
1200
|
-
* using Level 1 and 2 BLAS, where R and L are unknown M-by-N matrices,
|
1201
|
-
* (A, D), (B, E) and (C, F) are given matrix pairs of size M-by-M,
|
1202
|
-
* N-by-N and M-by-N, respectively. A, B, D and E are upper triangular
|
1203
|
-
* (i.e., (A,D) and (B,E) in generalized Schur form).
|
1204
|
-
*
|
1205
|
-
* The solution (R, L) overwrites (C, F). 0 <= SCALE <= 1 is an output
|
1206
|
-
* scaling factor chosen to avoid overflow.
|
1207
|
-
*
|
1208
|
-
* In matrix notation solving equation (1) corresponds to solve
|
1209
|
-
* Zx = scale * b, where Z is defined as
|
1210
|
-
*
|
1211
|
-
* Z = [ kron(In, A) -kron(B', Im) ] (2)
|
1212
|
-
* [ kron(In, D) -kron(E', Im) ],
|
1213
|
-
*
|
1214
|
-
* Ik is the identity matrix of size k and X' is the transpose of X.
|
1215
|
-
* kron(X, Y) is the Kronecker product between the matrices X and Y.
|
1216
|
-
*
|
1217
|
-
* If TRANS = 'C', y in the conjugate transposed system Z'y = scale*b
|
1218
|
-
* is solved for, which is equivalent to solve for R and L in
|
1219
|
-
*
|
1220
|
-
* A' * R + D' * L = scale * C (3)
|
1221
|
-
* R * B' + L * E' = scale * -F
|
1222
|
-
*
|
1223
|
-
* This case is used to compute an estimate of Dif[(A, D), (B, E)] =
|
1224
|
-
* = sigma_min(Z) using reverse communicaton with CLACON.
|
1225
|
-
*
|
1226
|
-
* CTGSY2 also (IJOB >= 1) contributes to the computation in CTGSYL
|
1227
|
-
* of an upper bound on the separation between to matrix pairs. Then
|
1228
|
-
* the input (A, D), (B, E) are sub-pencils of two matrix pairs in
|
1229
|
-
* CTGSYL.
|
1230
|
-
*
|
1231
|
-
|
1232
|
-
* Arguments
|
1233
|
-
* =========
|
1234
|
-
*
|
1235
|
-
* TRANS (input) CHARACTER*1
|
1236
|
-
* = 'N', solve the generalized Sylvester equation (1).
|
1237
|
-
* = 'T': solve the 'transposed' system (3).
|
1238
|
-
*
|
1239
|
-
* IJOB (input) INTEGER
|
1240
|
-
* Specifies what kind of functionality to be performed.
|
1241
|
-
* =0: solve (1) only.
|
1242
|
-
* =1: A contribution from this subsystem to a Frobenius
|
1243
|
-
* norm-based estimate of the separation between two matrix
|
1244
|
-
* pairs is computed. (look ahead strategy is used).
|
1245
|
-
* =2: A contribution from this subsystem to a Frobenius
|
1246
|
-
* norm-based estimate of the separation between two matrix
|
1247
|
-
* pairs is computed. (SGECON on sub-systems is used.)
|
1248
|
-
* Not referenced if TRANS = 'T'.
|
1249
|
-
*
|
1250
|
-
* M (input) INTEGER
|
1251
|
-
* On entry, M specifies the order of A and D, and the row
|
1252
|
-
* dimension of C, F, R and L.
|
1253
|
-
*
|
1254
|
-
* N (input) INTEGER
|
1255
|
-
* On entry, N specifies the order of B and E, and the column
|
1256
|
-
* dimension of C, F, R and L.
|
1257
|
-
*
|
1258
|
-
* A (input) COMPLEX array, dimension (LDA, M)
|
1259
|
-
* On entry, A contains an upper triangular matrix.
|
1260
|
-
*
|
1261
|
-
* LDA (input) INTEGER
|
1262
|
-
* The leading dimension of the matrix A. LDA >= max(1, M).
|
1263
|
-
*
|
1264
|
-
* B (input) COMPLEX array, dimension (LDB, N)
|
1265
|
-
* On entry, B contains an upper triangular matrix.
|
1266
|
-
*
|
1267
|
-
* LDB (input) INTEGER
|
1268
|
-
* The leading dimension of the matrix B. LDB >= max(1, N).
|
1269
|
-
*
|
1270
|
-
* C (input/output) COMPLEX array, dimension (LDC, N)
|
1271
|
-
* On entry, C contains the right-hand-side of the first matrix
|
1272
|
-
* equation in (1).
|
1273
|
-
* On exit, if IJOB = 0, C has been overwritten by the solution
|
1274
|
-
* R.
|
1275
|
-
*
|
1276
|
-
* LDC (input) INTEGER
|
1277
|
-
* The leading dimension of the matrix C. LDC >= max(1, M).
|
1278
|
-
*
|
1279
|
-
* D (input) COMPLEX array, dimension (LDD, M)
|
1280
|
-
* On entry, D contains an upper triangular matrix.
|
1281
|
-
*
|
1282
|
-
* LDD (input) INTEGER
|
1283
|
-
* The leading dimension of the matrix D. LDD >= max(1, M).
|
1284
|
-
*
|
1285
|
-
* E (input) COMPLEX array, dimension (LDE, N)
|
1286
|
-
* On entry, E contains an upper triangular matrix.
|
1287
|
-
*
|
1288
|
-
* LDE (input) INTEGER
|
1289
|
-
* The leading dimension of the matrix E. LDE >= max(1, N).
|
1290
|
-
*
|
1291
|
-
* F (input/output) COMPLEX array, dimension (LDF, N)
|
1292
|
-
* On entry, F contains the right-hand-side of the second matrix
|
1293
|
-
* equation in (1).
|
1294
|
-
* On exit, if IJOB = 0, F has been overwritten by the solution
|
1295
|
-
* L.
|
1296
|
-
*
|
1297
|
-
* LDF (input) INTEGER
|
1298
|
-
* The leading dimension of the matrix F. LDF >= max(1, M).
|
1299
|
-
*
|
1300
|
-
* SCALE (output) REAL
|
1301
|
-
* On exit, 0 <= SCALE <= 1. If 0 < SCALE < 1, the solutions
|
1302
|
-
* R and L (C and F on entry) will hold the solutions to a
|
1303
|
-
* slightly perturbed system but the input matrices A, B, D and
|
1304
|
-
* E have not been changed. If SCALE = 0, R and L will hold the
|
1305
|
-
* solutions to the homogeneous system with C = F = 0.
|
1306
|
-
* Normally, SCALE = 1.
|
1307
|
-
*
|
1308
|
-
* RDSUM (input/output) REAL
|
1309
|
-
* On entry, the sum of squares of computed contributions to
|
1310
|
-
* the Dif-estimate under computation by CTGSYL, where the
|
1311
|
-
* scaling factor RDSCAL (see below) has been factored out.
|
1312
|
-
* On exit, the corresponding sum of squares updated with the
|
1313
|
-
* contributions from the current sub-system.
|
1314
|
-
* If TRANS = 'T' RDSUM is not touched.
|
1315
|
-
* NOTE: RDSUM only makes sense when CTGSY2 is called by
|
1316
|
-
* CTGSYL.
|
1317
|
-
*
|
1318
|
-
* RDSCAL (input/output) REAL
|
1319
|
-
* On entry, scaling factor used to prevent overflow in RDSUM.
|
1320
|
-
* On exit, RDSCAL is updated w.r.t. the current contributions
|
1321
|
-
* in RDSUM.
|
1322
|
-
* If TRANS = 'T', RDSCAL is not touched.
|
1323
|
-
* NOTE: RDSCAL only makes sense when CTGSY2 is called by
|
1324
|
-
* CTGSYL.
|
1325
|
-
*
|
1326
|
-
* INFO (output) INTEGER
|
1327
|
-
* On exit, if INFO is set to
|
1328
|
-
* =0: Successful exit
|
1329
|
-
* <0: If INFO = -i, input argument number i is illegal.
|
1330
|
-
* >0: The matrix pairs (A, D) and (B, E) have common or very
|
1331
|
-
* close eigenvalues.
|
1332
|
-
*
|
1333
|
-
|
1334
|
-
* Further Details
|
1335
|
-
* ===============
|
1336
|
-
*
|
1337
|
-
* Based on contributions by
|
1338
|
-
* Bo Kagstrom and Peter Poromaa, Department of Computing Science,
|
1339
|
-
* Umea University, S-901 87 Umea, Sweden.
|
1340
|
-
*
|
1341
|
-
* =====================================================================
|
1342
|
-
*
|
1343
|
-
|
1344
|
-
|
1345
|
-
</PRE>
|
1346
|
-
<A HREF="#top">go to the page top</A>
|
1347
|
-
|
1348
|
-
<A NAME="ctgsyl"></A>
|
1349
|
-
<H2>ctgsyl</H2>
|
1350
|
-
<PRE>
|
1351
|
-
USAGE:
|
1352
|
-
scale, dif, work, info, c, f = NumRu::Lapack.ctgsyl( trans, ijob, a, b, c, d, e, f, [:lwork => lwork, :usage => usage, :help => help])
|
1353
|
-
|
1354
|
-
|
1355
|
-
FORTRAN MANUAL
|
1356
|
-
SUBROUTINE CTGSYL( TRANS, IJOB, M, N, A, LDA, B, LDB, C, LDC, D, LDD, E, LDE, F, LDF, SCALE, DIF, WORK, LWORK, IWORK, INFO )
|
1357
|
-
|
1358
|
-
* Purpose
|
1359
|
-
* =======
|
1360
|
-
*
|
1361
|
-
* CTGSYL solves the generalized Sylvester equation:
|
1362
|
-
*
|
1363
|
-
* A * R - L * B = scale * C (1)
|
1364
|
-
* D * R - L * E = scale * F
|
1365
|
-
*
|
1366
|
-
* where R and L are unknown m-by-n matrices, (A, D), (B, E) and
|
1367
|
-
* (C, F) are given matrix pairs of size m-by-m, n-by-n and m-by-n,
|
1368
|
-
* respectively, with complex entries. A, B, D and E are upper
|
1369
|
-
* triangular (i.e., (A,D) and (B,E) in generalized Schur form).
|
1370
|
-
*
|
1371
|
-
* The solution (R, L) overwrites (C, F). 0 <= SCALE <= 1
|
1372
|
-
* is an output scaling factor chosen to avoid overflow.
|
1373
|
-
*
|
1374
|
-
* In matrix notation (1) is equivalent to solve Zx = scale*b, where Z
|
1375
|
-
* is defined as
|
1376
|
-
*
|
1377
|
-
* Z = [ kron(In, A) -kron(B', Im) ] (2)
|
1378
|
-
* [ kron(In, D) -kron(E', Im) ],
|
1379
|
-
*
|
1380
|
-
* Here Ix is the identity matrix of size x and X' is the conjugate
|
1381
|
-
* transpose of X. Kron(X, Y) is the Kronecker product between the
|
1382
|
-
* matrices X and Y.
|
1383
|
-
*
|
1384
|
-
* If TRANS = 'C', y in the conjugate transposed system Z'*y = scale*b
|
1385
|
-
* is solved for, which is equivalent to solve for R and L in
|
1386
|
-
*
|
1387
|
-
* A' * R + D' * L = scale * C (3)
|
1388
|
-
* R * B' + L * E' = scale * -F
|
1389
|
-
*
|
1390
|
-
* This case (TRANS = 'C') is used to compute an one-norm-based estimate
|
1391
|
-
* of Dif[(A,D), (B,E)], the separation between the matrix pairs (A,D)
|
1392
|
-
* and (B,E), using CLACON.
|
1393
|
-
*
|
1394
|
-
* If IJOB >= 1, CTGSYL computes a Frobenius norm-based estimate of
|
1395
|
-
* Dif[(A,D),(B,E)]. That is, the reciprocal of a lower bound on the
|
1396
|
-
* reciprocal of the smallest singular value of Z.
|
1397
|
-
*
|
1398
|
-
* This is a level-3 BLAS algorithm.
|
1399
|
-
*
|
1400
|
-
|
1401
|
-
* Arguments
|
1402
|
-
* =========
|
1403
|
-
*
|
1404
|
-
* TRANS (input) CHARACTER*1
|
1405
|
-
* = 'N': solve the generalized sylvester equation (1).
|
1406
|
-
* = 'C': solve the "conjugate transposed" system (3).
|
1407
|
-
*
|
1408
|
-
* IJOB (input) INTEGER
|
1409
|
-
* Specifies what kind of functionality to be performed.
|
1410
|
-
* =0: solve (1) only.
|
1411
|
-
* =1: The functionality of 0 and 3.
|
1412
|
-
* =2: The functionality of 0 and 4.
|
1413
|
-
* =3: Only an estimate of Dif[(A,D), (B,E)] is computed.
|
1414
|
-
* (look ahead strategy is used).
|
1415
|
-
* =4: Only an estimate of Dif[(A,D), (B,E)] is computed.
|
1416
|
-
* (CGECON on sub-systems is used).
|
1417
|
-
* Not referenced if TRANS = 'C'.
|
1418
|
-
*
|
1419
|
-
* M (input) INTEGER
|
1420
|
-
* The order of the matrices A and D, and the row dimension of
|
1421
|
-
* the matrices C, F, R and L.
|
1422
|
-
*
|
1423
|
-
* N (input) INTEGER
|
1424
|
-
* The order of the matrices B and E, and the column dimension
|
1425
|
-
* of the matrices C, F, R and L.
|
1426
|
-
*
|
1427
|
-
* A (input) COMPLEX array, dimension (LDA, M)
|
1428
|
-
* The upper triangular matrix A.
|
1429
|
-
*
|
1430
|
-
* LDA (input) INTEGER
|
1431
|
-
* The leading dimension of the array A. LDA >= max(1, M).
|
1432
|
-
*
|
1433
|
-
* B (input) COMPLEX array, dimension (LDB, N)
|
1434
|
-
* The upper triangular matrix B.
|
1435
|
-
*
|
1436
|
-
* LDB (input) INTEGER
|
1437
|
-
* The leading dimension of the array B. LDB >= max(1, N).
|
1438
|
-
*
|
1439
|
-
* C (input/output) COMPLEX array, dimension (LDC, N)
|
1440
|
-
* On entry, C contains the right-hand-side of the first matrix
|
1441
|
-
* equation in (1) or (3).
|
1442
|
-
* On exit, if IJOB = 0, 1 or 2, C has been overwritten by
|
1443
|
-
* the solution R. If IJOB = 3 or 4 and TRANS = 'N', C holds R,
|
1444
|
-
* the solution achieved during the computation of the
|
1445
|
-
* Dif-estimate.
|
1446
|
-
*
|
1447
|
-
* LDC (input) INTEGER
|
1448
|
-
* The leading dimension of the array C. LDC >= max(1, M).
|
1449
|
-
*
|
1450
|
-
* D (input) COMPLEX array, dimension (LDD, M)
|
1451
|
-
* The upper triangular matrix D.
|
1452
|
-
*
|
1453
|
-
* LDD (input) INTEGER
|
1454
|
-
* The leading dimension of the array D. LDD >= max(1, M).
|
1455
|
-
*
|
1456
|
-
* E (input) COMPLEX array, dimension (LDE, N)
|
1457
|
-
* The upper triangular matrix E.
|
1458
|
-
*
|
1459
|
-
* LDE (input) INTEGER
|
1460
|
-
* The leading dimension of the array E. LDE >= max(1, N).
|
1461
|
-
*
|
1462
|
-
* F (input/output) COMPLEX array, dimension (LDF, N)
|
1463
|
-
* On entry, F contains the right-hand-side of the second matrix
|
1464
|
-
* equation in (1) or (3).
|
1465
|
-
* On exit, if IJOB = 0, 1 or 2, F has been overwritten by
|
1466
|
-
* the solution L. If IJOB = 3 or 4 and TRANS = 'N', F holds L,
|
1467
|
-
* the solution achieved during the computation of the
|
1468
|
-
* Dif-estimate.
|
1469
|
-
*
|
1470
|
-
* LDF (input) INTEGER
|
1471
|
-
* The leading dimension of the array F. LDF >= max(1, M).
|
1472
|
-
*
|
1473
|
-
* DIF (output) REAL
|
1474
|
-
* On exit DIF is the reciprocal of a lower bound of the
|
1475
|
-
* reciprocal of the Dif-function, i.e. DIF is an upper bound of
|
1476
|
-
* Dif[(A,D), (B,E)] = sigma-min(Z), where Z as in (2).
|
1477
|
-
* IF IJOB = 0 or TRANS = 'C', DIF is not referenced.
|
1478
|
-
*
|
1479
|
-
* SCALE (output) REAL
|
1480
|
-
* On exit SCALE is the scaling factor in (1) or (3).
|
1481
|
-
* If 0 < SCALE < 1, C and F hold the solutions R and L, resp.,
|
1482
|
-
* to a slightly perturbed system but the input matrices A, B,
|
1483
|
-
* D and E have not been changed. If SCALE = 0, R and L will
|
1484
|
-
* hold the solutions to the homogenious system with C = F = 0.
|
1485
|
-
*
|
1486
|
-
* WORK (workspace/output) COMPLEX array, dimension (MAX(1,LWORK))
|
1487
|
-
* On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
|
1488
|
-
*
|
1489
|
-
* LWORK (input) INTEGER
|
1490
|
-
* The dimension of the array WORK. LWORK > = 1.
|
1491
|
-
* If IJOB = 1 or 2 and TRANS = 'N', LWORK >= max(1,2*M*N).
|
1492
|
-
*
|
1493
|
-
* If LWORK = -1, then a workspace query is assumed; the routine
|
1494
|
-
* only calculates the optimal size of the WORK array, returns
|
1495
|
-
* this value as the first entry of the WORK array, and no error
|
1496
|
-
* message related to LWORK is issued by XERBLA.
|
1497
|
-
*
|
1498
|
-
* IWORK (workspace) INTEGER array, dimension (M+N+2)
|
1499
|
-
*
|
1500
|
-
* INFO (output) INTEGER
|
1501
|
-
* =0: successful exit
|
1502
|
-
* <0: If INFO = -i, the i-th argument had an illegal value.
|
1503
|
-
* >0: (A, D) and (B, E) have common or very close
|
1504
|
-
* eigenvalues.
|
1505
|
-
*
|
1506
|
-
|
1507
|
-
* Further Details
|
1508
|
-
* ===============
|
1509
|
-
*
|
1510
|
-
* Based on contributions by
|
1511
|
-
* Bo Kagstrom and Peter Poromaa, Department of Computing Science,
|
1512
|
-
* Umea University, S-901 87 Umea, Sweden.
|
1513
|
-
*
|
1514
|
-
* [1] B. Kagstrom and P. Poromaa, LAPACK-Style Algorithms and Software
|
1515
|
-
* for Solving the Generalized Sylvester Equation and Estimating the
|
1516
|
-
* Separation between Regular Matrix Pairs, Report UMINF - 93.23,
|
1517
|
-
* Department of Computing Science, Umea University, S-901 87 Umea,
|
1518
|
-
* Sweden, December 1993, Revised April 1994, Also as LAPACK Working
|
1519
|
-
* Note 75. To appear in ACM Trans. on Math. Software, Vol 22,
|
1520
|
-
* No 1, 1996.
|
1521
|
-
*
|
1522
|
-
* [2] B. Kagstrom, A Perturbation Analysis of the Generalized Sylvester
|
1523
|
-
* Equation (AR - LB, DR - LE ) = (C, F), SIAM J. Matrix Anal.
|
1524
|
-
* Appl., 15(4):1045-1060, 1994.
|
1525
|
-
*
|
1526
|
-
* [3] B. Kagstrom and L. Westin, Generalized Schur Methods with
|
1527
|
-
* Condition Estimators for Solving the Generalized Sylvester
|
1528
|
-
* Equation, IEEE Transactions on Automatic Control, Vol. 34, No. 7,
|
1529
|
-
* July 1989, pp 745-751.
|
1530
|
-
*
|
1531
|
-
* =====================================================================
|
1532
|
-
* Replaced various illegal calls to CCOPY by calls to CLASET.
|
1533
|
-
* Sven Hammarling, 1/5/02.
|
1534
|
-
*
|
1535
|
-
|
1536
|
-
|
1537
|
-
</PRE>
|
1538
|
-
<A HREF="#top">go to the page top</A>
|
1539
|
-
|
1540
|
-
<HR />
|
1541
|
-
<A HREF="c.html">back to matrix types</A><BR>
|
1542
|
-
<A HREF="c.html">back to data types</A>
|
1543
|
-
</BODY>
|
1544
|
-
</HTML>
|