ruby-lapack 1.4.1a → 1.5

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