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/sst.html
DELETED
@@ -1,1423 +0,0 @@
|
|
1
|
-
<HTML>
|
2
|
-
<HEAD>
|
3
|
-
<TITLE>REAL routines for (real) symmetric tridiagonal matrix</TITLE>
|
4
|
-
</HEAD>
|
5
|
-
<BODY>
|
6
|
-
<A NAME="top"></A>
|
7
|
-
<H1>REAL routines for (real) symmetric tridiagonal matrix</H1>
|
8
|
-
<UL>
|
9
|
-
<LI><A HREF="#sstebz">sstebz</A></LI>
|
10
|
-
<LI><A HREF="#sstedc">sstedc</A></LI>
|
11
|
-
<LI><A HREF="#sstegr">sstegr</A></LI>
|
12
|
-
<LI><A HREF="#sstein">sstein</A></LI>
|
13
|
-
<LI><A HREF="#sstemr">sstemr</A></LI>
|
14
|
-
<LI><A HREF="#ssteqr">ssteqr</A></LI>
|
15
|
-
<LI><A HREF="#ssterf">ssterf</A></LI>
|
16
|
-
<LI><A HREF="#sstev">sstev</A></LI>
|
17
|
-
<LI><A HREF="#sstevd">sstevd</A></LI>
|
18
|
-
<LI><A HREF="#sstevr">sstevr</A></LI>
|
19
|
-
<LI><A HREF="#sstevx">sstevx</A></LI>
|
20
|
-
</UL>
|
21
|
-
|
22
|
-
<A NAME="sstebz"></A>
|
23
|
-
<H2>sstebz</H2>
|
24
|
-
<PRE>
|
25
|
-
USAGE:
|
26
|
-
m, nsplit, w, iblock, isplit, info = NumRu::Lapack.sstebz( range, order, vl, vu, il, iu, abstol, d, e, [:usage => usage, :help => help])
|
27
|
-
|
28
|
-
|
29
|
-
FORTRAN MANUAL
|
30
|
-
SUBROUTINE SSTEBZ( RANGE, ORDER, N, VL, VU, IL, IU, ABSTOL, D, E, M, NSPLIT, W, IBLOCK, ISPLIT, WORK, IWORK, INFO )
|
31
|
-
|
32
|
-
* Purpose
|
33
|
-
* =======
|
34
|
-
*
|
35
|
-
* SSTEBZ computes the eigenvalues of a symmetric tridiagonal
|
36
|
-
* matrix T. The user may ask for all eigenvalues, all eigenvalues
|
37
|
-
* in the half-open interval (VL, VU], or the IL-th through IU-th
|
38
|
-
* eigenvalues.
|
39
|
-
*
|
40
|
-
* To avoid overflow, the matrix must be scaled so that its
|
41
|
-
* largest element is no greater than overflow**(1/2) *
|
42
|
-
* underflow**(1/4) in absolute value, and for greatest
|
43
|
-
* accuracy, it should not be much smaller than that.
|
44
|
-
*
|
45
|
-
* See W. Kahan "Accurate Eigenvalues of a Symmetric Tridiagonal
|
46
|
-
* Matrix", Report CS41, Computer Science Dept., Stanford
|
47
|
-
* University, July 21, 1966.
|
48
|
-
*
|
49
|
-
|
50
|
-
* Arguments
|
51
|
-
* =========
|
52
|
-
*
|
53
|
-
* RANGE (input) CHARACTER*1
|
54
|
-
* = 'A': ("All") all eigenvalues will be found.
|
55
|
-
* = 'V': ("Value") all eigenvalues in the half-open interval
|
56
|
-
* (VL, VU] will be found.
|
57
|
-
* = 'I': ("Index") the IL-th through IU-th eigenvalues (of the
|
58
|
-
* entire matrix) will be found.
|
59
|
-
*
|
60
|
-
* ORDER (input) CHARACTER*1
|
61
|
-
* = 'B': ("By Block") the eigenvalues will be grouped by
|
62
|
-
* split-off block (see IBLOCK, ISPLIT) and
|
63
|
-
* ordered from smallest to largest within
|
64
|
-
* the block.
|
65
|
-
* = 'E': ("Entire matrix")
|
66
|
-
* the eigenvalues for the entire matrix
|
67
|
-
* will be ordered from smallest to
|
68
|
-
* largest.
|
69
|
-
*
|
70
|
-
* N (input) INTEGER
|
71
|
-
* The order of the tridiagonal matrix T. N >= 0.
|
72
|
-
*
|
73
|
-
* VL (input) REAL
|
74
|
-
* VU (input) REAL
|
75
|
-
* If RANGE='V', the lower and upper bounds of the interval to
|
76
|
-
* be searched for eigenvalues. Eigenvalues less than or equal
|
77
|
-
* to VL, or greater than VU, will not be returned. VL < VU.
|
78
|
-
* Not referenced if RANGE = 'A' or 'I'.
|
79
|
-
*
|
80
|
-
* IL (input) INTEGER
|
81
|
-
* IU (input) INTEGER
|
82
|
-
* If RANGE='I', the indices (in ascending order) of the
|
83
|
-
* smallest and largest eigenvalues to be returned.
|
84
|
-
* 1 <= IL <= IU <= N, if N > 0; IL = 1 and IU = 0 if N = 0.
|
85
|
-
* Not referenced if RANGE = 'A' or 'V'.
|
86
|
-
*
|
87
|
-
* ABSTOL (input) REAL
|
88
|
-
* The absolute tolerance for the eigenvalues. An eigenvalue
|
89
|
-
* (or cluster) is considered to be located if it has been
|
90
|
-
* determined to lie in an interval whose width is ABSTOL or
|
91
|
-
* less. If ABSTOL is less than or equal to zero, then ULP*|T|
|
92
|
-
* will be used, where |T| means the 1-norm of T.
|
93
|
-
*
|
94
|
-
* Eigenvalues will be computed most accurately when ABSTOL is
|
95
|
-
* set to twice the underflow threshold 2*SLAMCH('S'), not zero.
|
96
|
-
*
|
97
|
-
* D (input) REAL array, dimension (N)
|
98
|
-
* The n diagonal elements of the tridiagonal matrix T.
|
99
|
-
*
|
100
|
-
* E (input) REAL array, dimension (N-1)
|
101
|
-
* The (n-1) off-diagonal elements of the tridiagonal matrix T.
|
102
|
-
*
|
103
|
-
* M (output) INTEGER
|
104
|
-
* The actual number of eigenvalues found. 0 <= M <= N.
|
105
|
-
* (See also the description of INFO=2,3.)
|
106
|
-
*
|
107
|
-
* NSPLIT (output) INTEGER
|
108
|
-
* The number of diagonal blocks in the matrix T.
|
109
|
-
* 1 <= NSPLIT <= N.
|
110
|
-
*
|
111
|
-
* W (output) REAL array, dimension (N)
|
112
|
-
* On exit, the first M elements of W will contain the
|
113
|
-
* eigenvalues. (SSTEBZ may use the remaining N-M elements as
|
114
|
-
* workspace.)
|
115
|
-
*
|
116
|
-
* IBLOCK (output) INTEGER array, dimension (N)
|
117
|
-
* At each row/column j where E(j) is zero or small, the
|
118
|
-
* matrix T is considered to split into a block diagonal
|
119
|
-
* matrix. On exit, if INFO = 0, IBLOCK(i) specifies to which
|
120
|
-
* block (from 1 to the number of blocks) the eigenvalue W(i)
|
121
|
-
* belongs. (SSTEBZ may use the remaining N-M elements as
|
122
|
-
* workspace.)
|
123
|
-
*
|
124
|
-
* ISPLIT (output) INTEGER array, dimension (N)
|
125
|
-
* The splitting points, at which T breaks up into submatrices.
|
126
|
-
* The first submatrix consists of rows/columns 1 to ISPLIT(1),
|
127
|
-
* the second of rows/columns ISPLIT(1)+1 through ISPLIT(2),
|
128
|
-
* etc., and the NSPLIT-th consists of rows/columns
|
129
|
-
* ISPLIT(NSPLIT-1)+1 through ISPLIT(NSPLIT)=N.
|
130
|
-
* (Only the first NSPLIT elements will actually be used, but
|
131
|
-
* since the user cannot know a priori what value NSPLIT will
|
132
|
-
* have, N words must be reserved for ISPLIT.)
|
133
|
-
*
|
134
|
-
* WORK (workspace) REAL array, dimension (4*N)
|
135
|
-
*
|
136
|
-
* IWORK (workspace) INTEGER array, dimension (3*N)
|
137
|
-
*
|
138
|
-
* INFO (output) INTEGER
|
139
|
-
* = 0: successful exit
|
140
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value
|
141
|
-
* > 0: some or all of the eigenvalues failed to converge or
|
142
|
-
* were not computed:
|
143
|
-
* =1 or 3: Bisection failed to converge for some
|
144
|
-
* eigenvalues; these eigenvalues are flagged by a
|
145
|
-
* negative block number. The effect is that the
|
146
|
-
* eigenvalues may not be as accurate as the
|
147
|
-
* absolute and relative tolerances. This is
|
148
|
-
* generally caused by unexpectedly inaccurate
|
149
|
-
* arithmetic.
|
150
|
-
* =2 or 3: RANGE='I' only: Not all of the eigenvalues
|
151
|
-
* IL:IU were found.
|
152
|
-
* Effect: M < IU+1-IL
|
153
|
-
* Cause: non-monotonic arithmetic, causing the
|
154
|
-
* Sturm sequence to be non-monotonic.
|
155
|
-
* Cure: recalculate, using RANGE='A', and pick
|
156
|
-
* out eigenvalues IL:IU. In some cases,
|
157
|
-
* increasing the PARAMETER "FUDGE" may
|
158
|
-
* make things work.
|
159
|
-
* = 4: RANGE='I', and the Gershgorin interval
|
160
|
-
* initially used was too small. No eigenvalues
|
161
|
-
* were computed.
|
162
|
-
* Probable cause: your machine has sloppy
|
163
|
-
* floating-point arithmetic.
|
164
|
-
* Cure: Increase the PARAMETER "FUDGE",
|
165
|
-
* recompile, and try again.
|
166
|
-
*
|
167
|
-
* Internal Parameters
|
168
|
-
* ===================
|
169
|
-
*
|
170
|
-
* RELFAC REAL, default = 2.0e0
|
171
|
-
* The relative tolerance. An interval (a,b] lies within
|
172
|
-
* "relative tolerance" if b-a < RELFAC*ulp*max(|a|,|b|),
|
173
|
-
* where "ulp" is the machine precision (distance from 1 to
|
174
|
-
* the next larger floating point number.)
|
175
|
-
*
|
176
|
-
* FUDGE REAL, default = 2
|
177
|
-
* A "fudge factor" to widen the Gershgorin intervals. Ideally,
|
178
|
-
* a value of 1 should work, but on machines with sloppy
|
179
|
-
* arithmetic, this needs to be larger. The default for
|
180
|
-
* publicly released versions should be large enough to handle
|
181
|
-
* the worst machine around. Note that this has no effect
|
182
|
-
* on accuracy of the solution.
|
183
|
-
*
|
184
|
-
|
185
|
-
* =====================================================================
|
186
|
-
*
|
187
|
-
|
188
|
-
|
189
|
-
</PRE>
|
190
|
-
<A HREF="#top">go to the page top</A>
|
191
|
-
|
192
|
-
<A NAME="sstedc"></A>
|
193
|
-
<H2>sstedc</H2>
|
194
|
-
<PRE>
|
195
|
-
USAGE:
|
196
|
-
work, iwork, info, d, e, z = NumRu::Lapack.sstedc( compz, d, e, z, [:lwork => lwork, :liwork => liwork, :usage => usage, :help => help])
|
197
|
-
|
198
|
-
|
199
|
-
FORTRAN MANUAL
|
200
|
-
SUBROUTINE SSTEDC( COMPZ, N, D, E, Z, LDZ, WORK, LWORK, IWORK, LIWORK, INFO )
|
201
|
-
|
202
|
-
* Purpose
|
203
|
-
* =======
|
204
|
-
*
|
205
|
-
* SSTEDC computes all eigenvalues and, optionally, eigenvectors of a
|
206
|
-
* symmetric tridiagonal matrix using the divide and conquer method.
|
207
|
-
* The eigenvectors of a full or band real symmetric matrix can also be
|
208
|
-
* found if SSYTRD or SSPTRD or SSBTRD has been used to reduce this
|
209
|
-
* matrix to tridiagonal form.
|
210
|
-
*
|
211
|
-
* This code makes very mild assumptions about floating point
|
212
|
-
* arithmetic. It will work on machines with a guard digit in
|
213
|
-
* add/subtract, or on those binary machines without guard digits
|
214
|
-
* which subtract like the Cray X-MP, Cray Y-MP, Cray C-90, or Cray-2.
|
215
|
-
* It could conceivably fail on hexadecimal or decimal machines
|
216
|
-
* without guard digits, but we know of none. See SLAED3 for details.
|
217
|
-
*
|
218
|
-
|
219
|
-
* Arguments
|
220
|
-
* =========
|
221
|
-
*
|
222
|
-
* COMPZ (input) CHARACTER*1
|
223
|
-
* = 'N': Compute eigenvalues only.
|
224
|
-
* = 'I': Compute eigenvectors of tridiagonal matrix also.
|
225
|
-
* = 'V': Compute eigenvectors of original dense symmetric
|
226
|
-
* matrix also. On entry, Z contains the orthogonal
|
227
|
-
* matrix used to reduce the original matrix to
|
228
|
-
* tridiagonal form.
|
229
|
-
*
|
230
|
-
* N (input) INTEGER
|
231
|
-
* The dimension of the symmetric tridiagonal matrix. N >= 0.
|
232
|
-
*
|
233
|
-
* D (input/output) REAL array, dimension (N)
|
234
|
-
* On entry, the diagonal elements of the tridiagonal matrix.
|
235
|
-
* On exit, if INFO = 0, the eigenvalues in ascending order.
|
236
|
-
*
|
237
|
-
* E (input/output) REAL array, dimension (N-1)
|
238
|
-
* On entry, the subdiagonal elements of the tridiagonal matrix.
|
239
|
-
* On exit, E has been destroyed.
|
240
|
-
*
|
241
|
-
* Z (input/output) REAL array, dimension (LDZ,N)
|
242
|
-
* On entry, if COMPZ = 'V', then Z contains the orthogonal
|
243
|
-
* matrix used in the reduction to tridiagonal form.
|
244
|
-
* On exit, if INFO = 0, then if COMPZ = 'V', Z contains the
|
245
|
-
* orthonormal eigenvectors of the original symmetric matrix,
|
246
|
-
* and if COMPZ = 'I', Z contains the orthonormal eigenvectors
|
247
|
-
* of the symmetric tridiagonal matrix.
|
248
|
-
* If COMPZ = 'N', then Z is not referenced.
|
249
|
-
*
|
250
|
-
* LDZ (input) INTEGER
|
251
|
-
* The leading dimension of the array Z. LDZ >= 1.
|
252
|
-
* If eigenvectors are desired, then LDZ >= max(1,N).
|
253
|
-
*
|
254
|
-
* WORK (workspace/output) REAL array, dimension (MAX(1,LWORK))
|
255
|
-
* On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
|
256
|
-
*
|
257
|
-
* LWORK (input) INTEGER
|
258
|
-
* The dimension of the array WORK.
|
259
|
-
* If COMPZ = 'N' or N <= 1 then LWORK must be at least 1.
|
260
|
-
* If COMPZ = 'V' and N > 1 then LWORK must be at least
|
261
|
-
* ( 1 + 3*N + 2*N*lg N + 3*N**2 ),
|
262
|
-
* where lg( N ) = smallest integer k such
|
263
|
-
* that 2**k >= N.
|
264
|
-
* If COMPZ = 'I' and N > 1 then LWORK must be at least
|
265
|
-
* ( 1 + 4*N + N**2 ).
|
266
|
-
* Note that for COMPZ = 'I' or 'V', then if N is less than or
|
267
|
-
* equal to the minimum divide size, usually 25, then LWORK need
|
268
|
-
* only be max(1,2*(N-1)).
|
269
|
-
*
|
270
|
-
* If LWORK = -1, then a workspace query is assumed; the routine
|
271
|
-
* only calculates the optimal size of the WORK array, returns
|
272
|
-
* this value as the first entry of the WORK array, and no error
|
273
|
-
* message related to LWORK is issued by XERBLA.
|
274
|
-
*
|
275
|
-
* IWORK (workspace/output) INTEGER array, dimension (MAX(1,LIWORK))
|
276
|
-
* On exit, if INFO = 0, IWORK(1) returns the optimal LIWORK.
|
277
|
-
*
|
278
|
-
* LIWORK (input) INTEGER
|
279
|
-
* The dimension of the array IWORK.
|
280
|
-
* If COMPZ = 'N' or N <= 1 then LIWORK must be at least 1.
|
281
|
-
* If COMPZ = 'V' and N > 1 then LIWORK must be at least
|
282
|
-
* ( 6 + 6*N + 5*N*lg N ).
|
283
|
-
* If COMPZ = 'I' and N > 1 then LIWORK must be at least
|
284
|
-
* ( 3 + 5*N ).
|
285
|
-
* Note that for COMPZ = 'I' or 'V', then if N is less than or
|
286
|
-
* equal to the minimum divide size, usually 25, then LIWORK
|
287
|
-
* need only be 1.
|
288
|
-
*
|
289
|
-
* If LIWORK = -1, then a workspace query is assumed; the
|
290
|
-
* routine only calculates the optimal size of the IWORK array,
|
291
|
-
* returns this value as the first entry of the IWORK array, and
|
292
|
-
* no error message related to LIWORK is issued by XERBLA.
|
293
|
-
*
|
294
|
-
* INFO (output) INTEGER
|
295
|
-
* = 0: successful exit.
|
296
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value.
|
297
|
-
* > 0: The algorithm failed to compute an eigenvalue while
|
298
|
-
* working on the submatrix lying in rows and columns
|
299
|
-
* INFO/(N+1) through mod(INFO,N+1).
|
300
|
-
*
|
301
|
-
|
302
|
-
* Further Details
|
303
|
-
* ===============
|
304
|
-
*
|
305
|
-
* Based on contributions by
|
306
|
-
* Jeff Rutter, Computer Science Division, University of California
|
307
|
-
* at Berkeley, USA
|
308
|
-
* Modified by Francoise Tisseur, University of Tennessee.
|
309
|
-
*
|
310
|
-
* =====================================================================
|
311
|
-
*
|
312
|
-
|
313
|
-
|
314
|
-
</PRE>
|
315
|
-
<A HREF="#top">go to the page top</A>
|
316
|
-
|
317
|
-
<A NAME="sstegr"></A>
|
318
|
-
<H2>sstegr</H2>
|
319
|
-
<PRE>
|
320
|
-
USAGE:
|
321
|
-
m, w, z, isuppz, work, iwork, info, d, e = NumRu::Lapack.sstegr( jobz, range, d, e, vl, vu, il, iu, abstol, [:lwork => lwork, :liwork => liwork, :usage => usage, :help => help])
|
322
|
-
|
323
|
-
|
324
|
-
FORTRAN MANUAL
|
325
|
-
SUBROUTINE SSTEGR( JOBZ, RANGE, N, D, E, VL, VU, IL, IU, ABSTOL, M, W, Z, LDZ, ISUPPZ, WORK, LWORK, IWORK, LIWORK, INFO )
|
326
|
-
|
327
|
-
* Purpose
|
328
|
-
* =======
|
329
|
-
*
|
330
|
-
* SSTEGR computes selected eigenvalues and, optionally, eigenvectors
|
331
|
-
* of a real symmetric tridiagonal matrix T. Any such unreduced matrix has
|
332
|
-
* a well defined set of pairwise different real eigenvalues, the corresponding
|
333
|
-
* real eigenvectors are pairwise orthogonal.
|
334
|
-
*
|
335
|
-
* The spectrum may be computed either completely or partially by specifying
|
336
|
-
* either an interval (VL,VU] or a range of indices IL:IU for the desired
|
337
|
-
* eigenvalues.
|
338
|
-
*
|
339
|
-
* SSTEGR is a compatability wrapper around the improved SSTEMR routine.
|
340
|
-
* See SSTEMR for further details.
|
341
|
-
*
|
342
|
-
* One important change is that the ABSTOL parameter no longer provides any
|
343
|
-
* benefit and hence is no longer used.
|
344
|
-
*
|
345
|
-
* Note : SSTEGR and SSTEMR work only on machines which follow
|
346
|
-
* IEEE-754 floating-point standard in their handling of infinities and
|
347
|
-
* NaNs. Normal execution may create these exceptiona values and hence
|
348
|
-
* may abort due to a floating point exception in environments which
|
349
|
-
* do not conform to the IEEE-754 standard.
|
350
|
-
*
|
351
|
-
|
352
|
-
* Arguments
|
353
|
-
* =========
|
354
|
-
*
|
355
|
-
* JOBZ (input) CHARACTER*1
|
356
|
-
* = 'N': Compute eigenvalues only;
|
357
|
-
* = 'V': Compute eigenvalues and eigenvectors.
|
358
|
-
*
|
359
|
-
* RANGE (input) CHARACTER*1
|
360
|
-
* = 'A': all eigenvalues will be found.
|
361
|
-
* = 'V': all eigenvalues in the half-open interval (VL,VU]
|
362
|
-
* will be found.
|
363
|
-
* = 'I': the IL-th through IU-th eigenvalues will be found.
|
364
|
-
*
|
365
|
-
* N (input) INTEGER
|
366
|
-
* The order of the matrix. N >= 0.
|
367
|
-
*
|
368
|
-
* D (input/output) REAL array, dimension (N)
|
369
|
-
* On entry, the N diagonal elements of the tridiagonal matrix
|
370
|
-
* T. On exit, D is overwritten.
|
371
|
-
*
|
372
|
-
* E (input/output) REAL array, dimension (N)
|
373
|
-
* On entry, the (N-1) subdiagonal elements of the tridiagonal
|
374
|
-
* matrix T in elements 1 to N-1 of E. E(N) need not be set on
|
375
|
-
* input, but is used internally as workspace.
|
376
|
-
* On exit, E is overwritten.
|
377
|
-
*
|
378
|
-
* VL (input) REAL
|
379
|
-
* VU (input) REAL
|
380
|
-
* If RANGE='V', the lower and upper bounds of the interval to
|
381
|
-
* be searched for eigenvalues. VL < VU.
|
382
|
-
* Not referenced if RANGE = 'A' or 'I'.
|
383
|
-
*
|
384
|
-
* IL (input) INTEGER
|
385
|
-
* IU (input) INTEGER
|
386
|
-
* If RANGE='I', the indices (in ascending order) of the
|
387
|
-
* smallest and largest eigenvalues to be returned.
|
388
|
-
* 1 <= IL <= IU <= N, if N > 0.
|
389
|
-
* Not referenced if RANGE = 'A' or 'V'.
|
390
|
-
*
|
391
|
-
* ABSTOL (input) REAL
|
392
|
-
* Unused. Was the absolute error tolerance for the
|
393
|
-
* eigenvalues/eigenvectors in previous versions.
|
394
|
-
*
|
395
|
-
* M (output) INTEGER
|
396
|
-
* The total number of eigenvalues found. 0 <= M <= N.
|
397
|
-
* If RANGE = 'A', M = N, and if RANGE = 'I', M = IU-IL+1.
|
398
|
-
*
|
399
|
-
* W (output) REAL array, dimension (N)
|
400
|
-
* The first M elements contain the selected eigenvalues in
|
401
|
-
* ascending order.
|
402
|
-
*
|
403
|
-
* Z (output) REAL array, dimension (LDZ, max(1,M) )
|
404
|
-
* If JOBZ = 'V', and if INFO = 0, then the first M columns of Z
|
405
|
-
* contain the orthonormal eigenvectors of the matrix T
|
406
|
-
* corresponding to the selected eigenvalues, with the i-th
|
407
|
-
* column of Z holding the eigenvector associated with W(i).
|
408
|
-
* If JOBZ = 'N', then Z is not referenced.
|
409
|
-
* Note: the user must ensure that at least max(1,M) columns are
|
410
|
-
* supplied in the array Z; if RANGE = 'V', the exact value of M
|
411
|
-
* is not known in advance and an upper bound must be used.
|
412
|
-
* Supplying N columns is always safe.
|
413
|
-
*
|
414
|
-
* LDZ (input) INTEGER
|
415
|
-
* The leading dimension of the array Z. LDZ >= 1, and if
|
416
|
-
* JOBZ = 'V', then LDZ >= max(1,N).
|
417
|
-
*
|
418
|
-
* ISUPPZ (output) INTEGER ARRAY, dimension ( 2*max(1,M) )
|
419
|
-
* The support of the eigenvectors in Z, i.e., the indices
|
420
|
-
* indicating the nonzero elements in Z. The i-th computed eigenvector
|
421
|
-
* is nonzero only in elements ISUPPZ( 2*i-1 ) through
|
422
|
-
* ISUPPZ( 2*i ). This is relevant in the case when the matrix
|
423
|
-
* is split. ISUPPZ is only accessed when JOBZ is 'V' and N > 0.
|
424
|
-
*
|
425
|
-
* WORK (workspace/output) REAL array, dimension (LWORK)
|
426
|
-
* On exit, if INFO = 0, WORK(1) returns the optimal
|
427
|
-
* (and minimal) LWORK.
|
428
|
-
*
|
429
|
-
* LWORK (input) INTEGER
|
430
|
-
* The dimension of the array WORK. LWORK >= max(1,18*N)
|
431
|
-
* if JOBZ = 'V', and LWORK >= max(1,12*N) if JOBZ = 'N'.
|
432
|
-
* If LWORK = -1, then a workspace query is assumed; the routine
|
433
|
-
* only calculates the optimal size of the WORK array, returns
|
434
|
-
* this value as the first entry of the WORK array, and no error
|
435
|
-
* message related to LWORK is issued by XERBLA.
|
436
|
-
*
|
437
|
-
* IWORK (workspace/output) INTEGER array, dimension (LIWORK)
|
438
|
-
* On exit, if INFO = 0, IWORK(1) returns the optimal LIWORK.
|
439
|
-
*
|
440
|
-
* LIWORK (input) INTEGER
|
441
|
-
* The dimension of the array IWORK. LIWORK >= max(1,10*N)
|
442
|
-
* if the eigenvectors are desired, and LIWORK >= max(1,8*N)
|
443
|
-
* if only the eigenvalues are to be computed.
|
444
|
-
* If LIWORK = -1, then a workspace query is assumed; the
|
445
|
-
* routine only calculates the optimal size of the IWORK array,
|
446
|
-
* returns this value as the first entry of the IWORK array, and
|
447
|
-
* no error message related to LIWORK is issued by XERBLA.
|
448
|
-
*
|
449
|
-
* INFO (output) INTEGER
|
450
|
-
* On exit, INFO
|
451
|
-
* = 0: successful exit
|
452
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value
|
453
|
-
* > 0: if INFO = 1X, internal error in SLARRE,
|
454
|
-
* if INFO = 2X, internal error in SLARRV.
|
455
|
-
* Here, the digit X = ABS( IINFO ) < 10, where IINFO is
|
456
|
-
* the nonzero error code returned by SLARRE or
|
457
|
-
* SLARRV, respectively.
|
458
|
-
*
|
459
|
-
|
460
|
-
* Further Details
|
461
|
-
* ===============
|
462
|
-
*
|
463
|
-
* Based on contributions by
|
464
|
-
* Inderjit Dhillon, IBM Almaden, USA
|
465
|
-
* Osni Marques, LBNL/NERSC, USA
|
466
|
-
* Christof Voemel, LBNL/NERSC, USA
|
467
|
-
*
|
468
|
-
* =====================================================================
|
469
|
-
*
|
470
|
-
* .. Local Scalars ..
|
471
|
-
LOGICAL TRYRAC
|
472
|
-
* ..
|
473
|
-
* .. External Subroutines ..
|
474
|
-
EXTERNAL SSTEMR
|
475
|
-
* ..
|
476
|
-
|
477
|
-
|
478
|
-
</PRE>
|
479
|
-
<A HREF="#top">go to the page top</A>
|
480
|
-
|
481
|
-
<A NAME="sstein"></A>
|
482
|
-
<H2>sstein</H2>
|
483
|
-
<PRE>
|
484
|
-
USAGE:
|
485
|
-
z, ifail, info = NumRu::Lapack.sstein( d, e, w, iblock, isplit, [:usage => usage, :help => help])
|
486
|
-
|
487
|
-
|
488
|
-
FORTRAN MANUAL
|
489
|
-
SUBROUTINE SSTEIN( N, D, E, M, W, IBLOCK, ISPLIT, Z, LDZ, WORK, IWORK, IFAIL, INFO )
|
490
|
-
|
491
|
-
* Purpose
|
492
|
-
* =======
|
493
|
-
*
|
494
|
-
* SSTEIN computes the eigenvectors of a real symmetric tridiagonal
|
495
|
-
* matrix T corresponding to specified eigenvalues, using inverse
|
496
|
-
* iteration.
|
497
|
-
*
|
498
|
-
* The maximum number of iterations allowed for each eigenvector is
|
499
|
-
* specified by an internal parameter MAXITS (currently set to 5).
|
500
|
-
*
|
501
|
-
|
502
|
-
* Arguments
|
503
|
-
* =========
|
504
|
-
*
|
505
|
-
* N (input) INTEGER
|
506
|
-
* The order of the matrix. N >= 0.
|
507
|
-
*
|
508
|
-
* D (input) REAL array, dimension (N)
|
509
|
-
* The n diagonal elements of the tridiagonal matrix T.
|
510
|
-
*
|
511
|
-
* E (input) REAL array, dimension (N-1)
|
512
|
-
* The (n-1) subdiagonal elements of the tridiagonal matrix
|
513
|
-
* T, in elements 1 to N-1.
|
514
|
-
*
|
515
|
-
* M (input) INTEGER
|
516
|
-
* The number of eigenvectors to be found. 0 <= M <= N.
|
517
|
-
*
|
518
|
-
* W (input) REAL array, dimension (N)
|
519
|
-
* The first M elements of W contain the eigenvalues for
|
520
|
-
* which eigenvectors are to be computed. The eigenvalues
|
521
|
-
* should be grouped by split-off block and ordered from
|
522
|
-
* smallest to largest within the block. ( The output array
|
523
|
-
* W from SSTEBZ with ORDER = 'B' is expected here. )
|
524
|
-
*
|
525
|
-
* IBLOCK (input) INTEGER array, dimension (N)
|
526
|
-
* The submatrix indices associated with the corresponding
|
527
|
-
* eigenvalues in W; IBLOCK(i)=1 if eigenvalue W(i) belongs to
|
528
|
-
* the first submatrix from the top, =2 if W(i) belongs to
|
529
|
-
* the second submatrix, etc. ( The output array IBLOCK
|
530
|
-
* from SSTEBZ is expected here. )
|
531
|
-
*
|
532
|
-
* ISPLIT (input) INTEGER array, dimension (N)
|
533
|
-
* The splitting points, at which T breaks up into submatrices.
|
534
|
-
* The first submatrix consists of rows/columns 1 to
|
535
|
-
* ISPLIT( 1 ), the second of rows/columns ISPLIT( 1 )+1
|
536
|
-
* through ISPLIT( 2 ), etc.
|
537
|
-
* ( The output array ISPLIT from SSTEBZ is expected here. )
|
538
|
-
*
|
539
|
-
* Z (output) REAL array, dimension (LDZ, M)
|
540
|
-
* The computed eigenvectors. The eigenvector associated
|
541
|
-
* with the eigenvalue W(i) is stored in the i-th column of
|
542
|
-
* Z. Any vector which fails to converge is set to its current
|
543
|
-
* iterate after MAXITS iterations.
|
544
|
-
*
|
545
|
-
* LDZ (input) INTEGER
|
546
|
-
* The leading dimension of the array Z. LDZ >= max(1,N).
|
547
|
-
*
|
548
|
-
* WORK (workspace) REAL array, dimension (5*N)
|
549
|
-
*
|
550
|
-
* IWORK (workspace) INTEGER array, dimension (N)
|
551
|
-
*
|
552
|
-
* IFAIL (output) INTEGER array, dimension (M)
|
553
|
-
* On normal exit, all elements of IFAIL are zero.
|
554
|
-
* If one or more eigenvectors fail to converge after
|
555
|
-
* MAXITS iterations, then their indices are stored in
|
556
|
-
* array IFAIL.
|
557
|
-
*
|
558
|
-
* INFO (output) INTEGER
|
559
|
-
* = 0: successful exit.
|
560
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value
|
561
|
-
* > 0: if INFO = i, then i eigenvectors failed to converge
|
562
|
-
* in MAXITS iterations. Their indices are stored in
|
563
|
-
* array IFAIL.
|
564
|
-
*
|
565
|
-
* Internal Parameters
|
566
|
-
* ===================
|
567
|
-
*
|
568
|
-
* MAXITS INTEGER, default = 5
|
569
|
-
* The maximum number of iterations performed.
|
570
|
-
*
|
571
|
-
* EXTRA INTEGER, default = 2
|
572
|
-
* The number of iterations performed after norm growth
|
573
|
-
* criterion is satisfied, should be at least 1.
|
574
|
-
*
|
575
|
-
|
576
|
-
* =====================================================================
|
577
|
-
*
|
578
|
-
|
579
|
-
|
580
|
-
</PRE>
|
581
|
-
<A HREF="#top">go to the page top</A>
|
582
|
-
|
583
|
-
<A NAME="sstemr"></A>
|
584
|
-
<H2>sstemr</H2>
|
585
|
-
<PRE>
|
586
|
-
USAGE:
|
587
|
-
m, w, z, isuppz, work, iwork, info, d, e, tryrac = NumRu::Lapack.sstemr( jobz, range, d, e, vl, vu, il, iu, nzc, tryrac, [:lwork => lwork, :liwork => liwork, :usage => usage, :help => help])
|
588
|
-
|
589
|
-
|
590
|
-
FORTRAN MANUAL
|
591
|
-
SUBROUTINE SSTEMR( JOBZ, RANGE, N, D, E, VL, VU, IL, IU, M, W, Z, LDZ, NZC, ISUPPZ, TRYRAC, WORK, LWORK, IWORK, LIWORK, INFO )
|
592
|
-
|
593
|
-
* Purpose
|
594
|
-
* =======
|
595
|
-
*
|
596
|
-
* SSTEMR computes selected eigenvalues and, optionally, eigenvectors
|
597
|
-
* of a real symmetric tridiagonal matrix T. Any such unreduced matrix has
|
598
|
-
* a well defined set of pairwise different real eigenvalues, the corresponding
|
599
|
-
* real eigenvectors are pairwise orthogonal.
|
600
|
-
*
|
601
|
-
* The spectrum may be computed either completely or partially by specifying
|
602
|
-
* either an interval (VL,VU] or a range of indices IL:IU for the desired
|
603
|
-
* eigenvalues.
|
604
|
-
*
|
605
|
-
* Depending on the number of desired eigenvalues, these are computed either
|
606
|
-
* by bisection or the dqds algorithm. Numerically orthogonal eigenvectors are
|
607
|
-
* computed by the use of various suitable L D L^T factorizations near clusters
|
608
|
-
* of close eigenvalues (referred to as RRRs, Relatively Robust
|
609
|
-
* Representations). An informal sketch of the algorithm follows.
|
610
|
-
*
|
611
|
-
* For each unreduced block (submatrix) of T,
|
612
|
-
* (a) Compute T - sigma I = L D L^T, so that L and D
|
613
|
-
* define all the wanted eigenvalues to high relative accuracy.
|
614
|
-
* This means that small relative changes in the entries of D and L
|
615
|
-
* cause only small relative changes in the eigenvalues and
|
616
|
-
* eigenvectors. The standard (unfactored) representation of the
|
617
|
-
* tridiagonal matrix T does not have this property in general.
|
618
|
-
* (b) Compute the eigenvalues to suitable accuracy.
|
619
|
-
* If the eigenvectors are desired, the algorithm attains full
|
620
|
-
* accuracy of the computed eigenvalues only right before
|
621
|
-
* the corresponding vectors have to be computed, see steps c) and d).
|
622
|
-
* (c) For each cluster of close eigenvalues, select a new
|
623
|
-
* shift close to the cluster, find a new factorization, and refine
|
624
|
-
* the shifted eigenvalues to suitable accuracy.
|
625
|
-
* (d) For each eigenvalue with a large enough relative separation compute
|
626
|
-
* the corresponding eigenvector by forming a rank revealing twisted
|
627
|
-
* factorization. Go back to (c) for any clusters that remain.
|
628
|
-
*
|
629
|
-
* For more details, see:
|
630
|
-
* - Inderjit S. Dhillon and Beresford N. Parlett: "Multiple representations
|
631
|
-
* to compute orthogonal eigenvectors of symmetric tridiagonal matrices,"
|
632
|
-
* Linear Algebra and its Applications, 387(1), pp. 1-28, August 2004.
|
633
|
-
* - Inderjit Dhillon and Beresford Parlett: "Orthogonal Eigenvectors and
|
634
|
-
* Relative Gaps," SIAM Journal on Matrix Analysis and Applications, Vol. 25,
|
635
|
-
* 2004. Also LAPACK Working Note 154.
|
636
|
-
* - Inderjit Dhillon: "A new O(n^2) algorithm for the symmetric
|
637
|
-
* tridiagonal eigenvalue/eigenvector problem",
|
638
|
-
* Computer Science Division Technical Report No. UCB/CSD-97-971,
|
639
|
-
* UC Berkeley, May 1997.
|
640
|
-
*
|
641
|
-
* Further Details
|
642
|
-
* 1.SSTEMR works only on machines which follow IEEE-754
|
643
|
-
* floating-point standard in their handling of infinities and NaNs.
|
644
|
-
* This permits the use of efficient inner loops avoiding a check for
|
645
|
-
* zero divisors.
|
646
|
-
*
|
647
|
-
|
648
|
-
* Arguments
|
649
|
-
* =========
|
650
|
-
*
|
651
|
-
* JOBZ (input) CHARACTER*1
|
652
|
-
* = 'N': Compute eigenvalues only;
|
653
|
-
* = 'V': Compute eigenvalues and eigenvectors.
|
654
|
-
*
|
655
|
-
* RANGE (input) CHARACTER*1
|
656
|
-
* = 'A': all eigenvalues will be found.
|
657
|
-
* = 'V': all eigenvalues in the half-open interval (VL,VU]
|
658
|
-
* will be found.
|
659
|
-
* = 'I': the IL-th through IU-th eigenvalues will be found.
|
660
|
-
*
|
661
|
-
* N (input) INTEGER
|
662
|
-
* The order of the matrix. N >= 0.
|
663
|
-
*
|
664
|
-
* D (input/output) REAL array, dimension (N)
|
665
|
-
* On entry, the N diagonal elements of the tridiagonal matrix
|
666
|
-
* T. On exit, D is overwritten.
|
667
|
-
*
|
668
|
-
* E (input/output) REAL array, dimension (N)
|
669
|
-
* On entry, the (N-1) subdiagonal elements of the tridiagonal
|
670
|
-
* matrix T in elements 1 to N-1 of E. E(N) need not be set on
|
671
|
-
* input, but is used internally as workspace.
|
672
|
-
* On exit, E is overwritten.
|
673
|
-
*
|
674
|
-
* VL (input) REAL
|
675
|
-
* VU (input) REAL
|
676
|
-
* If RANGE='V', the lower and upper bounds of the interval to
|
677
|
-
* be searched for eigenvalues. VL < VU.
|
678
|
-
* Not referenced if RANGE = 'A' or 'I'.
|
679
|
-
*
|
680
|
-
* IL (input) INTEGER
|
681
|
-
* IU (input) INTEGER
|
682
|
-
* If RANGE='I', the indices (in ascending order) of the
|
683
|
-
* smallest and largest eigenvalues to be returned.
|
684
|
-
* 1 <= IL <= IU <= N, if N > 0.
|
685
|
-
* Not referenced if RANGE = 'A' or 'V'.
|
686
|
-
*
|
687
|
-
* M (output) INTEGER
|
688
|
-
* The total number of eigenvalues found. 0 <= M <= N.
|
689
|
-
* If RANGE = 'A', M = N, and if RANGE = 'I', M = IU-IL+1.
|
690
|
-
*
|
691
|
-
* W (output) REAL array, dimension (N)
|
692
|
-
* The first M elements contain the selected eigenvalues in
|
693
|
-
* ascending order.
|
694
|
-
*
|
695
|
-
* Z (output) REAL array, dimension (LDZ, max(1,M) )
|
696
|
-
* If JOBZ = 'V', and if INFO = 0, then the first M columns of Z
|
697
|
-
* contain the orthonormal eigenvectors of the matrix T
|
698
|
-
* corresponding to the selected eigenvalues, with the i-th
|
699
|
-
* column of Z holding the eigenvector associated with W(i).
|
700
|
-
* If JOBZ = 'N', then Z is not referenced.
|
701
|
-
* Note: the user must ensure that at least max(1,M) columns are
|
702
|
-
* supplied in the array Z; if RANGE = 'V', the exact value of M
|
703
|
-
* is not known in advance and can be computed with a workspace
|
704
|
-
* query by setting NZC = -1, see below.
|
705
|
-
*
|
706
|
-
* LDZ (input) INTEGER
|
707
|
-
* The leading dimension of the array Z. LDZ >= 1, and if
|
708
|
-
* JOBZ = 'V', then LDZ >= max(1,N).
|
709
|
-
*
|
710
|
-
* NZC (input) INTEGER
|
711
|
-
* The number of eigenvectors to be held in the array Z.
|
712
|
-
* If RANGE = 'A', then NZC >= max(1,N).
|
713
|
-
* If RANGE = 'V', then NZC >= the number of eigenvalues in (VL,VU].
|
714
|
-
* If RANGE = 'I', then NZC >= IU-IL+1.
|
715
|
-
* If NZC = -1, then a workspace query is assumed; the
|
716
|
-
* routine calculates the number of columns of the array Z that
|
717
|
-
* are needed to hold the eigenvectors.
|
718
|
-
* This value is returned as the first entry of the Z array, and
|
719
|
-
* no error message related to NZC is issued by XERBLA.
|
720
|
-
*
|
721
|
-
* ISUPPZ (output) INTEGER ARRAY, dimension ( 2*max(1,M) )
|
722
|
-
* The support of the eigenvectors in Z, i.e., the indices
|
723
|
-
* indicating the nonzero elements in Z. The i-th computed eigenvector
|
724
|
-
* is nonzero only in elements ISUPPZ( 2*i-1 ) through
|
725
|
-
* ISUPPZ( 2*i ). This is relevant in the case when the matrix
|
726
|
-
* is split. ISUPPZ is only accessed when JOBZ is 'V' and N > 0.
|
727
|
-
*
|
728
|
-
* TRYRAC (input/output) LOGICAL
|
729
|
-
* If TRYRAC.EQ..TRUE., indicates that the code should check whether
|
730
|
-
* the tridiagonal matrix defines its eigenvalues to high relative
|
731
|
-
* accuracy. If so, the code uses relative-accuracy preserving
|
732
|
-
* algorithms that might be (a bit) slower depending on the matrix.
|
733
|
-
* If the matrix does not define its eigenvalues to high relative
|
734
|
-
* accuracy, the code can uses possibly faster algorithms.
|
735
|
-
* If TRYRAC.EQ..FALSE., the code is not required to guarantee
|
736
|
-
* relatively accurate eigenvalues and can use the fastest possible
|
737
|
-
* techniques.
|
738
|
-
* On exit, a .TRUE. TRYRAC will be set to .FALSE. if the matrix
|
739
|
-
* does not define its eigenvalues to high relative accuracy.
|
740
|
-
*
|
741
|
-
* WORK (workspace/output) REAL array, dimension (LWORK)
|
742
|
-
* On exit, if INFO = 0, WORK(1) returns the optimal
|
743
|
-
* (and minimal) LWORK.
|
744
|
-
*
|
745
|
-
* LWORK (input) INTEGER
|
746
|
-
* The dimension of the array WORK. LWORK >= max(1,18*N)
|
747
|
-
* if JOBZ = 'V', and LWORK >= max(1,12*N) if JOBZ = 'N'.
|
748
|
-
* If LWORK = -1, then a workspace query is assumed; the routine
|
749
|
-
* only calculates the optimal size of the WORK array, returns
|
750
|
-
* this value as the first entry of the WORK array, and no error
|
751
|
-
* message related to LWORK is issued by XERBLA.
|
752
|
-
*
|
753
|
-
* IWORK (workspace/output) INTEGER array, dimension (LIWORK)
|
754
|
-
* On exit, if INFO = 0, IWORK(1) returns the optimal LIWORK.
|
755
|
-
*
|
756
|
-
* LIWORK (input) INTEGER
|
757
|
-
* The dimension of the array IWORK. LIWORK >= max(1,10*N)
|
758
|
-
* if the eigenvectors are desired, and LIWORK >= max(1,8*N)
|
759
|
-
* if only the eigenvalues are to be computed.
|
760
|
-
* If LIWORK = -1, then a workspace query is assumed; the
|
761
|
-
* routine only calculates the optimal size of the IWORK array,
|
762
|
-
* returns this value as the first entry of the IWORK array, and
|
763
|
-
* no error message related to LIWORK is issued by XERBLA.
|
764
|
-
*
|
765
|
-
* INFO (output) INTEGER
|
766
|
-
* On exit, INFO
|
767
|
-
* = 0: successful exit
|
768
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value
|
769
|
-
* > 0: if INFO = 1X, internal error in SLARRE,
|
770
|
-
* if INFO = 2X, internal error in SLARRV.
|
771
|
-
* Here, the digit X = ABS( IINFO ) < 10, where IINFO is
|
772
|
-
* the nonzero error code returned by SLARRE or
|
773
|
-
* SLARRV, respectively.
|
774
|
-
*
|
775
|
-
*
|
776
|
-
|
777
|
-
* Further Details
|
778
|
-
* ===============
|
779
|
-
*
|
780
|
-
* Based on contributions by
|
781
|
-
* Beresford Parlett, University of California, Berkeley, USA
|
782
|
-
* Jim Demmel, University of California, Berkeley, USA
|
783
|
-
* Inderjit Dhillon, University of Texas, Austin, USA
|
784
|
-
* Osni Marques, LBNL/NERSC, USA
|
785
|
-
* Christof Voemel, University of California, Berkeley, USA
|
786
|
-
*
|
787
|
-
* =====================================================================
|
788
|
-
*
|
789
|
-
|
790
|
-
|
791
|
-
</PRE>
|
792
|
-
<A HREF="#top">go to the page top</A>
|
793
|
-
|
794
|
-
<A NAME="ssteqr"></A>
|
795
|
-
<H2>ssteqr</H2>
|
796
|
-
<PRE>
|
797
|
-
USAGE:
|
798
|
-
info, d, e, z = NumRu::Lapack.ssteqr( compz, d, e, z, [:usage => usage, :help => help])
|
799
|
-
|
800
|
-
|
801
|
-
FORTRAN MANUAL
|
802
|
-
SUBROUTINE SSTEQR( COMPZ, N, D, E, Z, LDZ, WORK, INFO )
|
803
|
-
|
804
|
-
* Purpose
|
805
|
-
* =======
|
806
|
-
*
|
807
|
-
* SSTEQR computes all eigenvalues and, optionally, eigenvectors of a
|
808
|
-
* symmetric tridiagonal matrix using the implicit QL or QR method.
|
809
|
-
* The eigenvectors of a full or band symmetric matrix can also be found
|
810
|
-
* if SSYTRD or SSPTRD or SSBTRD has been used to reduce this matrix to
|
811
|
-
* tridiagonal form.
|
812
|
-
*
|
813
|
-
|
814
|
-
* Arguments
|
815
|
-
* =========
|
816
|
-
*
|
817
|
-
* COMPZ (input) CHARACTER*1
|
818
|
-
* = 'N': Compute eigenvalues only.
|
819
|
-
* = 'V': Compute eigenvalues and eigenvectors of the original
|
820
|
-
* symmetric matrix. On entry, Z must contain the
|
821
|
-
* orthogonal matrix used to reduce the original matrix
|
822
|
-
* to tridiagonal form.
|
823
|
-
* = 'I': Compute eigenvalues and eigenvectors of the
|
824
|
-
* tridiagonal matrix. Z is initialized to the identity
|
825
|
-
* matrix.
|
826
|
-
*
|
827
|
-
* N (input) INTEGER
|
828
|
-
* The order of the matrix. N >= 0.
|
829
|
-
*
|
830
|
-
* D (input/output) REAL array, dimension (N)
|
831
|
-
* On entry, the diagonal elements of the tridiagonal matrix.
|
832
|
-
* On exit, if INFO = 0, the eigenvalues in ascending order.
|
833
|
-
*
|
834
|
-
* E (input/output) REAL array, dimension (N-1)
|
835
|
-
* On entry, the (n-1) subdiagonal elements of the tridiagonal
|
836
|
-
* matrix.
|
837
|
-
* On exit, E has been destroyed.
|
838
|
-
*
|
839
|
-
* Z (input/output) REAL array, dimension (LDZ, N)
|
840
|
-
* On entry, if COMPZ = 'V', then Z contains the orthogonal
|
841
|
-
* matrix used in the reduction to tridiagonal form.
|
842
|
-
* On exit, if INFO = 0, then if COMPZ = 'V', Z contains the
|
843
|
-
* orthonormal eigenvectors of the original symmetric matrix,
|
844
|
-
* and if COMPZ = 'I', Z contains the orthonormal eigenvectors
|
845
|
-
* of the symmetric tridiagonal matrix.
|
846
|
-
* If COMPZ = 'N', then Z is not referenced.
|
847
|
-
*
|
848
|
-
* LDZ (input) INTEGER
|
849
|
-
* The leading dimension of the array Z. LDZ >= 1, and if
|
850
|
-
* eigenvectors are desired, then LDZ >= max(1,N).
|
851
|
-
*
|
852
|
-
* WORK (workspace) REAL array, dimension (max(1,2*N-2))
|
853
|
-
* If COMPZ = 'N', then WORK is not referenced.
|
854
|
-
*
|
855
|
-
* INFO (output) INTEGER
|
856
|
-
* = 0: successful exit
|
857
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value
|
858
|
-
* > 0: the algorithm has failed to find all the eigenvalues in
|
859
|
-
* a total of 30*N iterations; if INFO = i, then i
|
860
|
-
* elements of E have not converged to zero; on exit, D
|
861
|
-
* and E contain the elements of a symmetric tridiagonal
|
862
|
-
* matrix which is orthogonally similar to the original
|
863
|
-
* matrix.
|
864
|
-
*
|
865
|
-
|
866
|
-
* =====================================================================
|
867
|
-
*
|
868
|
-
|
869
|
-
|
870
|
-
</PRE>
|
871
|
-
<A HREF="#top">go to the page top</A>
|
872
|
-
|
873
|
-
<A NAME="ssterf"></A>
|
874
|
-
<H2>ssterf</H2>
|
875
|
-
<PRE>
|
876
|
-
USAGE:
|
877
|
-
info, d, e = NumRu::Lapack.ssterf( d, e, [:usage => usage, :help => help])
|
878
|
-
|
879
|
-
|
880
|
-
FORTRAN MANUAL
|
881
|
-
SUBROUTINE SSTERF( N, D, E, INFO )
|
882
|
-
|
883
|
-
* Purpose
|
884
|
-
* =======
|
885
|
-
*
|
886
|
-
* SSTERF computes all eigenvalues of a symmetric tridiagonal matrix
|
887
|
-
* using the Pal-Walker-Kahan variant of the QL or QR algorithm.
|
888
|
-
*
|
889
|
-
|
890
|
-
* Arguments
|
891
|
-
* =========
|
892
|
-
*
|
893
|
-
* N (input) INTEGER
|
894
|
-
* The order of the matrix. N >= 0.
|
895
|
-
*
|
896
|
-
* D (input/output) REAL array, dimension (N)
|
897
|
-
* On entry, the n diagonal elements of the tridiagonal matrix.
|
898
|
-
* On exit, if INFO = 0, the eigenvalues in ascending order.
|
899
|
-
*
|
900
|
-
* E (input/output) REAL array, dimension (N-1)
|
901
|
-
* On entry, the (n-1) subdiagonal elements of the tridiagonal
|
902
|
-
* matrix.
|
903
|
-
* On exit, E has been destroyed.
|
904
|
-
*
|
905
|
-
* INFO (output) INTEGER
|
906
|
-
* = 0: successful exit
|
907
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value
|
908
|
-
* > 0: the algorithm failed to find all of the eigenvalues in
|
909
|
-
* a total of 30*N iterations; if INFO = i, then i
|
910
|
-
* elements of E have not converged to zero.
|
911
|
-
*
|
912
|
-
|
913
|
-
* =====================================================================
|
914
|
-
*
|
915
|
-
|
916
|
-
|
917
|
-
</PRE>
|
918
|
-
<A HREF="#top">go to the page top</A>
|
919
|
-
|
920
|
-
<A NAME="sstev"></A>
|
921
|
-
<H2>sstev</H2>
|
922
|
-
<PRE>
|
923
|
-
USAGE:
|
924
|
-
z, info, d, e = NumRu::Lapack.sstev( jobz, d, e, [:usage => usage, :help => help])
|
925
|
-
|
926
|
-
|
927
|
-
FORTRAN MANUAL
|
928
|
-
SUBROUTINE SSTEV( JOBZ, N, D, E, Z, LDZ, WORK, INFO )
|
929
|
-
|
930
|
-
* Purpose
|
931
|
-
* =======
|
932
|
-
*
|
933
|
-
* SSTEV computes all eigenvalues and, optionally, eigenvectors of a
|
934
|
-
* real symmetric tridiagonal matrix A.
|
935
|
-
*
|
936
|
-
|
937
|
-
* Arguments
|
938
|
-
* =========
|
939
|
-
*
|
940
|
-
* JOBZ (input) CHARACTER*1
|
941
|
-
* = 'N': Compute eigenvalues only;
|
942
|
-
* = 'V': Compute eigenvalues and eigenvectors.
|
943
|
-
*
|
944
|
-
* N (input) INTEGER
|
945
|
-
* The order of the matrix. N >= 0.
|
946
|
-
*
|
947
|
-
* D (input/output) REAL array, dimension (N)
|
948
|
-
* On entry, the n diagonal elements of the tridiagonal matrix
|
949
|
-
* A.
|
950
|
-
* On exit, if INFO = 0, the eigenvalues in ascending order.
|
951
|
-
*
|
952
|
-
* E (input/output) REAL array, dimension (N-1)
|
953
|
-
* On entry, the (n-1) subdiagonal elements of the tridiagonal
|
954
|
-
* matrix A, stored in elements 1 to N-1 of E.
|
955
|
-
* On exit, the contents of E are destroyed.
|
956
|
-
*
|
957
|
-
* Z (output) REAL array, dimension (LDZ, N)
|
958
|
-
* If JOBZ = 'V', then if INFO = 0, Z contains the orthonormal
|
959
|
-
* eigenvectors of the matrix A, with the i-th column of Z
|
960
|
-
* holding the eigenvector associated with D(i).
|
961
|
-
* If JOBZ = 'N', then Z is not referenced.
|
962
|
-
*
|
963
|
-
* LDZ (input) INTEGER
|
964
|
-
* The leading dimension of the array Z. LDZ >= 1, and if
|
965
|
-
* JOBZ = 'V', LDZ >= max(1,N).
|
966
|
-
*
|
967
|
-
* WORK (workspace) REAL array, dimension (max(1,2*N-2))
|
968
|
-
* If JOBZ = 'N', WORK is not referenced.
|
969
|
-
*
|
970
|
-
* INFO (output) INTEGER
|
971
|
-
* = 0: successful exit
|
972
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value
|
973
|
-
* > 0: if INFO = i, the algorithm failed to converge; i
|
974
|
-
* off-diagonal elements of E did not converge to zero.
|
975
|
-
*
|
976
|
-
|
977
|
-
* =====================================================================
|
978
|
-
*
|
979
|
-
|
980
|
-
|
981
|
-
</PRE>
|
982
|
-
<A HREF="#top">go to the page top</A>
|
983
|
-
|
984
|
-
<A NAME="sstevd"></A>
|
985
|
-
<H2>sstevd</H2>
|
986
|
-
<PRE>
|
987
|
-
USAGE:
|
988
|
-
z, work, iwork, info, d, e = NumRu::Lapack.sstevd( jobz, d, e, [:lwork => lwork, :liwork => liwork, :usage => usage, :help => help])
|
989
|
-
|
990
|
-
|
991
|
-
FORTRAN MANUAL
|
992
|
-
SUBROUTINE SSTEVD( JOBZ, N, D, E, Z, LDZ, WORK, LWORK, IWORK, LIWORK, INFO )
|
993
|
-
|
994
|
-
* Purpose
|
995
|
-
* =======
|
996
|
-
*
|
997
|
-
* SSTEVD computes all eigenvalues and, optionally, eigenvectors of a
|
998
|
-
* real symmetric tridiagonal matrix. If eigenvectors are desired, it
|
999
|
-
* uses a divide and conquer algorithm.
|
1000
|
-
*
|
1001
|
-
* The divide and conquer algorithm makes very mild assumptions about
|
1002
|
-
* floating point arithmetic. It will work on machines with a guard
|
1003
|
-
* digit in add/subtract, or on those binary machines without guard
|
1004
|
-
* digits which subtract like the Cray X-MP, Cray Y-MP, Cray C-90, or
|
1005
|
-
* Cray-2. It could conceivably fail on hexadecimal or decimal machines
|
1006
|
-
* without guard digits, but we know of none.
|
1007
|
-
*
|
1008
|
-
|
1009
|
-
* Arguments
|
1010
|
-
* =========
|
1011
|
-
*
|
1012
|
-
* JOBZ (input) CHARACTER*1
|
1013
|
-
* = 'N': Compute eigenvalues only;
|
1014
|
-
* = 'V': Compute eigenvalues and eigenvectors.
|
1015
|
-
*
|
1016
|
-
* N (input) INTEGER
|
1017
|
-
* The order of the matrix. N >= 0.
|
1018
|
-
*
|
1019
|
-
* D (input/output) REAL array, dimension (N)
|
1020
|
-
* On entry, the n diagonal elements of the tridiagonal matrix
|
1021
|
-
* A.
|
1022
|
-
* On exit, if INFO = 0, the eigenvalues in ascending order.
|
1023
|
-
*
|
1024
|
-
* E (input/output) REAL array, dimension (N-1)
|
1025
|
-
* On entry, the (n-1) subdiagonal elements of the tridiagonal
|
1026
|
-
* matrix A, stored in elements 1 to N-1 of E.
|
1027
|
-
* On exit, the contents of E are destroyed.
|
1028
|
-
*
|
1029
|
-
* Z (output) REAL array, dimension (LDZ, N)
|
1030
|
-
* If JOBZ = 'V', then if INFO = 0, Z contains the orthonormal
|
1031
|
-
* eigenvectors of the matrix A, with the i-th column of Z
|
1032
|
-
* holding the eigenvector associated with D(i).
|
1033
|
-
* If JOBZ = 'N', then Z is not referenced.
|
1034
|
-
*
|
1035
|
-
* LDZ (input) INTEGER
|
1036
|
-
* The leading dimension of the array Z. LDZ >= 1, and if
|
1037
|
-
* JOBZ = 'V', LDZ >= max(1,N).
|
1038
|
-
*
|
1039
|
-
* WORK (workspace/output) REAL array,
|
1040
|
-
* dimension (LWORK)
|
1041
|
-
* On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
|
1042
|
-
*
|
1043
|
-
* LWORK (input) INTEGER
|
1044
|
-
* The dimension of the array WORK.
|
1045
|
-
* If JOBZ = 'N' or N <= 1 then LWORK must be at least 1.
|
1046
|
-
* If JOBZ = 'V' and N > 1 then LWORK must be at least
|
1047
|
-
* ( 1 + 4*N + N**2 ).
|
1048
|
-
*
|
1049
|
-
* If LWORK = -1, then a workspace query is assumed; the routine
|
1050
|
-
* only calculates the optimal sizes of the WORK and IWORK
|
1051
|
-
* arrays, returns these values as the first entries of the WORK
|
1052
|
-
* and IWORK arrays, and no error message related to LWORK or
|
1053
|
-
* LIWORK is issued by XERBLA.
|
1054
|
-
*
|
1055
|
-
* IWORK (workspace/output) INTEGER array, dimension (MAX(1,LIWORK))
|
1056
|
-
* On exit, if INFO = 0, IWORK(1) returns the optimal LIWORK.
|
1057
|
-
*
|
1058
|
-
* LIWORK (input) INTEGER
|
1059
|
-
* The dimension of the array IWORK.
|
1060
|
-
* If JOBZ = 'N' or N <= 1 then LIWORK must be at least 1.
|
1061
|
-
* If JOBZ = 'V' and N > 1 then LIWORK must be at least 3+5*N.
|
1062
|
-
*
|
1063
|
-
* If LIWORK = -1, then a workspace query is assumed; the
|
1064
|
-
* routine only calculates the optimal sizes of the WORK and
|
1065
|
-
* IWORK arrays, returns these values as the first entries of
|
1066
|
-
* the WORK and IWORK arrays, and no error message related to
|
1067
|
-
* LWORK or LIWORK is issued by XERBLA.
|
1068
|
-
*
|
1069
|
-
* INFO (output) INTEGER
|
1070
|
-
* = 0: successful exit
|
1071
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value
|
1072
|
-
* > 0: if INFO = i, the algorithm failed to converge; i
|
1073
|
-
* off-diagonal elements of E did not converge to zero.
|
1074
|
-
*
|
1075
|
-
|
1076
|
-
* =====================================================================
|
1077
|
-
*
|
1078
|
-
|
1079
|
-
|
1080
|
-
</PRE>
|
1081
|
-
<A HREF="#top">go to the page top</A>
|
1082
|
-
|
1083
|
-
<A NAME="sstevr"></A>
|
1084
|
-
<H2>sstevr</H2>
|
1085
|
-
<PRE>
|
1086
|
-
USAGE:
|
1087
|
-
m, w, z, isuppz, work, iwork, info, d, e = NumRu::Lapack.sstevr( jobz, range, d, e, vl, vu, il, iu, abstol, [:lwork => lwork, :liwork => liwork, :usage => usage, :help => help])
|
1088
|
-
|
1089
|
-
|
1090
|
-
FORTRAN MANUAL
|
1091
|
-
SUBROUTINE SSTEVR( JOBZ, RANGE, N, D, E, VL, VU, IL, IU, ABSTOL, M, W, Z, LDZ, ISUPPZ, WORK, LWORK, IWORK, LIWORK, INFO )
|
1092
|
-
|
1093
|
-
* Purpose
|
1094
|
-
* =======
|
1095
|
-
*
|
1096
|
-
* SSTEVR computes selected eigenvalues and, optionally, eigenvectors
|
1097
|
-
* of a real symmetric tridiagonal matrix T. Eigenvalues and
|
1098
|
-
* eigenvectors can be selected by specifying either a range of values
|
1099
|
-
* or a range of indices for the desired eigenvalues.
|
1100
|
-
*
|
1101
|
-
* Whenever possible, SSTEVR calls SSTEMR to compute the
|
1102
|
-
* eigenspectrum using Relatively Robust Representations. SSTEMR
|
1103
|
-
* computes eigenvalues by the dqds algorithm, while orthogonal
|
1104
|
-
* eigenvectors are computed from various "good" L D L^T representations
|
1105
|
-
* (also known as Relatively Robust Representations). Gram-Schmidt
|
1106
|
-
* orthogonalization is avoided as far as possible. More specifically,
|
1107
|
-
* the various steps of the algorithm are as follows. For the i-th
|
1108
|
-
* unreduced block of T,
|
1109
|
-
* (a) Compute T - sigma_i = L_i D_i L_i^T, such that L_i D_i L_i^T
|
1110
|
-
* is a relatively robust representation,
|
1111
|
-
* (b) Compute the eigenvalues, lambda_j, of L_i D_i L_i^T to high
|
1112
|
-
* relative accuracy by the dqds algorithm,
|
1113
|
-
* (c) If there is a cluster of close eigenvalues, "choose" sigma_i
|
1114
|
-
* close to the cluster, and go to step (a),
|
1115
|
-
* (d) Given the approximate eigenvalue lambda_j of L_i D_i L_i^T,
|
1116
|
-
* compute the corresponding eigenvector by forming a
|
1117
|
-
* rank-revealing twisted factorization.
|
1118
|
-
* The desired accuracy of the output can be specified by the input
|
1119
|
-
* parameter ABSTOL.
|
1120
|
-
*
|
1121
|
-
* For more details, see "A new O(n^2) algorithm for the symmetric
|
1122
|
-
* tridiagonal eigenvalue/eigenvector problem", by Inderjit Dhillon,
|
1123
|
-
* Computer Science Division Technical Report No. UCB//CSD-97-971,
|
1124
|
-
* UC Berkeley, May 1997.
|
1125
|
-
*
|
1126
|
-
*
|
1127
|
-
* Note 1 : SSTEVR calls SSTEMR when the full spectrum is requested
|
1128
|
-
* on machines which conform to the ieee-754 floating point standard.
|
1129
|
-
* SSTEVR calls SSTEBZ and SSTEIN on non-ieee machines and
|
1130
|
-
* when partial spectrum requests are made.
|
1131
|
-
*
|
1132
|
-
* Normal execution of SSTEMR may create NaNs and infinities and
|
1133
|
-
* hence may abort due to a floating point exception in environments
|
1134
|
-
* which do not handle NaNs and infinities in the ieee standard default
|
1135
|
-
* manner.
|
1136
|
-
*
|
1137
|
-
|
1138
|
-
* Arguments
|
1139
|
-
* =========
|
1140
|
-
*
|
1141
|
-
* JOBZ (input) CHARACTER*1
|
1142
|
-
* = 'N': Compute eigenvalues only;
|
1143
|
-
* = 'V': Compute eigenvalues and eigenvectors.
|
1144
|
-
*
|
1145
|
-
* RANGE (input) CHARACTER*1
|
1146
|
-
* = 'A': all eigenvalues will be found.
|
1147
|
-
* = 'V': all eigenvalues in the half-open interval (VL,VU]
|
1148
|
-
* will be found.
|
1149
|
-
* = 'I': the IL-th through IU-th eigenvalues will be found.
|
1150
|
-
********** For RANGE = 'V' or 'I' and IU - IL < N - 1, SSTEBZ and
|
1151
|
-
********** SSTEIN are called
|
1152
|
-
*
|
1153
|
-
* N (input) INTEGER
|
1154
|
-
* The order of the matrix. N >= 0.
|
1155
|
-
*
|
1156
|
-
* D (input/output) REAL array, dimension (N)
|
1157
|
-
* On entry, the n diagonal elements of the tridiagonal matrix
|
1158
|
-
* A.
|
1159
|
-
* On exit, D may be multiplied by a constant factor chosen
|
1160
|
-
* to avoid over/underflow in computing the eigenvalues.
|
1161
|
-
*
|
1162
|
-
* E (input/output) REAL array, dimension (max(1,N-1))
|
1163
|
-
* On entry, the (n-1) subdiagonal elements of the tridiagonal
|
1164
|
-
* matrix A in elements 1 to N-1 of E.
|
1165
|
-
* On exit, E may be multiplied by a constant factor chosen
|
1166
|
-
* to avoid over/underflow in computing the eigenvalues.
|
1167
|
-
*
|
1168
|
-
* VL (input) REAL
|
1169
|
-
* VU (input) REAL
|
1170
|
-
* If RANGE='V', the lower and upper bounds of the interval to
|
1171
|
-
* be searched for eigenvalues. VL < VU.
|
1172
|
-
* Not referenced if RANGE = 'A' or 'I'.
|
1173
|
-
*
|
1174
|
-
* IL (input) INTEGER
|
1175
|
-
* IU (input) INTEGER
|
1176
|
-
* If RANGE='I', the indices (in ascending order) of the
|
1177
|
-
* smallest and largest eigenvalues to be returned.
|
1178
|
-
* 1 <= IL <= IU <= N, if N > 0; IL = 1 and IU = 0 if N = 0.
|
1179
|
-
* Not referenced if RANGE = 'A' or 'V'.
|
1180
|
-
*
|
1181
|
-
* ABSTOL (input) REAL
|
1182
|
-
* The absolute error tolerance for the eigenvalues.
|
1183
|
-
* An approximate eigenvalue is accepted as converged
|
1184
|
-
* when it is determined to lie in an interval [a,b]
|
1185
|
-
* of width less than or equal to
|
1186
|
-
*
|
1187
|
-
* ABSTOL + EPS * max( |a|,|b| ) ,
|
1188
|
-
*
|
1189
|
-
* where EPS is the machine precision. If ABSTOL is less than
|
1190
|
-
* or equal to zero, then EPS*|T| will be used in its place,
|
1191
|
-
* where |T| is the 1-norm of the tridiagonal matrix obtained
|
1192
|
-
* by reducing A to tridiagonal form.
|
1193
|
-
*
|
1194
|
-
* See "Computing Small Singular Values of Bidiagonal Matrices
|
1195
|
-
* with Guaranteed High Relative Accuracy," by Demmel and
|
1196
|
-
* Kahan, LAPACK Working Note #3.
|
1197
|
-
*
|
1198
|
-
* If high relative accuracy is important, set ABSTOL to
|
1199
|
-
* SLAMCH( 'Safe minimum' ). Doing so will guarantee that
|
1200
|
-
* eigenvalues are computed to high relative accuracy when
|
1201
|
-
* possible in future releases. The current code does not
|
1202
|
-
* make any guarantees about high relative accuracy, but
|
1203
|
-
* future releases will. See J. Barlow and J. Demmel,
|
1204
|
-
* "Computing Accurate Eigensystems of Scaled Diagonally
|
1205
|
-
* Dominant Matrices", LAPACK Working Note #7, for a discussion
|
1206
|
-
* of which matrices define their eigenvalues to high relative
|
1207
|
-
* accuracy.
|
1208
|
-
*
|
1209
|
-
* M (output) INTEGER
|
1210
|
-
* The total number of eigenvalues found. 0 <= M <= N.
|
1211
|
-
* If RANGE = 'A', M = N, and if RANGE = 'I', M = IU-IL+1.
|
1212
|
-
*
|
1213
|
-
* W (output) REAL array, dimension (N)
|
1214
|
-
* The first M elements contain the selected eigenvalues in
|
1215
|
-
* ascending order.
|
1216
|
-
*
|
1217
|
-
* Z (output) REAL array, dimension (LDZ, max(1,M) )
|
1218
|
-
* If JOBZ = 'V', then if INFO = 0, the first M columns of Z
|
1219
|
-
* contain the orthonormal eigenvectors of the matrix A
|
1220
|
-
* corresponding to the selected eigenvalues, with the i-th
|
1221
|
-
* column of Z holding the eigenvector associated with W(i).
|
1222
|
-
* Note: the user must ensure that at least max(1,M) columns are
|
1223
|
-
* supplied in the array Z; if RANGE = 'V', the exact value of M
|
1224
|
-
* is not known in advance and an upper bound must be used.
|
1225
|
-
*
|
1226
|
-
* LDZ (input) INTEGER
|
1227
|
-
* The leading dimension of the array Z. LDZ >= 1, and if
|
1228
|
-
* JOBZ = 'V', LDZ >= max(1,N).
|
1229
|
-
*
|
1230
|
-
* ISUPPZ (output) INTEGER array, dimension ( 2*max(1,M) )
|
1231
|
-
* The support of the eigenvectors in Z, i.e., the indices
|
1232
|
-
* indicating the nonzero elements in Z. The i-th eigenvector
|
1233
|
-
* is nonzero only in elements ISUPPZ( 2*i-1 ) through
|
1234
|
-
* ISUPPZ( 2*i ).
|
1235
|
-
********** Implemented only for RANGE = 'A' or 'I' and IU - IL = N - 1
|
1236
|
-
*
|
1237
|
-
* WORK (workspace/output) REAL array, dimension (MAX(1,LWORK))
|
1238
|
-
* On exit, if INFO = 0, WORK(1) returns the optimal (and
|
1239
|
-
* minimal) LWORK.
|
1240
|
-
*
|
1241
|
-
* LWORK (input) INTEGER
|
1242
|
-
* The dimension of the array WORK. LWORK >= 20*N.
|
1243
|
-
*
|
1244
|
-
* If LWORK = -1, then a workspace query is assumed; the routine
|
1245
|
-
* only calculates the optimal sizes of the WORK and IWORK
|
1246
|
-
* arrays, returns these values as the first entries of the WORK
|
1247
|
-
* and IWORK arrays, and no error message related to LWORK or
|
1248
|
-
* LIWORK is issued by XERBLA.
|
1249
|
-
*
|
1250
|
-
* IWORK (workspace/output) INTEGER array, dimension (MAX(1,LIWORK))
|
1251
|
-
* On exit, if INFO = 0, IWORK(1) returns the optimal (and
|
1252
|
-
* minimal) LIWORK.
|
1253
|
-
*
|
1254
|
-
* LIWORK (input) INTEGER
|
1255
|
-
* The dimension of the array IWORK. LIWORK >= 10*N.
|
1256
|
-
*
|
1257
|
-
* If LIWORK = -1, then a workspace query is assumed; the
|
1258
|
-
* routine only calculates the optimal sizes of the WORK and
|
1259
|
-
* IWORK arrays, returns these values as the first entries of
|
1260
|
-
* the WORK and IWORK arrays, and no error message related to
|
1261
|
-
* LWORK or LIWORK is issued by XERBLA.
|
1262
|
-
*
|
1263
|
-
* INFO (output) INTEGER
|
1264
|
-
* = 0: successful exit
|
1265
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value
|
1266
|
-
* > 0: Internal error
|
1267
|
-
*
|
1268
|
-
|
1269
|
-
* Further Details
|
1270
|
-
* ===============
|
1271
|
-
*
|
1272
|
-
* Based on contributions by
|
1273
|
-
* Inderjit Dhillon, IBM Almaden, USA
|
1274
|
-
* Osni Marques, LBNL/NERSC, USA
|
1275
|
-
* Ken Stanley, Computer Science Division, University of
|
1276
|
-
* California at Berkeley, USA
|
1277
|
-
* Jason Riedy, Computer Science Division, University of
|
1278
|
-
* California at Berkeley, USA
|
1279
|
-
*
|
1280
|
-
* =====================================================================
|
1281
|
-
*
|
1282
|
-
|
1283
|
-
|
1284
|
-
</PRE>
|
1285
|
-
<A HREF="#top">go to the page top</A>
|
1286
|
-
|
1287
|
-
<A NAME="sstevx"></A>
|
1288
|
-
<H2>sstevx</H2>
|
1289
|
-
<PRE>
|
1290
|
-
USAGE:
|
1291
|
-
m, w, z, ifail, info, d, e = NumRu::Lapack.sstevx( jobz, range, d, e, vl, vu, il, iu, abstol, [:usage => usage, :help => help])
|
1292
|
-
|
1293
|
-
|
1294
|
-
FORTRAN MANUAL
|
1295
|
-
SUBROUTINE SSTEVX( JOBZ, RANGE, N, D, E, VL, VU, IL, IU, ABSTOL, M, W, Z, LDZ, WORK, IWORK, IFAIL, INFO )
|
1296
|
-
|
1297
|
-
* Purpose
|
1298
|
-
* =======
|
1299
|
-
*
|
1300
|
-
* SSTEVX computes selected eigenvalues and, optionally, eigenvectors
|
1301
|
-
* of a real symmetric tridiagonal matrix A. Eigenvalues and
|
1302
|
-
* eigenvectors can be selected by specifying either a range of values
|
1303
|
-
* or a range of indices for the desired eigenvalues.
|
1304
|
-
*
|
1305
|
-
|
1306
|
-
* Arguments
|
1307
|
-
* =========
|
1308
|
-
*
|
1309
|
-
* JOBZ (input) CHARACTER*1
|
1310
|
-
* = 'N': Compute eigenvalues only;
|
1311
|
-
* = 'V': Compute eigenvalues and eigenvectors.
|
1312
|
-
*
|
1313
|
-
* RANGE (input) CHARACTER*1
|
1314
|
-
* = 'A': all eigenvalues will be found.
|
1315
|
-
* = 'V': all eigenvalues in the half-open interval (VL,VU]
|
1316
|
-
* will be found.
|
1317
|
-
* = 'I': the IL-th through IU-th eigenvalues will be found.
|
1318
|
-
*
|
1319
|
-
* N (input) INTEGER
|
1320
|
-
* The order of the matrix. N >= 0.
|
1321
|
-
*
|
1322
|
-
* D (input/output) REAL array, dimension (N)
|
1323
|
-
* On entry, the n diagonal elements of the tridiagonal matrix
|
1324
|
-
* A.
|
1325
|
-
* On exit, D may be multiplied by a constant factor chosen
|
1326
|
-
* to avoid over/underflow in computing the eigenvalues.
|
1327
|
-
*
|
1328
|
-
* E (input/output) REAL array, dimension (max(1,N-1))
|
1329
|
-
* On entry, the (n-1) subdiagonal elements of the tridiagonal
|
1330
|
-
* matrix A in elements 1 to N-1 of E.
|
1331
|
-
* On exit, E may be multiplied by a constant factor chosen
|
1332
|
-
* to avoid over/underflow in computing the eigenvalues.
|
1333
|
-
*
|
1334
|
-
* VL (input) REAL
|
1335
|
-
* VU (input) REAL
|
1336
|
-
* If RANGE='V', the lower and upper bounds of the interval to
|
1337
|
-
* be searched for eigenvalues. VL < VU.
|
1338
|
-
* Not referenced if RANGE = 'A' or 'I'.
|
1339
|
-
*
|
1340
|
-
* IL (input) INTEGER
|
1341
|
-
* IU (input) INTEGER
|
1342
|
-
* If RANGE='I', the indices (in ascending order) of the
|
1343
|
-
* smallest and largest eigenvalues to be returned.
|
1344
|
-
* 1 <= IL <= IU <= N, if N > 0; IL = 1 and IU = 0 if N = 0.
|
1345
|
-
* Not referenced if RANGE = 'A' or 'V'.
|
1346
|
-
*
|
1347
|
-
* ABSTOL (input) REAL
|
1348
|
-
* The absolute error tolerance for the eigenvalues.
|
1349
|
-
* An approximate eigenvalue is accepted as converged
|
1350
|
-
* when it is determined to lie in an interval [a,b]
|
1351
|
-
* of width less than or equal to
|
1352
|
-
*
|
1353
|
-
* ABSTOL + EPS * max( |a|,|b| ) ,
|
1354
|
-
*
|
1355
|
-
* where EPS is the machine precision. If ABSTOL is less
|
1356
|
-
* than or equal to zero, then EPS*|T| will be used in
|
1357
|
-
* its place, where |T| is the 1-norm of the tridiagonal
|
1358
|
-
* matrix.
|
1359
|
-
*
|
1360
|
-
* Eigenvalues will be computed most accurately when ABSTOL is
|
1361
|
-
* set to twice the underflow threshold 2*SLAMCH('S'), not zero.
|
1362
|
-
* If this routine returns with INFO>0, indicating that some
|
1363
|
-
* eigenvectors did not converge, try setting ABSTOL to
|
1364
|
-
* 2*SLAMCH('S').
|
1365
|
-
*
|
1366
|
-
* See "Computing Small Singular Values of Bidiagonal Matrices
|
1367
|
-
* with Guaranteed High Relative Accuracy," by Demmel and
|
1368
|
-
* Kahan, LAPACK Working Note #3.
|
1369
|
-
*
|
1370
|
-
* M (output) INTEGER
|
1371
|
-
* The total number of eigenvalues found. 0 <= M <= N.
|
1372
|
-
* If RANGE = 'A', M = N, and if RANGE = 'I', M = IU-IL+1.
|
1373
|
-
*
|
1374
|
-
* W (output) REAL array, dimension (N)
|
1375
|
-
* The first M elements contain the selected eigenvalues in
|
1376
|
-
* ascending order.
|
1377
|
-
*
|
1378
|
-
* Z (output) REAL array, dimension (LDZ, max(1,M) )
|
1379
|
-
* If JOBZ = 'V', then if INFO = 0, the first M columns of Z
|
1380
|
-
* contain the orthonormal eigenvectors of the matrix A
|
1381
|
-
* corresponding to the selected eigenvalues, with the i-th
|
1382
|
-
* column of Z holding the eigenvector associated with W(i).
|
1383
|
-
* If an eigenvector fails to converge (INFO > 0), then that
|
1384
|
-
* column of Z contains the latest approximation to the
|
1385
|
-
* eigenvector, and the index of the eigenvector is returned
|
1386
|
-
* in IFAIL. If JOBZ = 'N', then Z is not referenced.
|
1387
|
-
* Note: the user must ensure that at least max(1,M) columns are
|
1388
|
-
* supplied in the array Z; if RANGE = 'V', the exact value of M
|
1389
|
-
* is not known in advance and an upper bound must be used.
|
1390
|
-
*
|
1391
|
-
* LDZ (input) INTEGER
|
1392
|
-
* The leading dimension of the array Z. LDZ >= 1, and if
|
1393
|
-
* JOBZ = 'V', LDZ >= max(1,N).
|
1394
|
-
*
|
1395
|
-
* WORK (workspace) REAL array, dimension (5*N)
|
1396
|
-
*
|
1397
|
-
* IWORK (workspace) INTEGER array, dimension (5*N)
|
1398
|
-
*
|
1399
|
-
* IFAIL (output) INTEGER array, dimension (N)
|
1400
|
-
* If JOBZ = 'V', then if INFO = 0, the first M elements of
|
1401
|
-
* IFAIL are zero. If INFO > 0, then IFAIL contains the
|
1402
|
-
* indices of the eigenvectors that failed to converge.
|
1403
|
-
* If JOBZ = 'N', then IFAIL is not referenced.
|
1404
|
-
*
|
1405
|
-
* INFO (output) INTEGER
|
1406
|
-
* = 0: successful exit
|
1407
|
-
* < 0: if INFO = -i, the i-th argument had an illegal value
|
1408
|
-
* > 0: if INFO = i, then i eigenvectors failed to converge.
|
1409
|
-
* Their indices are stored in array IFAIL.
|
1410
|
-
*
|
1411
|
-
|
1412
|
-
* =====================================================================
|
1413
|
-
*
|
1414
|
-
|
1415
|
-
|
1416
|
-
</PRE>
|
1417
|
-
<A HREF="#top">go to the page top</A>
|
1418
|
-
|
1419
|
-
<HR />
|
1420
|
-
<A HREF="s.html">back to matrix types</A><BR>
|
1421
|
-
<A HREF="s.html">back to data types</A>
|
1422
|
-
</BODY>
|
1423
|
-
</HTML>
|