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/csy.html DELETED
@@ -1,2194 +0,0 @@
1
- <HTML>
2
- <HEAD>
3
- <TITLE>COMPLEX routines for symmetric matrix</TITLE>
4
- </HEAD>
5
- <BODY>
6
- <A NAME="top"></A>
7
- <H1>COMPLEX routines for symmetric matrix</H1>
8
- <UL>
9
- <LI><A HREF="#csycon">csycon</A></LI>
10
- <LI><A HREF="#csyconv">csyconv</A></LI>
11
- <LI><A HREF="#csyequb">csyequb</A></LI>
12
- <LI><A HREF="#csymv">csymv</A></LI>
13
- <LI><A HREF="#csyr">csyr</A></LI>
14
- <LI><A HREF="#csyrfs">csyrfs</A></LI>
15
- <LI><A HREF="#csyrfsx">csyrfsx</A></LI>
16
- <LI><A HREF="#csysv">csysv</A></LI>
17
- <LI><A HREF="#csysvx">csysvx</A></LI>
18
- <LI><A HREF="#csysvxx">csysvxx</A></LI>
19
- <LI><A HREF="#csyswapr">csyswapr</A></LI>
20
- <LI><A HREF="#csytf2">csytf2</A></LI>
21
- <LI><A HREF="#csytrf">csytrf</A></LI>
22
- <LI><A HREF="#csytri">csytri</A></LI>
23
- <LI><A HREF="#csytri2">csytri2</A></LI>
24
- <LI><A HREF="#csytri2x">csytri2x</A></LI>
25
- <LI><A HREF="#csytrs">csytrs</A></LI>
26
- <LI><A HREF="#csytrs2">csytrs2</A></LI>
27
- </UL>
28
-
29
- <A NAME="csycon"></A>
30
- <H2>csycon</H2>
31
- <PRE>
32
- USAGE:
33
- rcond, info = NumRu::Lapack.csycon( uplo, a, ipiv, anorm, [:usage => usage, :help => help])
34
-
35
-
36
- FORTRAN MANUAL
37
- SUBROUTINE CSYCON( UPLO, N, A, LDA, IPIV, ANORM, RCOND, WORK, INFO )
38
-
39
- * Purpose
40
- * =======
41
- *
42
- * CSYCON estimates the reciprocal of the condition number (in the
43
- * 1-norm) of a complex symmetric matrix A using the factorization
44
- * A = U*D*U**T or A = L*D*L**T computed by CSYTRF.
45
- *
46
- * An estimate is obtained for norm(inv(A)), and the reciprocal of the
47
- * condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
48
- *
49
-
50
- * Arguments
51
- * =========
52
- *
53
- * UPLO (input) CHARACTER*1
54
- * Specifies whether the details of the factorization are stored
55
- * as an upper or lower triangular matrix.
56
- * = 'U': Upper triangular, form is A = U*D*U**T;
57
- * = 'L': Lower triangular, form is A = L*D*L**T.
58
- *
59
- * N (input) INTEGER
60
- * The order of the matrix A. N >= 0.
61
- *
62
- * A (input) COMPLEX array, dimension (LDA,N)
63
- * The block diagonal matrix D and the multipliers used to
64
- * obtain the factor U or L as computed by CSYTRF.
65
- *
66
- * LDA (input) INTEGER
67
- * The leading dimension of the array A. LDA >= max(1,N).
68
- *
69
- * IPIV (input) INTEGER array, dimension (N)
70
- * Details of the interchanges and the block structure of D
71
- * as determined by CSYTRF.
72
- *
73
- * ANORM (input) REAL
74
- * The 1-norm of the original matrix A.
75
- *
76
- * RCOND (output) REAL
77
- * The reciprocal of the condition number of the matrix A,
78
- * computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is an
79
- * estimate of the 1-norm of inv(A) computed in this routine.
80
- *
81
- * WORK (workspace) COMPLEX array, dimension (2*N)
82
- *
83
- * INFO (output) INTEGER
84
- * = 0: successful exit
85
- * < 0: if INFO = -i, the i-th argument had an illegal value
86
- *
87
-
88
- * =====================================================================
89
- *
90
-
91
-
92
- </PRE>
93
- <A HREF="#top">go to the page top</A>
94
-
95
- <A NAME="csyconv"></A>
96
- <H2>csyconv</H2>
97
- <PRE>
98
- USAGE:
99
- info = NumRu::Lapack.csyconv( uplo, way, a, ipiv, [:usage => usage, :help => help])
100
-
101
-
102
- FORTRAN MANUAL
103
- SUBROUTINE CSYCONV( UPLO, WAY, N, A, LDA, IPIV, WORK, INFO )
104
-
105
- * Purpose
106
- * =======
107
- *
108
- * CSYCONV convert A given by TRF into L and D and vice-versa.
109
- * Get Non-diag elements of D (returned in workspace) and
110
- * apply or reverse permutation done in TRF.
111
- *
112
-
113
- * Arguments
114
- * =========
115
- *
116
- * UPLO (input) CHARACTER*1
117
- * Specifies whether the details of the factorization are stored
118
- * as an upper or lower triangular matrix.
119
- * = 'U': Upper triangular, form is A = U*D*U**T;
120
- * = 'L': Lower triangular, form is A = L*D*L**T.
121
- *
122
- * WAY (input) CHARACTER*1
123
- * = 'C': Convert
124
- * = 'R': Revert
125
- *
126
- * N (input) INTEGER
127
- * The order of the matrix A. N >= 0.
128
- *
129
- * A (input) COMPLEX array, dimension (LDA,N)
130
- * The block diagonal matrix D and the multipliers used to
131
- * obtain the factor U or L as computed by CSYTRF.
132
- *
133
- * LDA (input) INTEGER
134
- * The leading dimension of the array A. LDA >= max(1,N).
135
- *
136
- * IPIV (input) INTEGER array, dimension (N)
137
- * Details of the interchanges and the block structure of D
138
- * as determined by CSYTRF.
139
- *
140
- * WORK (workspace) COMPLEX array, dimension (N)
141
- *
142
- * LWORK (input) INTEGER
143
- * The length of WORK. LWORK >=1.
144
- * LWORK = N
145
- *
146
- * If LWORK = -1, then a workspace query is assumed; the routine
147
- * only calculates the optimal size of the WORK array, returns
148
- * this value as the first entry of the WORK array, and no error
149
- * message related to LWORK is issued by XERBLA.
150
- *
151
- * INFO (output) INTEGER
152
- * = 0: successful exit
153
- * < 0: if INFO = -i, the i-th argument had an illegal value
154
- *
155
-
156
- * =====================================================================
157
- *
158
-
159
-
160
- </PRE>
161
- <A HREF="#top">go to the page top</A>
162
-
163
- <A NAME="csyequb"></A>
164
- <H2>csyequb</H2>
165
- <PRE>
166
- USAGE:
167
- s, scond, amax, info = NumRu::Lapack.csyequb( uplo, a, [:usage => usage, :help => help])
168
-
169
-
170
- FORTRAN MANUAL
171
- SUBROUTINE CSYEQUB( UPLO, N, A, LDA, S, SCOND, AMAX, WORK, INFO )
172
-
173
- * Purpose
174
- * =======
175
- *
176
- * CSYEQUB computes row and column scalings intended to equilibrate a
177
- * symmetric matrix A and reduce its condition number
178
- * (with respect to the two-norm). S contains the scale factors,
179
- * S(i) = 1/sqrt(A(i,i)), chosen so that the scaled matrix B with
180
- * elements B(i,j) = S(i)*A(i,j)*S(j) has ones on the diagonal. This
181
- * choice of S puts the condition number of B within a factor N of the
182
- * smallest possible condition number over all possible diagonal
183
- * scalings.
184
- *
185
-
186
- * Arguments
187
- * =========
188
- *
189
- * UPLO (input) CHARACTER*1
190
- * Specifies whether the details of the factorization are stored
191
- * as an upper or lower triangular matrix.
192
- * = 'U': Upper triangular, form is A = U*D*U**T;
193
- * = 'L': Lower triangular, form is A = L*D*L**T.
194
- *
195
- * N (input) INTEGER
196
- * The order of the matrix A. N >= 0.
197
- *
198
- * A (input) COMPLEX array, dimension (LDA,N)
199
- * The N-by-N symmetric matrix whose scaling
200
- * factors are to be computed. Only the diagonal elements of A
201
- * are referenced.
202
- *
203
- * LDA (input) INTEGER
204
- * The leading dimension of the array A. LDA >= max(1,N).
205
- *
206
- * S (output) REAL array, dimension (N)
207
- * If INFO = 0, S contains the scale factors for A.
208
- *
209
- * SCOND (output) REAL
210
- * If INFO = 0, S contains the ratio of the smallest S(i) to
211
- * the largest S(i). If SCOND >= 0.1 and AMAX is neither too
212
- * large nor too small, it is not worth scaling by S.
213
- *
214
- * AMAX (output) REAL
215
- * Absolute value of largest matrix element. If AMAX is very
216
- * close to overflow or very close to underflow, the matrix
217
- * should be scaled.
218
- *
219
- * WORK (workspace) COMPLEX array, dimension (3*N)
220
- *
221
- * INFO (output) INTEGER
222
- * = 0: successful exit
223
- * < 0: if INFO = -i, the i-th argument had an illegal value
224
- * > 0: if INFO = i, the i-th diagonal element is nonpositive.
225
- *
226
-
227
- * Further Details
228
- * ======= =======
229
- *
230
- * Reference: Livne, O.E. and Golub, G.H., "Scaling by Binormalization",
231
- * Numerical Algorithms, vol. 35, no. 1, pp. 97-120, January 2004.
232
- * DOI 10.1023/B:NUMA.0000016606.32820.69
233
- * Tech report version: http://ruready.utah.edu/archive/papers/bin.pdf
234
- *
235
- * =====================================================================
236
- *
237
-
238
-
239
- </PRE>
240
- <A HREF="#top">go to the page top</A>
241
-
242
- <A NAME="csymv"></A>
243
- <H2>csymv</H2>
244
- <PRE>
245
- USAGE:
246
- y = NumRu::Lapack.csymv( uplo, alpha, a, x, incx, beta, y, incy, [:usage => usage, :help => help])
247
-
248
-
249
- FORTRAN MANUAL
250
- SUBROUTINE CSYMV( UPLO, N, ALPHA, A, LDA, X, INCX, BETA, Y, INCY )
251
-
252
- * Purpose
253
- * =======
254
- *
255
- * CSYMV performs the matrix-vector operation
256
- *
257
- * y := alpha*A*x + beta*y,
258
- *
259
- * where alpha and beta are scalars, x and y are n element vectors and
260
- * A is an n by n symmetric matrix.
261
- *
262
-
263
- * Arguments
264
- * ==========
265
- *
266
- * UPLO (input) CHARACTER*1
267
- * On entry, UPLO specifies whether the upper or lower
268
- * triangular part of the array A is to be referenced as
269
- * follows:
270
- *
271
- * UPLO = 'U' or 'u' Only the upper triangular part of A
272
- * is to be referenced.
273
- *
274
- * UPLO = 'L' or 'l' Only the lower triangular part of A
275
- * is to be referenced.
276
- *
277
- * Unchanged on exit.
278
- *
279
- * N (input) INTEGER
280
- * On entry, N specifies the order of the matrix A.
281
- * N must be at least zero.
282
- * Unchanged on exit.
283
- *
284
- * ALPHA (input) COMPLEX
285
- * On entry, ALPHA specifies the scalar alpha.
286
- * Unchanged on exit.
287
- *
288
- * A (input) COMPLEX array, dimension ( LDA, N )
289
- * Before entry, with UPLO = 'U' or 'u', the leading n by n
290
- * upper triangular part of the array A must contain the upper
291
- * triangular part of the symmetric matrix and the strictly
292
- * lower triangular part of A is not referenced.
293
- * Before entry, with UPLO = 'L' or 'l', the leading n by n
294
- * lower triangular part of the array A must contain the lower
295
- * triangular part of the symmetric matrix and the strictly
296
- * upper triangular part of A is not referenced.
297
- * Unchanged on exit.
298
- *
299
- * LDA (input) INTEGER
300
- * On entry, LDA specifies the first dimension of A as declared
301
- * in the calling (sub) program. LDA must be at least
302
- * max( 1, N ).
303
- * Unchanged on exit.
304
- *
305
- * X (input) COMPLEX array, dimension at least
306
- * ( 1 + ( N - 1 )*abs( INCX ) ).
307
- * Before entry, the incremented array X must contain the N-
308
- * element vector x.
309
- * Unchanged on exit.
310
- *
311
- * INCX (input) INTEGER
312
- * On entry, INCX specifies the increment for the elements of
313
- * X. INCX must not be zero.
314
- * Unchanged on exit.
315
- *
316
- * BETA (input) COMPLEX
317
- * On entry, BETA specifies the scalar beta. When BETA is
318
- * supplied as zero then Y need not be set on input.
319
- * Unchanged on exit.
320
- *
321
- * Y (input/output) COMPLEX array, dimension at least
322
- * ( 1 + ( N - 1 )*abs( INCY ) ).
323
- * Before entry, the incremented array Y must contain the n
324
- * element vector y. On exit, Y is overwritten by the updated
325
- * vector y.
326
- *
327
- * INCY (input) INTEGER
328
- * On entry, INCY specifies the increment for the elements of
329
- * Y. INCY must not be zero.
330
- * Unchanged on exit.
331
- *
332
-
333
- * =====================================================================
334
- *
335
-
336
-
337
- </PRE>
338
- <A HREF="#top">go to the page top</A>
339
-
340
- <A NAME="csyr"></A>
341
- <H2>csyr</H2>
342
- <PRE>
343
- USAGE:
344
- a = NumRu::Lapack.csyr( uplo, alpha, x, incx, a, [:usage => usage, :help => help])
345
-
346
-
347
- FORTRAN MANUAL
348
- SUBROUTINE CSYR( UPLO, N, ALPHA, X, INCX, A, LDA )
349
-
350
- * Purpose
351
- * =======
352
- *
353
- * CSYR performs the symmetric rank 1 operation
354
- *
355
- * A := alpha*x*( x' ) + A,
356
- *
357
- * where alpha is a complex scalar, x is an n element vector and A is an
358
- * n by n symmetric matrix.
359
- *
360
-
361
- * Arguments
362
- * ==========
363
- *
364
- * UPLO (input) CHARACTER*1
365
- * On entry, UPLO specifies whether the upper or lower
366
- * triangular part of the array A is to be referenced as
367
- * follows:
368
- *
369
- * UPLO = 'U' or 'u' Only the upper triangular part of A
370
- * is to be referenced.
371
- *
372
- * UPLO = 'L' or 'l' Only the lower triangular part of A
373
- * is to be referenced.
374
- *
375
- * Unchanged on exit.
376
- *
377
- * N (input) INTEGER
378
- * On entry, N specifies the order of the matrix A.
379
- * N must be at least zero.
380
- * Unchanged on exit.
381
- *
382
- * ALPHA (input) COMPLEX
383
- * On entry, ALPHA specifies the scalar alpha.
384
- * Unchanged on exit.
385
- *
386
- * X (input) COMPLEX array, dimension at least
387
- * ( 1 + ( N - 1 )*abs( INCX ) ).
388
- * Before entry, the incremented array X must contain the N-
389
- * element vector x.
390
- * Unchanged on exit.
391
- *
392
- * INCX (input) INTEGER
393
- * On entry, INCX specifies the increment for the elements of
394
- * X. INCX must not be zero.
395
- * Unchanged on exit.
396
- *
397
- * A (input/output) COMPLEX array, dimension ( LDA, N )
398
- * Before entry, with UPLO = 'U' or 'u', the leading n by n
399
- * upper triangular part of the array A must contain the upper
400
- * triangular part of the symmetric matrix and the strictly
401
- * lower triangular part of A is not referenced. On exit, the
402
- * upper triangular part of the array A is overwritten by the
403
- * upper triangular part of the updated matrix.
404
- * Before entry, with UPLO = 'L' or 'l', the leading n by n
405
- * lower triangular part of the array A must contain the lower
406
- * triangular part of the symmetric matrix and the strictly
407
- * upper triangular part of A is not referenced. On exit, the
408
- * lower triangular part of the array A is overwritten by the
409
- * lower triangular part of the updated matrix.
410
- *
411
- * LDA (input) INTEGER
412
- * On entry, LDA specifies the first dimension of A as declared
413
- * in the calling (sub) program. LDA must be at least
414
- * max( 1, N ).
415
- * Unchanged on exit.
416
- *
417
-
418
- * =====================================================================
419
- *
420
-
421
-
422
- </PRE>
423
- <A HREF="#top">go to the page top</A>
424
-
425
- <A NAME="csyrfs"></A>
426
- <H2>csyrfs</H2>
427
- <PRE>
428
- USAGE:
429
- ferr, berr, info, x = NumRu::Lapack.csyrfs( uplo, a, af, ipiv, b, x, [:usage => usage, :help => help])
430
-
431
-
432
- FORTRAN MANUAL
433
- SUBROUTINE CSYRFS( UPLO, N, NRHS, A, LDA, AF, LDAF, IPIV, B, LDB, X, LDX, FERR, BERR, WORK, RWORK, INFO )
434
-
435
- * Purpose
436
- * =======
437
- *
438
- * CSYRFS improves the computed solution to a system of linear
439
- * equations when the coefficient matrix is symmetric indefinite, and
440
- * provides error bounds and backward error estimates for the solution.
441
- *
442
-
443
- * Arguments
444
- * =========
445
- *
446
- * UPLO (input) CHARACTER*1
447
- * = 'U': Upper triangle of A is stored;
448
- * = 'L': Lower triangle of A is stored.
449
- *
450
- * N (input) INTEGER
451
- * The order of the matrix A. N >= 0.
452
- *
453
- * NRHS (input) INTEGER
454
- * The number of right hand sides, i.e., the number of columns
455
- * of the matrices B and X. NRHS >= 0.
456
- *
457
- * A (input) COMPLEX array, dimension (LDA,N)
458
- * The symmetric matrix A. If UPLO = 'U', the leading N-by-N
459
- * upper triangular part of A contains the upper triangular part
460
- * of the matrix A, and the strictly lower triangular part of A
461
- * is not referenced. If UPLO = 'L', the leading N-by-N lower
462
- * triangular part of A contains the lower triangular part of
463
- * the matrix A, and the strictly upper triangular part of A is
464
- * not referenced.
465
- *
466
- * LDA (input) INTEGER
467
- * The leading dimension of the array A. LDA >= max(1,N).
468
- *
469
- * AF (input) COMPLEX array, dimension (LDAF,N)
470
- * The factored form of the matrix A. AF contains the block
471
- * diagonal matrix D and the multipliers used to obtain the
472
- * factor U or L from the factorization A = U*D*U**T or
473
- * A = L*D*L**T as computed by CSYTRF.
474
- *
475
- * LDAF (input) INTEGER
476
- * The leading dimension of the array AF. LDAF >= max(1,N).
477
- *
478
- * IPIV (input) INTEGER array, dimension (N)
479
- * Details of the interchanges and the block structure of D
480
- * as determined by CSYTRF.
481
- *
482
- * B (input) COMPLEX array, dimension (LDB,NRHS)
483
- * The right hand side matrix B.
484
- *
485
- * LDB (input) INTEGER
486
- * The leading dimension of the array B. LDB >= max(1,N).
487
- *
488
- * X (input/output) COMPLEX array, dimension (LDX,NRHS)
489
- * On entry, the solution matrix X, as computed by CSYTRS.
490
- * On exit, the improved solution matrix X.
491
- *
492
- * LDX (input) INTEGER
493
- * The leading dimension of the array X. LDX >= max(1,N).
494
- *
495
- * FERR (output) REAL array, dimension (NRHS)
496
- * The estimated forward error bound for each solution vector
497
- * X(j) (the j-th column of the solution matrix X).
498
- * If XTRUE is the true solution corresponding to X(j), FERR(j)
499
- * is an estimated upper bound for the magnitude of the largest
500
- * element in (X(j) - XTRUE) divided by the magnitude of the
501
- * largest element in X(j). The estimate is as reliable as
502
- * the estimate for RCOND, and is almost always a slight
503
- * overestimate of the true error.
504
- *
505
- * BERR (output) REAL array, dimension (NRHS)
506
- * The componentwise relative backward error of each solution
507
- * vector X(j) (i.e., the smallest relative change in
508
- * any element of A or B that makes X(j) an exact solution).
509
- *
510
- * WORK (workspace) COMPLEX array, dimension (2*N)
511
- *
512
- * RWORK (workspace) REAL array, dimension (N)
513
- *
514
- * INFO (output) INTEGER
515
- * = 0: successful exit
516
- * < 0: if INFO = -i, the i-th argument had an illegal value
517
- *
518
- * Internal Parameters
519
- * ===================
520
- *
521
- * ITMAX is the maximum number of steps of iterative refinement.
522
- *
523
-
524
- * =====================================================================
525
- *
526
-
527
-
528
- </PRE>
529
- <A HREF="#top">go to the page top</A>
530
-
531
- <A NAME="csyrfsx"></A>
532
- <H2>csyrfsx</H2>
533
- <PRE>
534
- USAGE:
535
- rcond, berr, err_bnds_norm, err_bnds_comp, info, s, x, params = NumRu::Lapack.csyrfsx( uplo, equed, a, af, ipiv, s, b, x, params, [:usage => usage, :help => help])
536
-
537
-
538
- FORTRAN MANUAL
539
- SUBROUTINE CSYRFSX( UPLO, EQUED, N, NRHS, A, LDA, AF, LDAF, IPIV, S, B, LDB, X, LDX, RCOND, BERR, N_ERR_BNDS, ERR_BNDS_NORM, ERR_BNDS_COMP, NPARAMS, PARAMS, WORK, RWORK, INFO )
540
-
541
- * Purpose
542
- * =======
543
- *
544
- * CSYRFSX improves the computed solution to a system of linear
545
- * equations when the coefficient matrix is symmetric indefinite, and
546
- * provides error bounds and backward error estimates for the
547
- * solution. In addition to normwise error bound, the code provides
548
- * maximum componentwise error bound if possible. See comments for
549
- * ERR_BNDS_NORM and ERR_BNDS_COMP for details of the error bounds.
550
- *
551
- * The original system of linear equations may have been equilibrated
552
- * before calling this routine, as described by arguments EQUED and S
553
- * below. In this case, the solution and error bounds returned are
554
- * for the original unequilibrated system.
555
- *
556
-
557
- * Arguments
558
- * =========
559
- *
560
- * Some optional parameters are bundled in the PARAMS array. These
561
- * settings determine how refinement is performed, but often the
562
- * defaults are acceptable. If the defaults are acceptable, users
563
- * can pass NPARAMS = 0 which prevents the source code from accessing
564
- * the PARAMS argument.
565
- *
566
- * UPLO (input) CHARACTER*1
567
- * = 'U': Upper triangle of A is stored;
568
- * = 'L': Lower triangle of A is stored.
569
- *
570
- * EQUED (input) CHARACTER*1
571
- * Specifies the form of equilibration that was done to A
572
- * before calling this routine. This is needed to compute
573
- * the solution and error bounds correctly.
574
- * = 'N': No equilibration
575
- * = 'Y': Both row and column equilibration, i.e., A has been
576
- * replaced by diag(S) * A * diag(S).
577
- * The right hand side B has been changed accordingly.
578
- *
579
- * N (input) INTEGER
580
- * The order of the matrix A. N >= 0.
581
- *
582
- * NRHS (input) INTEGER
583
- * The number of right hand sides, i.e., the number of columns
584
- * of the matrices B and X. NRHS >= 0.
585
- *
586
- * A (input) COMPLEX array, dimension (LDA,N)
587
- * The symmetric matrix A. If UPLO = 'U', the leading N-by-N
588
- * upper triangular part of A contains the upper triangular
589
- * part of the matrix A, and the strictly lower triangular
590
- * part of A is not referenced. If UPLO = 'L', the leading
591
- * N-by-N lower triangular part of A contains the lower
592
- * triangular part of the matrix A, and the strictly upper
593
- * triangular part of A is not referenced.
594
- *
595
- * LDA (input) INTEGER
596
- * The leading dimension of the array A. LDA >= max(1,N).
597
- *
598
- * AF (input) COMPLEX array, dimension (LDAF,N)
599
- * The factored form of the matrix A. AF contains the block
600
- * diagonal matrix D and the multipliers used to obtain the
601
- * factor U or L from the factorization A = U*D*U**T or A =
602
- * L*D*L**T as computed by SSYTRF.
603
- *
604
- * LDAF (input) INTEGER
605
- * The leading dimension of the array AF. LDAF >= max(1,N).
606
- *
607
- * IPIV (input) INTEGER array, dimension (N)
608
- * Details of the interchanges and the block structure of D
609
- * as determined by SSYTRF.
610
- *
611
- * S (input or output) REAL array, dimension (N)
612
- * The scale factors for A. If EQUED = 'Y', A is multiplied on
613
- * the left and right by diag(S). S is an input argument if FACT =
614
- * 'F'; otherwise, S is an output argument. If FACT = 'F' and EQUED
615
- * = 'Y', each element of S must be positive. If S is output, each
616
- * element of S is a power of the radix. If S is input, each element
617
- * of S should be a power of the radix to ensure a reliable solution
618
- * and error estimates. Scaling by powers of the radix does not cause
619
- * rounding errors unless the result underflows or overflows.
620
- * Rounding errors during scaling lead to refining with a matrix that
621
- * is not equivalent to the input matrix, producing error estimates
622
- * that may not be reliable.
623
- *
624
- * B (input) COMPLEX array, dimension (LDB,NRHS)
625
- * The right hand side matrix B.
626
- *
627
- * LDB (input) INTEGER
628
- * The leading dimension of the array B. LDB >= max(1,N).
629
- *
630
- * X (input/output) COMPLEX array, dimension (LDX,NRHS)
631
- * On entry, the solution matrix X, as computed by SGETRS.
632
- * On exit, the improved solution matrix X.
633
- *
634
- * LDX (input) INTEGER
635
- * The leading dimension of the array X. LDX >= max(1,N).
636
- *
637
- * RCOND (output) REAL
638
- * Reciprocal scaled condition number. This is an estimate of the
639
- * reciprocal Skeel condition number of the matrix A after
640
- * equilibration (if done). If this is less than the machine
641
- * precision (in particular, if it is zero), the matrix is singular
642
- * to working precision. Note that the error may still be small even
643
- * if this number is very small and the matrix appears ill-
644
- * conditioned.
645
- *
646
- * BERR (output) REAL array, dimension (NRHS)
647
- * Componentwise relative backward error. This is the
648
- * componentwise relative backward error of each solution vector X(j)
649
- * (i.e., the smallest relative change in any element of A or B that
650
- * makes X(j) an exact solution).
651
- *
652
- * N_ERR_BNDS (input) INTEGER
653
- * Number of error bounds to return for each right hand side
654
- * and each type (normwise or componentwise). See ERR_BNDS_NORM and
655
- * ERR_BNDS_COMP below.
656
- *
657
- * ERR_BNDS_NORM (output) REAL array, dimension (NRHS, N_ERR_BNDS)
658
- * For each right-hand side, this array contains information about
659
- * various error bounds and condition numbers corresponding to the
660
- * normwise relative error, which is defined as follows:
661
- *
662
- * Normwise relative error in the ith solution vector:
663
- * max_j (abs(XTRUE(j,i) - X(j,i)))
664
- * ------------------------------
665
- * max_j abs(X(j,i))
666
- *
667
- * The array is indexed by the type of error information as described
668
- * below. There currently are up to three pieces of information
669
- * returned.
670
- *
671
- * The first index in ERR_BNDS_NORM(i,:) corresponds to the ith
672
- * right-hand side.
673
- *
674
- * The second index in ERR_BNDS_NORM(:,err) contains the following
675
- * three fields:
676
- * err = 1 "Trust/don't trust" boolean. Trust the answer if the
677
- * reciprocal condition number is less than the threshold
678
- * sqrt(n) * slamch('Epsilon').
679
- *
680
- * err = 2 "Guaranteed" error bound: The estimated forward error,
681
- * almost certainly within a factor of 10 of the true error
682
- * so long as the next entry is greater than the threshold
683
- * sqrt(n) * slamch('Epsilon'). This error bound should only
684
- * be trusted if the previous boolean is true.
685
- *
686
- * err = 3 Reciprocal condition number: Estimated normwise
687
- * reciprocal condition number. Compared with the threshold
688
- * sqrt(n) * slamch('Epsilon') to determine if the error
689
- * estimate is "guaranteed". These reciprocal condition
690
- * numbers are 1 / (norm(Z^{-1},inf) * norm(Z,inf)) for some
691
- * appropriately scaled matrix Z.
692
- * Let Z = S*A, where S scales each row by a power of the
693
- * radix so all absolute row sums of Z are approximately 1.
694
- *
695
- * See Lapack Working Note 165 for further details and extra
696
- * cautions.
697
- *
698
- * ERR_BNDS_COMP (output) REAL array, dimension (NRHS, N_ERR_BNDS)
699
- * For each right-hand side, this array contains information about
700
- * various error bounds and condition numbers corresponding to the
701
- * componentwise relative error, which is defined as follows:
702
- *
703
- * Componentwise relative error in the ith solution vector:
704
- * abs(XTRUE(j,i) - X(j,i))
705
- * max_j ----------------------
706
- * abs(X(j,i))
707
- *
708
- * The array is indexed by the right-hand side i (on which the
709
- * componentwise relative error depends), and the type of error
710
- * information as described below. There currently are up to three
711
- * pieces of information returned for each right-hand side. If
712
- * componentwise accuracy is not requested (PARAMS(3) = 0.0), then
713
- * ERR_BNDS_COMP is not accessed. If N_ERR_BNDS .LT. 3, then at most
714
- * the first (:,N_ERR_BNDS) entries are returned.
715
- *
716
- * The first index in ERR_BNDS_COMP(i,:) corresponds to the ith
717
- * right-hand side.
718
- *
719
- * The second index in ERR_BNDS_COMP(:,err) contains the following
720
- * three fields:
721
- * err = 1 "Trust/don't trust" boolean. Trust the answer if the
722
- * reciprocal condition number is less than the threshold
723
- * sqrt(n) * slamch('Epsilon').
724
- *
725
- * err = 2 "Guaranteed" error bound: The estimated forward error,
726
- * almost certainly within a factor of 10 of the true error
727
- * so long as the next entry is greater than the threshold
728
- * sqrt(n) * slamch('Epsilon'). This error bound should only
729
- * be trusted if the previous boolean is true.
730
- *
731
- * err = 3 Reciprocal condition number: Estimated componentwise
732
- * reciprocal condition number. Compared with the threshold
733
- * sqrt(n) * slamch('Epsilon') to determine if the error
734
- * estimate is "guaranteed". These reciprocal condition
735
- * numbers are 1 / (norm(Z^{-1},inf) * norm(Z,inf)) for some
736
- * appropriately scaled matrix Z.
737
- * Let Z = S*(A*diag(x)), where x is the solution for the
738
- * current right-hand side and S scales each row of
739
- * A*diag(x) by a power of the radix so all absolute row
740
- * sums of Z are approximately 1.
741
- *
742
- * See Lapack Working Note 165 for further details and extra
743
- * cautions.
744
- *
745
- * NPARAMS (input) INTEGER
746
- * Specifies the number of parameters set in PARAMS. If .LE. 0, the
747
- * PARAMS array is never referenced and default values are used.
748
- *
749
- * PARAMS (input / output) REAL array, dimension NPARAMS
750
- * Specifies algorithm parameters. If an entry is .LT. 0.0, then
751
- * that entry will be filled with default value used for that
752
- * parameter. Only positions up to NPARAMS are accessed; defaults
753
- * are used for higher-numbered parameters.
754
- *
755
- * PARAMS(LA_LINRX_ITREF_I = 1) : Whether to perform iterative
756
- * refinement or not.
757
- * Default: 1.0
758
- * = 0.0 : No refinement is performed, and no error bounds are
759
- * computed.
760
- * = 1.0 : Use the double-precision refinement algorithm,
761
- * possibly with doubled-single computations if the
762
- * compilation environment does not support DOUBLE
763
- * PRECISION.
764
- * (other values are reserved for future use)
765
- *
766
- * PARAMS(LA_LINRX_ITHRESH_I = 2) : Maximum number of residual
767
- * computations allowed for refinement.
768
- * Default: 10
769
- * Aggressive: Set to 100 to permit convergence using approximate
770
- * factorizations or factorizations other than LU. If
771
- * the factorization uses a technique other than
772
- * Gaussian elimination, the guarantees in
773
- * err_bnds_norm and err_bnds_comp may no longer be
774
- * trustworthy.
775
- *
776
- * PARAMS(LA_LINRX_CWISE_I = 3) : Flag determining if the code
777
- * will attempt to find a solution with small componentwise
778
- * relative error in the double-precision algorithm. Positive
779
- * is true, 0.0 is false.
780
- * Default: 1.0 (attempt componentwise convergence)
781
- *
782
- * WORK (workspace) COMPLEX array, dimension (2*N)
783
- *
784
- * RWORK (workspace) REAL array, dimension (2*N)
785
- *
786
- * INFO (output) INTEGER
787
- * = 0: Successful exit. The solution to every right-hand side is
788
- * guaranteed.
789
- * < 0: If INFO = -i, the i-th argument had an illegal value
790
- * > 0 and <= N: U(INFO,INFO) is exactly zero. The factorization
791
- * has been completed, but the factor U is exactly singular, so
792
- * the solution and error bounds could not be computed. RCOND = 0
793
- * is returned.
794
- * = N+J: The solution corresponding to the Jth right-hand side is
795
- * not guaranteed. The solutions corresponding to other right-
796
- * hand sides K with K > J may not be guaranteed as well, but
797
- * only the first such right-hand side is reported. If a small
798
- * componentwise error is not requested (PARAMS(3) = 0.0) then
799
- * the Jth right-hand side is the first with a normwise error
800
- * bound that is not guaranteed (the smallest J such
801
- * that ERR_BNDS_NORM(J,1) = 0.0). By default (PARAMS(3) = 1.0)
802
- * the Jth right-hand side is the first with either a normwise or
803
- * componentwise error bound that is not guaranteed (the smallest
804
- * J such that either ERR_BNDS_NORM(J,1) = 0.0 or
805
- * ERR_BNDS_COMP(J,1) = 0.0). See the definition of
806
- * ERR_BNDS_NORM(:,1) and ERR_BNDS_COMP(:,1). To get information
807
- * about all of the right-hand sides check ERR_BNDS_NORM or
808
- * ERR_BNDS_COMP.
809
- *
810
-
811
- * ==================================================================
812
- *
813
-
814
-
815
- </PRE>
816
- <A HREF="#top">go to the page top</A>
817
-
818
- <A NAME="csysv"></A>
819
- <H2>csysv</H2>
820
- <PRE>
821
- USAGE:
822
- ipiv, work, info, a, b = NumRu::Lapack.csysv( uplo, a, b, [:lwork => lwork, :usage => usage, :help => help])
823
-
824
-
825
- FORTRAN MANUAL
826
- SUBROUTINE CSYSV( UPLO, N, NRHS, A, LDA, IPIV, B, LDB, WORK, LWORK, INFO )
827
-
828
- * Purpose
829
- * =======
830
- *
831
- * CSYSV computes the solution to a complex system of linear equations
832
- * A * X = B,
833
- * where A is an N-by-N symmetric matrix and X and B are N-by-NRHS
834
- * matrices.
835
- *
836
- * The diagonal pivoting method is used to factor A as
837
- * A = U * D * U**T, if UPLO = 'U', or
838
- * A = L * D * L**T, if UPLO = 'L',
839
- * where U (or L) is a product of permutation and unit upper (lower)
840
- * triangular matrices, and D is symmetric and block diagonal with
841
- * 1-by-1 and 2-by-2 diagonal blocks. The factored form of A is then
842
- * used to solve the system of equations A * X = B.
843
- *
844
-
845
- * Arguments
846
- * =========
847
- *
848
- * UPLO (input) CHARACTER*1
849
- * = 'U': Upper triangle of A is stored;
850
- * = 'L': Lower triangle of A is stored.
851
- *
852
- * N (input) INTEGER
853
- * The number of linear equations, i.e., the order of the
854
- * matrix A. N >= 0.
855
- *
856
- * NRHS (input) INTEGER
857
- * The number of right hand sides, i.e., the number of columns
858
- * of the matrix B. NRHS >= 0.
859
- *
860
- * A (input/output) COMPLEX array, dimension (LDA,N)
861
- * On entry, the symmetric matrix A. If UPLO = 'U', the leading
862
- * N-by-N upper triangular part of A contains the upper
863
- * triangular part of the matrix A, and the strictly lower
864
- * triangular part of A is not referenced. If UPLO = 'L', the
865
- * leading N-by-N lower triangular part of A contains the lower
866
- * triangular part of the matrix A, and the strictly upper
867
- * triangular part of A is not referenced.
868
- *
869
- * On exit, if INFO = 0, the block diagonal matrix D and the
870
- * multipliers used to obtain the factor U or L from the
871
- * factorization A = U*D*U**T or A = L*D*L**T as computed by
872
- * CSYTRF.
873
- *
874
- * LDA (input) INTEGER
875
- * The leading dimension of the array A. LDA >= max(1,N).
876
- *
877
- * IPIV (output) INTEGER array, dimension (N)
878
- * Details of the interchanges and the block structure of D, as
879
- * determined by CSYTRF. If IPIV(k) > 0, then rows and columns
880
- * k and IPIV(k) were interchanged, and D(k,k) is a 1-by-1
881
- * diagonal block. If UPLO = 'U' and IPIV(k) = IPIV(k-1) < 0,
882
- * then rows and columns k-1 and -IPIV(k) were interchanged and
883
- * D(k-1:k,k-1:k) is a 2-by-2 diagonal block. If UPLO = 'L' and
884
- * IPIV(k) = IPIV(k+1) < 0, then rows and columns k+1 and
885
- * -IPIV(k) were interchanged and D(k:k+1,k:k+1) is a 2-by-2
886
- * diagonal block.
887
- *
888
- * B (input/output) COMPLEX array, dimension (LDB,NRHS)
889
- * On entry, the N-by-NRHS right hand side matrix B.
890
- * On exit, if INFO = 0, the N-by-NRHS solution matrix X.
891
- *
892
- * LDB (input) INTEGER
893
- * The leading dimension of the array B. LDB >= max(1,N).
894
- *
895
- * WORK (workspace/output) COMPLEX array, dimension (MAX(1,LWORK))
896
- * On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
897
- *
898
- * LWORK (input) INTEGER
899
- * The length of WORK. LWORK >= 1, and for best performance
900
- * LWORK >= max(1,N*NB), where NB is the optimal blocksize for
901
- * CSYTRF.
902
- *
903
- * If LWORK = -1, then a workspace query is assumed; the routine
904
- * only calculates the optimal size of the WORK array, returns
905
- * this value as the first entry of the WORK array, and no error
906
- * message related to LWORK is issued by XERBLA.
907
- *
908
- * INFO (output) INTEGER
909
- * = 0: successful exit
910
- * < 0: if INFO = -i, the i-th argument had an illegal value
911
- * > 0: if INFO = i, D(i,i) is exactly zero. The factorization
912
- * has been completed, but the block diagonal matrix D is
913
- * exactly singular, so the solution could not be computed.
914
- *
915
-
916
- * =====================================================================
917
- *
918
- * .. Local Scalars ..
919
- LOGICAL LQUERY
920
- INTEGER LWKOPT, NB
921
- * ..
922
- * .. External Functions ..
923
- LOGICAL LSAME
924
- INTEGER ILAENV
925
- EXTERNAL ILAENV, LSAME
926
- * ..
927
- * .. External Subroutines ..
928
- EXTERNAL CSYTRF, CSYTRS2, XERBLA
929
- * ..
930
- * .. Intrinsic Functions ..
931
- INTRINSIC MAX
932
- * ..
933
-
934
-
935
- </PRE>
936
- <A HREF="#top">go to the page top</A>
937
-
938
- <A NAME="csysvx"></A>
939
- <H2>csysvx</H2>
940
- <PRE>
941
- USAGE:
942
- x, rcond, ferr, berr, work, info, af, ipiv = NumRu::Lapack.csysvx( fact, uplo, a, af, ipiv, b, [:lwork => lwork, :usage => usage, :help => help])
943
-
944
-
945
- FORTRAN MANUAL
946
- SUBROUTINE CSYSVX( FACT, UPLO, N, NRHS, A, LDA, AF, LDAF, IPIV, B, LDB, X, LDX, RCOND, FERR, BERR, WORK, LWORK, RWORK, INFO )
947
-
948
- * Purpose
949
- * =======
950
- *
951
- * CSYSVX uses the diagonal pivoting factorization to compute the
952
- * solution to a complex system of linear equations A * X = B,
953
- * where A is an N-by-N symmetric matrix and X and B are N-by-NRHS
954
- * matrices.
955
- *
956
- * Error bounds on the solution and a condition estimate are also
957
- * provided.
958
- *
959
- * Description
960
- * ===========
961
- *
962
- * The following steps are performed:
963
- *
964
- * 1. If FACT = 'N', the diagonal pivoting method is used to factor A.
965
- * The form of the factorization is
966
- * A = U * D * U**T, if UPLO = 'U', or
967
- * A = L * D * L**T, if UPLO = 'L',
968
- * where U (or L) is a product of permutation and unit upper (lower)
969
- * triangular matrices, and D is symmetric and block diagonal with
970
- * 1-by-1 and 2-by-2 diagonal blocks.
971
- *
972
- * 2. If some D(i,i)=0, so that D is exactly singular, then the routine
973
- * returns with INFO = i. Otherwise, the factored form of A is used
974
- * to estimate the condition number of the matrix A. If the
975
- * reciprocal of the condition number is less than machine precision,
976
- * INFO = N+1 is returned as a warning, but the routine still goes on
977
- * to solve for X and compute error bounds as described below.
978
- *
979
- * 3. The system of equations is solved for X using the factored form
980
- * of A.
981
- *
982
- * 4. Iterative refinement is applied to improve the computed solution
983
- * matrix and calculate error bounds and backward error estimates
984
- * for it.
985
- *
986
-
987
- * Arguments
988
- * =========
989
- *
990
- * FACT (input) CHARACTER*1
991
- * Specifies whether or not the factored form of A has been
992
- * supplied on entry.
993
- * = 'F': On entry, AF and IPIV contain the factored form
994
- * of A. A, AF and IPIV will not be modified.
995
- * = 'N': The matrix A will be copied to AF and factored.
996
- *
997
- * UPLO (input) CHARACTER*1
998
- * = 'U': Upper triangle of A is stored;
999
- * = 'L': Lower triangle of A is stored.
1000
- *
1001
- * N (input) INTEGER
1002
- * The number of linear equations, i.e., the order of the
1003
- * matrix A. N >= 0.
1004
- *
1005
- * NRHS (input) INTEGER
1006
- * The number of right hand sides, i.e., the number of columns
1007
- * of the matrices B and X. NRHS >= 0.
1008
- *
1009
- * A (input) COMPLEX array, dimension (LDA,N)
1010
- * The symmetric matrix A. If UPLO = 'U', the leading N-by-N
1011
- * upper triangular part of A contains the upper triangular part
1012
- * of the matrix A, and the strictly lower triangular part of A
1013
- * is not referenced. If UPLO = 'L', the leading N-by-N lower
1014
- * triangular part of A contains the lower triangular part of
1015
- * the matrix A, and the strictly upper triangular part of A is
1016
- * not referenced.
1017
- *
1018
- * LDA (input) INTEGER
1019
- * The leading dimension of the array A. LDA >= max(1,N).
1020
- *
1021
- * AF (input or output) COMPLEX array, dimension (LDAF,N)
1022
- * If FACT = 'F', then AF is an input argument and on entry
1023
- * contains the block diagonal matrix D and the multipliers used
1024
- * to obtain the factor U or L from the factorization
1025
- * A = U*D*U**T or A = L*D*L**T as computed by CSYTRF.
1026
- *
1027
- * If FACT = 'N', then AF is an output argument and on exit
1028
- * returns the block diagonal matrix D and the multipliers used
1029
- * to obtain the factor U or L from the factorization
1030
- * A = U*D*U**T or A = L*D*L**T.
1031
- *
1032
- * LDAF (input) INTEGER
1033
- * The leading dimension of the array AF. LDAF >= max(1,N).
1034
- *
1035
- * IPIV (input or output) INTEGER array, dimension (N)
1036
- * If FACT = 'F', then IPIV is an input argument and on entry
1037
- * contains details of the interchanges and the block structure
1038
- * of D, as determined by CSYTRF.
1039
- * If IPIV(k) > 0, then rows and columns k and IPIV(k) were
1040
- * interchanged and D(k,k) is a 1-by-1 diagonal block.
1041
- * If UPLO = 'U' and IPIV(k) = IPIV(k-1) < 0, then rows and
1042
- * columns k-1 and -IPIV(k) were interchanged and D(k-1:k,k-1:k)
1043
- * is a 2-by-2 diagonal block. If UPLO = 'L' and IPIV(k) =
1044
- * IPIV(k+1) < 0, then rows and columns k+1 and -IPIV(k) were
1045
- * interchanged and D(k:k+1,k:k+1) is a 2-by-2 diagonal block.
1046
- *
1047
- * If FACT = 'N', then IPIV is an output argument and on exit
1048
- * contains details of the interchanges and the block structure
1049
- * of D, as determined by CSYTRF.
1050
- *
1051
- * B (input) COMPLEX array, dimension (LDB,NRHS)
1052
- * The N-by-NRHS right hand side matrix B.
1053
- *
1054
- * LDB (input) INTEGER
1055
- * The leading dimension of the array B. LDB >= max(1,N).
1056
- *
1057
- * X (output) COMPLEX array, dimension (LDX,NRHS)
1058
- * If INFO = 0 or INFO = N+1, the N-by-NRHS solution matrix X.
1059
- *
1060
- * LDX (input) INTEGER
1061
- * The leading dimension of the array X. LDX >= max(1,N).
1062
- *
1063
- * RCOND (output) REAL
1064
- * The estimate of the reciprocal condition number of the matrix
1065
- * A. If RCOND is less than the machine precision (in
1066
- * particular, if RCOND = 0), the matrix is singular to working
1067
- * precision. This condition is indicated by a return code of
1068
- * INFO > 0.
1069
- *
1070
- * FERR (output) REAL array, dimension (NRHS)
1071
- * The estimated forward error bound for each solution vector
1072
- * X(j) (the j-th column of the solution matrix X).
1073
- * If XTRUE is the true solution corresponding to X(j), FERR(j)
1074
- * is an estimated upper bound for the magnitude of the largest
1075
- * element in (X(j) - XTRUE) divided by the magnitude of the
1076
- * largest element in X(j). The estimate is as reliable as
1077
- * the estimate for RCOND, and is almost always a slight
1078
- * overestimate of the true error.
1079
- *
1080
- * BERR (output) REAL array, dimension (NRHS)
1081
- * The componentwise relative backward error of each solution
1082
- * vector X(j) (i.e., the smallest relative change in
1083
- * any element of A or B that makes X(j) an exact solution).
1084
- *
1085
- * WORK (workspace/output) COMPLEX array, dimension (MAX(1,LWORK))
1086
- * On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
1087
- *
1088
- * LWORK (input) INTEGER
1089
- * The length of WORK. LWORK >= max(1,2*N), and for best
1090
- * performance, when FACT = 'N', LWORK >= max(1,2*N,N*NB), where
1091
- * NB is the optimal blocksize for CSYTRF.
1092
- *
1093
- * If LWORK = -1, then a workspace query is assumed; the routine
1094
- * only calculates the optimal size of the WORK array, returns
1095
- * this value as the first entry of the WORK array, and no error
1096
- * message related to LWORK is issued by XERBLA.
1097
- *
1098
- * RWORK (workspace) REAL array, dimension (N)
1099
- *
1100
- * INFO (output) INTEGER
1101
- * = 0: successful exit
1102
- * < 0: if INFO = -i, the i-th argument had an illegal value
1103
- * > 0: if INFO = i, and i is
1104
- * <= N: D(i,i) is exactly zero. The factorization
1105
- * has been completed but the factor D is exactly
1106
- * singular, so the solution and error bounds could
1107
- * not be computed. RCOND = 0 is returned.
1108
- * = N+1: D is nonsingular, but RCOND is less than machine
1109
- * precision, meaning that the matrix is singular
1110
- * to working precision. Nevertheless, the
1111
- * solution and error bounds are computed because
1112
- * there are a number of situations where the
1113
- * computed solution can be more accurate than the
1114
- * value of RCOND would suggest.
1115
- *
1116
-
1117
- * =====================================================================
1118
- *
1119
-
1120
-
1121
- </PRE>
1122
- <A HREF="#top">go to the page top</A>
1123
-
1124
- <A NAME="csysvxx"></A>
1125
- <H2>csysvxx</H2>
1126
- <PRE>
1127
- USAGE:
1128
- x, rcond, rpvgrw, berr, err_bnds_norm, err_bnds_comp, info, a, af, ipiv, equed, s, b, params = NumRu::Lapack.csysvxx( fact, uplo, a, af, ipiv, equed, s, b, params, [:usage => usage, :help => help])
1129
-
1130
-
1131
- FORTRAN MANUAL
1132
- SUBROUTINE CSYSVXX( FACT, UPLO, N, NRHS, A, LDA, AF, LDAF, IPIV, EQUED, S, B, LDB, X, LDX, RCOND, RPVGRW, BERR, N_ERR_BNDS, ERR_BNDS_NORM, ERR_BNDS_COMP, NPARAMS, PARAMS, WORK, RWORK, INFO )
1133
-
1134
- * Purpose
1135
- * =======
1136
- *
1137
- * CSYSVXX uses the diagonal pivoting factorization to compute the
1138
- * solution to a complex system of linear equations A * X = B, where
1139
- * A is an N-by-N symmetric matrix and X and B are N-by-NRHS
1140
- * matrices.
1141
- *
1142
- * If requested, both normwise and maximum componentwise error bounds
1143
- * are returned. CSYSVXX will return a solution with a tiny
1144
- * guaranteed error (O(eps) where eps is the working machine
1145
- * precision) unless the matrix is very ill-conditioned, in which
1146
- * case a warning is returned. Relevant condition numbers also are
1147
- * calculated and returned.
1148
- *
1149
- * CSYSVXX accepts user-provided factorizations and equilibration
1150
- * factors; see the definitions of the FACT and EQUED options.
1151
- * Solving with refinement and using a factorization from a previous
1152
- * CSYSVXX call will also produce a solution with either O(eps)
1153
- * errors or warnings, but we cannot make that claim for general
1154
- * user-provided factorizations and equilibration factors if they
1155
- * differ from what CSYSVXX would itself produce.
1156
- *
1157
- * Description
1158
- * ===========
1159
- *
1160
- * The following steps are performed:
1161
- *
1162
- * 1. If FACT = 'E', real scaling factors are computed to equilibrate
1163
- * the system:
1164
- *
1165
- * diag(S)*A*diag(S) *inv(diag(S))*X = diag(S)*B
1166
- *
1167
- * Whether or not the system will be equilibrated depends on the
1168
- * scaling of the matrix A, but if equilibration is used, A is
1169
- * overwritten by diag(S)*A*diag(S) and B by diag(S)*B.
1170
- *
1171
- * 2. If FACT = 'N' or 'E', the LU decomposition is used to factor
1172
- * the matrix A (after equilibration if FACT = 'E') as
1173
- *
1174
- * A = U * D * U**T, if UPLO = 'U', or
1175
- * A = L * D * L**T, if UPLO = 'L',
1176
- *
1177
- * where U (or L) is a product of permutation and unit upper (lower)
1178
- * triangular matrices, and D is symmetric and block diagonal with
1179
- * 1-by-1 and 2-by-2 diagonal blocks.
1180
- *
1181
- * 3. If some D(i,i)=0, so that D is exactly singular, then the
1182
- * routine returns with INFO = i. Otherwise, the factored form of A
1183
- * is used to estimate the condition number of the matrix A (see
1184
- * argument RCOND). If the reciprocal of the condition number is
1185
- * less than machine precision, the routine still goes on to solve
1186
- * for X and compute error bounds as described below.
1187
- *
1188
- * 4. The system of equations is solved for X using the factored form
1189
- * of A.
1190
- *
1191
- * 5. By default (unless PARAMS(LA_LINRX_ITREF_I) is set to zero),
1192
- * the routine will use iterative refinement to try to get a small
1193
- * error and error bounds. Refinement calculates the residual to at
1194
- * least twice the working precision.
1195
- *
1196
- * 6. If equilibration was used, the matrix X is premultiplied by
1197
- * diag(R) so that it solves the original system before
1198
- * equilibration.
1199
- *
1200
-
1201
- * Arguments
1202
- * =========
1203
- *
1204
- * Some optional parameters are bundled in the PARAMS array. These
1205
- * settings determine how refinement is performed, but often the
1206
- * defaults are acceptable. If the defaults are acceptable, users
1207
- * can pass NPARAMS = 0 which prevents the source code from accessing
1208
- * the PARAMS argument.
1209
- *
1210
- * FACT (input) CHARACTER*1
1211
- * Specifies whether or not the factored form of the matrix A is
1212
- * supplied on entry, and if not, whether the matrix A should be
1213
- * equilibrated before it is factored.
1214
- * = 'F': On entry, AF and IPIV contain the factored form of A.
1215
- * If EQUED is not 'N', the matrix A has been
1216
- * equilibrated with scaling factors given by S.
1217
- * A, AF, and IPIV are not modified.
1218
- * = 'N': The matrix A will be copied to AF and factored.
1219
- * = 'E': The matrix A will be equilibrated if necessary, then
1220
- * copied to AF and factored.
1221
- *
1222
- * UPLO (input) CHARACTER*1
1223
- * = 'U': Upper triangle of A is stored;
1224
- * = 'L': Lower triangle of A is stored.
1225
- *
1226
- * N (input) INTEGER
1227
- * The number of linear equations, i.e., the order of the
1228
- * matrix A. N >= 0.
1229
- *
1230
- * NRHS (input) INTEGER
1231
- * The number of right hand sides, i.e., the number of columns
1232
- * of the matrices B and X. NRHS >= 0.
1233
- *
1234
- * A (input/output) COMPLEX array, dimension (LDA,N)
1235
- * The symmetric matrix A. If UPLO = 'U', the leading N-by-N
1236
- * upper triangular part of A contains the upper triangular
1237
- * part of the matrix A, and the strictly lower triangular
1238
- * part of A is not referenced. If UPLO = 'L', the leading
1239
- * N-by-N lower triangular part of A contains the lower
1240
- * triangular part of the matrix A, and the strictly upper
1241
- * triangular part of A is not referenced.
1242
- *
1243
- * On exit, if FACT = 'E' and EQUED = 'Y', A is overwritten by
1244
- * diag(S)*A*diag(S).
1245
- *
1246
- * LDA (input) INTEGER
1247
- * The leading dimension of the array A. LDA >= max(1,N).
1248
- *
1249
- * AF (input or output) COMPLEX array, dimension (LDAF,N)
1250
- * If FACT = 'F', then AF is an input argument and on entry
1251
- * contains the block diagonal matrix D and the multipliers
1252
- * used to obtain the factor U or L from the factorization A =
1253
- * U*D*U**T or A = L*D*L**T as computed by SSYTRF.
1254
- *
1255
- * If FACT = 'N', then AF is an output argument and on exit
1256
- * returns the block diagonal matrix D and the multipliers
1257
- * used to obtain the factor U or L from the factorization A =
1258
- * U*D*U**T or A = L*D*L**T.
1259
- *
1260
- * LDAF (input) INTEGER
1261
- * The leading dimension of the array AF. LDAF >= max(1,N).
1262
- *
1263
- * IPIV (input or output) INTEGER array, dimension (N)
1264
- * If FACT = 'F', then IPIV is an input argument and on entry
1265
- * contains details of the interchanges and the block
1266
- * structure of D, as determined by SSYTRF. If IPIV(k) > 0,
1267
- * then rows and columns k and IPIV(k) were interchanged and
1268
- * D(k,k) is a 1-by-1 diagonal block. If UPLO = 'U' and
1269
- * IPIV(k) = IPIV(k-1) < 0, then rows and columns k-1 and
1270
- * -IPIV(k) were interchanged and D(k-1:k,k-1:k) is a 2-by-2
1271
- * diagonal block. If UPLO = 'L' and IPIV(k) = IPIV(k+1) < 0,
1272
- * then rows and columns k+1 and -IPIV(k) were interchanged
1273
- * and D(k:k+1,k:k+1) is a 2-by-2 diagonal block.
1274
- *
1275
- * If FACT = 'N', then IPIV is an output argument and on exit
1276
- * contains details of the interchanges and the block
1277
- * structure of D, as determined by SSYTRF.
1278
- *
1279
- * EQUED (input or output) CHARACTER*1
1280
- * Specifies the form of equilibration that was done.
1281
- * = 'N': No equilibration (always true if FACT = 'N').
1282
- * = 'Y': Both row and column equilibration, i.e., A has been
1283
- * replaced by diag(S) * A * diag(S).
1284
- * EQUED is an input argument if FACT = 'F'; otherwise, it is an
1285
- * output argument.
1286
- *
1287
- * S (input or output) REAL array, dimension (N)
1288
- * The scale factors for A. If EQUED = 'Y', A is multiplied on
1289
- * the left and right by diag(S). S is an input argument if FACT =
1290
- * 'F'; otherwise, S is an output argument. If FACT = 'F' and EQUED
1291
- * = 'Y', each element of S must be positive. If S is output, each
1292
- * element of S is a power of the radix. If S is input, each element
1293
- * of S should be a power of the radix to ensure a reliable solution
1294
- * and error estimates. Scaling by powers of the radix does not cause
1295
- * rounding errors unless the result underflows or overflows.
1296
- * Rounding errors during scaling lead to refining with a matrix that
1297
- * is not equivalent to the input matrix, producing error estimates
1298
- * that may not be reliable.
1299
- *
1300
- * B (input/output) COMPLEX array, dimension (LDB,NRHS)
1301
- * On entry, the N-by-NRHS right hand side matrix B.
1302
- * On exit,
1303
- * if EQUED = 'N', B is not modified;
1304
- * if EQUED = 'Y', B is overwritten by diag(S)*B;
1305
- *
1306
- * LDB (input) INTEGER
1307
- * The leading dimension of the array B. LDB >= max(1,N).
1308
- *
1309
- * X (output) COMPLEX array, dimension (LDX,NRHS)
1310
- * If INFO = 0, the N-by-NRHS solution matrix X to the original
1311
- * system of equations. Note that A and B are modified on exit if
1312
- * EQUED .ne. 'N', and the solution to the equilibrated system is
1313
- * inv(diag(S))*X.
1314
- *
1315
- * LDX (input) INTEGER
1316
- * The leading dimension of the array X. LDX >= max(1,N).
1317
- *
1318
- * RCOND (output) REAL
1319
- * Reciprocal scaled condition number. This is an estimate of the
1320
- * reciprocal Skeel condition number of the matrix A after
1321
- * equilibration (if done). If this is less than the machine
1322
- * precision (in particular, if it is zero), the matrix is singular
1323
- * to working precision. Note that the error may still be small even
1324
- * if this number is very small and the matrix appears ill-
1325
- * conditioned.
1326
- *
1327
- * RPVGRW (output) REAL
1328
- * Reciprocal pivot growth. On exit, this contains the reciprocal
1329
- * pivot growth factor norm(A)/norm(U). The "max absolute element"
1330
- * norm is used. If this is much less than 1, then the stability of
1331
- * the LU factorization of the (equilibrated) matrix A could be poor.
1332
- * This also means that the solution X, estimated condition numbers,
1333
- * and error bounds could be unreliable. If factorization fails with
1334
- * 0<INFO<=N, then this contains the reciprocal pivot growth factor
1335
- * for the leading INFO columns of A.
1336
- *
1337
- * BERR (output) REAL array, dimension (NRHS)
1338
- * Componentwise relative backward error. This is the
1339
- * componentwise relative backward error of each solution vector X(j)
1340
- * (i.e., the smallest relative change in any element of A or B that
1341
- * makes X(j) an exact solution).
1342
- *
1343
- * N_ERR_BNDS (input) INTEGER
1344
- * Number of error bounds to return for each right hand side
1345
- * and each type (normwise or componentwise). See ERR_BNDS_NORM and
1346
- * ERR_BNDS_COMP below.
1347
- *
1348
- * ERR_BNDS_NORM (output) REAL array, dimension (NRHS, N_ERR_BNDS)
1349
- * For each right-hand side, this array contains information about
1350
- * various error bounds and condition numbers corresponding to the
1351
- * normwise relative error, which is defined as follows:
1352
- *
1353
- * Normwise relative error in the ith solution vector:
1354
- * max_j (abs(XTRUE(j,i) - X(j,i)))
1355
- * ------------------------------
1356
- * max_j abs(X(j,i))
1357
- *
1358
- * The array is indexed by the type of error information as described
1359
- * below. There currently are up to three pieces of information
1360
- * returned.
1361
- *
1362
- * The first index in ERR_BNDS_NORM(i,:) corresponds to the ith
1363
- * right-hand side.
1364
- *
1365
- * The second index in ERR_BNDS_NORM(:,err) contains the following
1366
- * three fields:
1367
- * err = 1 "Trust/don't trust" boolean. Trust the answer if the
1368
- * reciprocal condition number is less than the threshold
1369
- * sqrt(n) * slamch('Epsilon').
1370
- *
1371
- * err = 2 "Guaranteed" error bound: The estimated forward error,
1372
- * almost certainly within a factor of 10 of the true error
1373
- * so long as the next entry is greater than the threshold
1374
- * sqrt(n) * slamch('Epsilon'). This error bound should only
1375
- * be trusted if the previous boolean is true.
1376
- *
1377
- * err = 3 Reciprocal condition number: Estimated normwise
1378
- * reciprocal condition number. Compared with the threshold
1379
- * sqrt(n) * slamch('Epsilon') to determine if the error
1380
- * estimate is "guaranteed". These reciprocal condition
1381
- * numbers are 1 / (norm(Z^{-1},inf) * norm(Z,inf)) for some
1382
- * appropriately scaled matrix Z.
1383
- * Let Z = S*A, where S scales each row by a power of the
1384
- * radix so all absolute row sums of Z are approximately 1.
1385
- *
1386
- * See Lapack Working Note 165 for further details and extra
1387
- * cautions.
1388
- *
1389
- * ERR_BNDS_COMP (output) REAL array, dimension (NRHS, N_ERR_BNDS)
1390
- * For each right-hand side, this array contains information about
1391
- * various error bounds and condition numbers corresponding to the
1392
- * componentwise relative error, which is defined as follows:
1393
- *
1394
- * Componentwise relative error in the ith solution vector:
1395
- * abs(XTRUE(j,i) - X(j,i))
1396
- * max_j ----------------------
1397
- * abs(X(j,i))
1398
- *
1399
- * The array is indexed by the right-hand side i (on which the
1400
- * componentwise relative error depends), and the type of error
1401
- * information as described below. There currently are up to three
1402
- * pieces of information returned for each right-hand side. If
1403
- * componentwise accuracy is not requested (PARAMS(3) = 0.0), then
1404
- * ERR_BNDS_COMP is not accessed. If N_ERR_BNDS .LT. 3, then at most
1405
- * the first (:,N_ERR_BNDS) entries are returned.
1406
- *
1407
- * The first index in ERR_BNDS_COMP(i,:) corresponds to the ith
1408
- * right-hand side.
1409
- *
1410
- * The second index in ERR_BNDS_COMP(:,err) contains the following
1411
- * three fields:
1412
- * err = 1 "Trust/don't trust" boolean. Trust the answer if the
1413
- * reciprocal condition number is less than the threshold
1414
- * sqrt(n) * slamch('Epsilon').
1415
- *
1416
- * err = 2 "Guaranteed" error bound: The estimated forward error,
1417
- * almost certainly within a factor of 10 of the true error
1418
- * so long as the next entry is greater than the threshold
1419
- * sqrt(n) * slamch('Epsilon'). This error bound should only
1420
- * be trusted if the previous boolean is true.
1421
- *
1422
- * err = 3 Reciprocal condition number: Estimated componentwise
1423
- * reciprocal condition number. Compared with the threshold
1424
- * sqrt(n) * slamch('Epsilon') to determine if the error
1425
- * estimate is "guaranteed". These reciprocal condition
1426
- * numbers are 1 / (norm(Z^{-1},inf) * norm(Z,inf)) for some
1427
- * appropriately scaled matrix Z.
1428
- * Let Z = S*(A*diag(x)), where x is the solution for the
1429
- * current right-hand side and S scales each row of
1430
- * A*diag(x) by a power of the radix so all absolute row
1431
- * sums of Z are approximately 1.
1432
- *
1433
- * See Lapack Working Note 165 for further details and extra
1434
- * cautions.
1435
- *
1436
- * NPARAMS (input) INTEGER
1437
- * Specifies the number of parameters set in PARAMS. If .LE. 0, the
1438
- * PARAMS array is never referenced and default values are used.
1439
- *
1440
- * PARAMS (input / output) REAL array, dimension NPARAMS
1441
- * Specifies algorithm parameters. If an entry is .LT. 0.0, then
1442
- * that entry will be filled with default value used for that
1443
- * parameter. Only positions up to NPARAMS are accessed; defaults
1444
- * are used for higher-numbered parameters.
1445
- *
1446
- * PARAMS(LA_LINRX_ITREF_I = 1) : Whether to perform iterative
1447
- * refinement or not.
1448
- * Default: 1.0
1449
- * = 0.0 : No refinement is performed, and no error bounds are
1450
- * computed.
1451
- * = 1.0 : Use the double-precision refinement algorithm,
1452
- * possibly with doubled-single computations if the
1453
- * compilation environment does not support DOUBLE
1454
- * PRECISION.
1455
- * (other values are reserved for future use)
1456
- *
1457
- * PARAMS(LA_LINRX_ITHRESH_I = 2) : Maximum number of residual
1458
- * computations allowed for refinement.
1459
- * Default: 10
1460
- * Aggressive: Set to 100 to permit convergence using approximate
1461
- * factorizations or factorizations other than LU. If
1462
- * the factorization uses a technique other than
1463
- * Gaussian elimination, the guarantees in
1464
- * err_bnds_norm and err_bnds_comp may no longer be
1465
- * trustworthy.
1466
- *
1467
- * PARAMS(LA_LINRX_CWISE_I = 3) : Flag determining if the code
1468
- * will attempt to find a solution with small componentwise
1469
- * relative error in the double-precision algorithm. Positive
1470
- * is true, 0.0 is false.
1471
- * Default: 1.0 (attempt componentwise convergence)
1472
- *
1473
- * WORK (workspace) COMPLEX array, dimension (2*N)
1474
- *
1475
- * RWORK (workspace) REAL array, dimension (2*N)
1476
- *
1477
- * INFO (output) INTEGER
1478
- * = 0: Successful exit. The solution to every right-hand side is
1479
- * guaranteed.
1480
- * < 0: If INFO = -i, the i-th argument had an illegal value
1481
- * > 0 and <= N: U(INFO,INFO) is exactly zero. The factorization
1482
- * has been completed, but the factor U is exactly singular, so
1483
- * the solution and error bounds could not be computed. RCOND = 0
1484
- * is returned.
1485
- * = N+J: The solution corresponding to the Jth right-hand side is
1486
- * not guaranteed. The solutions corresponding to other right-
1487
- * hand sides K with K > J may not be guaranteed as well, but
1488
- * only the first such right-hand side is reported. If a small
1489
- * componentwise error is not requested (PARAMS(3) = 0.0) then
1490
- * the Jth right-hand side is the first with a normwise error
1491
- * bound that is not guaranteed (the smallest J such
1492
- * that ERR_BNDS_NORM(J,1) = 0.0). By default (PARAMS(3) = 1.0)
1493
- * the Jth right-hand side is the first with either a normwise or
1494
- * componentwise error bound that is not guaranteed (the smallest
1495
- * J such that either ERR_BNDS_NORM(J,1) = 0.0 or
1496
- * ERR_BNDS_COMP(J,1) = 0.0). See the definition of
1497
- * ERR_BNDS_NORM(:,1) and ERR_BNDS_COMP(:,1). To get information
1498
- * about all of the right-hand sides check ERR_BNDS_NORM or
1499
- * ERR_BNDS_COMP.
1500
- *
1501
-
1502
- * ==================================================================
1503
- *
1504
-
1505
-
1506
- </PRE>
1507
- <A HREF="#top">go to the page top</A>
1508
-
1509
- <A NAME="csyswapr"></A>
1510
- <H2>csyswapr</H2>
1511
- <PRE>
1512
- USAGE:
1513
- a = NumRu::Lapack.csyswapr( uplo, a, i1, i2, [:usage => usage, :help => help])
1514
-
1515
-
1516
- FORTRAN MANUAL
1517
- SUBROUTINE CSYSWAPR( UPLO, N, A, I1, I2)
1518
-
1519
- * Purpose
1520
- * =======
1521
- *
1522
- * CSYSWAPR applies an elementary permutation on the rows and the columns of
1523
- * a symmetric matrix.
1524
- *
1525
-
1526
- * Arguments
1527
- * =========
1528
- *
1529
- * UPLO (input) CHARACTER*1
1530
- * Specifies whether the details of the factorization are stored
1531
- * as an upper or lower triangular matrix.
1532
- * = 'U': Upper triangular, form is A = U*D*U**T;
1533
- * = 'L': Lower triangular, form is A = L*D*L**T.
1534
- *
1535
- * N (input) INTEGER
1536
- * The order of the matrix A. N >= 0.
1537
- *
1538
- * A (input/output) COMPLEX array, dimension (LDA,N)
1539
- * On entry, the NB diagonal matrix D and the multipliers
1540
- * used to obtain the factor U or L as computed by CSYTRF.
1541
- *
1542
- * On exit, if INFO = 0, the (symmetric) inverse of the original
1543
- * matrix. If UPLO = 'U', the upper triangular part of the
1544
- * inverse is formed and the part of A below the diagonal is not
1545
- * referenced; if UPLO = 'L' the lower triangular part of the
1546
- * inverse is formed and the part of A above the diagonal is
1547
- * not referenced.
1548
- *
1549
- * I1 (input) INTEGER
1550
- * Index of the first row to swap
1551
- *
1552
- * I2 (input) INTEGER
1553
- * Index of the second row to swap
1554
- *
1555
-
1556
- * =====================================================================
1557
- *
1558
- * ..
1559
- * .. Local Scalars ..
1560
- LOGICAL UPPER
1561
- INTEGER I
1562
- COMPLEX TMP
1563
- *
1564
- * .. External Functions ..
1565
- LOGICAL LSAME
1566
- EXTERNAL LSAME
1567
- * ..
1568
- * .. External Subroutines ..
1569
- EXTERNAL CSWAP
1570
- * ..
1571
-
1572
-
1573
- </PRE>
1574
- <A HREF="#top">go to the page top</A>
1575
-
1576
- <A NAME="csytf2"></A>
1577
- <H2>csytf2</H2>
1578
- <PRE>
1579
- USAGE:
1580
- ipiv, info, a = NumRu::Lapack.csytf2( uplo, a, [:usage => usage, :help => help])
1581
-
1582
-
1583
- FORTRAN MANUAL
1584
- SUBROUTINE CSYTF2( UPLO, N, A, LDA, IPIV, INFO )
1585
-
1586
- * Purpose
1587
- * =======
1588
- *
1589
- * CSYTF2 computes the factorization of a complex symmetric matrix A
1590
- * using the Bunch-Kaufman diagonal pivoting method:
1591
- *
1592
- * A = U*D*U' or A = L*D*L'
1593
- *
1594
- * where U (or L) is a product of permutation and unit upper (lower)
1595
- * triangular matrices, U' is the transpose of U, and D is symmetric and
1596
- * block diagonal with 1-by-1 and 2-by-2 diagonal blocks.
1597
- *
1598
- * This is the unblocked version of the algorithm, calling Level 2 BLAS.
1599
- *
1600
-
1601
- * Arguments
1602
- * =========
1603
- *
1604
- * UPLO (input) CHARACTER*1
1605
- * Specifies whether the upper or lower triangular part of the
1606
- * symmetric matrix A is stored:
1607
- * = 'U': Upper triangular
1608
- * = 'L': Lower triangular
1609
- *
1610
- * N (input) INTEGER
1611
- * The order of the matrix A. N >= 0.
1612
- *
1613
- * A (input/output) COMPLEX array, dimension (LDA,N)
1614
- * On entry, the symmetric matrix A. If UPLO = 'U', the leading
1615
- * n-by-n upper triangular part of A contains the upper
1616
- * triangular part of the matrix A, and the strictly lower
1617
- * triangular part of A is not referenced. If UPLO = 'L', the
1618
- * leading n-by-n lower triangular part of A contains the lower
1619
- * triangular part of the matrix A, and the strictly upper
1620
- * triangular part of A is not referenced.
1621
- *
1622
- * On exit, the block diagonal matrix D and the multipliers used
1623
- * to obtain the factor U or L (see below for further details).
1624
- *
1625
- * LDA (input) INTEGER
1626
- * The leading dimension of the array A. LDA >= max(1,N).
1627
- *
1628
- * IPIV (output) INTEGER array, dimension (N)
1629
- * Details of the interchanges and the block structure of D.
1630
- * If IPIV(k) > 0, then rows and columns k and IPIV(k) were
1631
- * interchanged and D(k,k) is a 1-by-1 diagonal block.
1632
- * If UPLO = 'U' and IPIV(k) = IPIV(k-1) < 0, then rows and
1633
- * columns k-1 and -IPIV(k) were interchanged and D(k-1:k,k-1:k)
1634
- * is a 2-by-2 diagonal block. If UPLO = 'L' and IPIV(k) =
1635
- * IPIV(k+1) < 0, then rows and columns k+1 and -IPIV(k) were
1636
- * interchanged and D(k:k+1,k:k+1) is a 2-by-2 diagonal block.
1637
- *
1638
- * INFO (output) INTEGER
1639
- * = 0: successful exit
1640
- * < 0: if INFO = -k, the k-th argument had an illegal value
1641
- * > 0: if INFO = k, D(k,k) is exactly zero. The factorization
1642
- * has been completed, but the block diagonal matrix D is
1643
- * exactly singular, and division by zero will occur if it
1644
- * is used to solve a system of equations.
1645
- *
1646
-
1647
- * Further Details
1648
- * ===============
1649
- *
1650
- * 09-29-06 - patch from
1651
- * Bobby Cheng, MathWorks
1652
- *
1653
- * Replace l.209 and l.377
1654
- * IF( MAX( ABSAKK, COLMAX ).EQ.ZERO ) THEN
1655
- * by
1656
- * IF( (MAX( ABSAKK, COLMAX ).EQ.ZERO) .OR. SISNAN(ABSAKK) ) THEN
1657
- *
1658
- * 1-96 - Based on modifications by J. Lewis, Boeing Computer Services
1659
- * Company
1660
- *
1661
- * If UPLO = 'U', then A = U*D*U', where
1662
- * U = P(n)*U(n)* ... *P(k)U(k)* ...,
1663
- * i.e., U is a product of terms P(k)*U(k), where k decreases from n to
1664
- * 1 in steps of 1 or 2, and D is a block diagonal matrix with 1-by-1
1665
- * and 2-by-2 diagonal blocks D(k). P(k) is a permutation matrix as
1666
- * defined by IPIV(k), and U(k) is a unit upper triangular matrix, such
1667
- * that if the diagonal block D(k) is of order s (s = 1 or 2), then
1668
- *
1669
- * ( I v 0 ) k-s
1670
- * U(k) = ( 0 I 0 ) s
1671
- * ( 0 0 I ) n-k
1672
- * k-s s n-k
1673
- *
1674
- * If s = 1, D(k) overwrites A(k,k), and v overwrites A(1:k-1,k).
1675
- * If s = 2, the upper triangle of D(k) overwrites A(k-1,k-1), A(k-1,k),
1676
- * and A(k,k), and v overwrites A(1:k-2,k-1:k).
1677
- *
1678
- * If UPLO = 'L', then A = L*D*L', where
1679
- * L = P(1)*L(1)* ... *P(k)*L(k)* ...,
1680
- * i.e., L is a product of terms P(k)*L(k), where k increases from 1 to
1681
- * n in steps of 1 or 2, and D is a block diagonal matrix with 1-by-1
1682
- * and 2-by-2 diagonal blocks D(k). P(k) is a permutation matrix as
1683
- * defined by IPIV(k), and L(k) is a unit lower triangular matrix, such
1684
- * that if the diagonal block D(k) is of order s (s = 1 or 2), then
1685
- *
1686
- * ( I 0 0 ) k-1
1687
- * L(k) = ( 0 I 0 ) s
1688
- * ( 0 v I ) n-k-s+1
1689
- * k-1 s n-k-s+1
1690
- *
1691
- * If s = 1, D(k) overwrites A(k,k), and v overwrites A(k+1:n,k).
1692
- * If s = 2, the lower triangle of D(k) overwrites A(k,k), A(k+1,k),
1693
- * and A(k+1,k+1), and v overwrites A(k+2:n,k:k+1).
1694
- *
1695
- * =====================================================================
1696
- *
1697
-
1698
-
1699
- </PRE>
1700
- <A HREF="#top">go to the page top</A>
1701
-
1702
- <A NAME="csytrf"></A>
1703
- <H2>csytrf</H2>
1704
- <PRE>
1705
- USAGE:
1706
- ipiv, work, info, a = NumRu::Lapack.csytrf( uplo, a, lwork, [:usage => usage, :help => help])
1707
-
1708
-
1709
- FORTRAN MANUAL
1710
- SUBROUTINE CSYTRF( UPLO, N, A, LDA, IPIV, WORK, LWORK, INFO )
1711
-
1712
- * Purpose
1713
- * =======
1714
- *
1715
- * CSYTRF computes the factorization of a complex symmetric matrix A
1716
- * using the Bunch-Kaufman diagonal pivoting method. The form of the
1717
- * factorization is
1718
- *
1719
- * A = U*D*U**T or A = L*D*L**T
1720
- *
1721
- * where U (or L) is a product of permutation and unit upper (lower)
1722
- * triangular matrices, and D is symmetric and block diagonal with
1723
- * with 1-by-1 and 2-by-2 diagonal blocks.
1724
- *
1725
- * This is the blocked version of the algorithm, calling Level 3 BLAS.
1726
- *
1727
-
1728
- * Arguments
1729
- * =========
1730
- *
1731
- * UPLO (input) CHARACTER*1
1732
- * = 'U': Upper triangle of A is stored;
1733
- * = 'L': Lower triangle of A is stored.
1734
- *
1735
- * N (input) INTEGER
1736
- * The order of the matrix A. N >= 0.
1737
- *
1738
- * A (input/output) COMPLEX array, dimension (LDA,N)
1739
- * On entry, the symmetric matrix A. If UPLO = 'U', the leading
1740
- * N-by-N upper triangular part of A contains the upper
1741
- * triangular part of the matrix A, and the strictly lower
1742
- * triangular part of A is not referenced. If UPLO = 'L', the
1743
- * leading N-by-N lower triangular part of A contains the lower
1744
- * triangular part of the matrix A, and the strictly upper
1745
- * triangular part of A is not referenced.
1746
- *
1747
- * On exit, the block diagonal matrix D and the multipliers used
1748
- * to obtain the factor U or L (see below for further details).
1749
- *
1750
- * LDA (input) INTEGER
1751
- * The leading dimension of the array A. LDA >= max(1,N).
1752
- *
1753
- * IPIV (output) INTEGER array, dimension (N)
1754
- * Details of the interchanges and the block structure of D.
1755
- * If IPIV(k) > 0, then rows and columns k and IPIV(k) were
1756
- * interchanged and D(k,k) is a 1-by-1 diagonal block.
1757
- * If UPLO = 'U' and IPIV(k) = IPIV(k-1) < 0, then rows and
1758
- * columns k-1 and -IPIV(k) were interchanged and D(k-1:k,k-1:k)
1759
- * is a 2-by-2 diagonal block. If UPLO = 'L' and IPIV(k) =
1760
- * IPIV(k+1) < 0, then rows and columns k+1 and -IPIV(k) were
1761
- * interchanged and D(k:k+1,k:k+1) is a 2-by-2 diagonal block.
1762
- *
1763
- * WORK (workspace/output) COMPLEX array, dimension (MAX(1,LWORK))
1764
- * On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
1765
- *
1766
- * LWORK (input) INTEGER
1767
- * The length of WORK. LWORK >=1. For best performance
1768
- * LWORK >= N*NB, where NB is the block size returned by ILAENV.
1769
- *
1770
- * If LWORK = -1, then a workspace query is assumed; the routine
1771
- * only calculates the optimal size of the WORK array, returns
1772
- * this value as the first entry of the WORK array, and no error
1773
- * message related to LWORK is issued by XERBLA.
1774
- *
1775
- * INFO (output) INTEGER
1776
- * = 0: successful exit
1777
- * < 0: if INFO = -i, the i-th argument had an illegal value
1778
- * > 0: if INFO = i, D(i,i) is exactly zero. The factorization
1779
- * has been completed, but the block diagonal matrix D is
1780
- * exactly singular, and division by zero will occur if it
1781
- * is used to solve a system of equations.
1782
- *
1783
-
1784
- * Further Details
1785
- * ===============
1786
- *
1787
- * If UPLO = 'U', then A = U*D*U', where
1788
- * U = P(n)*U(n)* ... *P(k)U(k)* ...,
1789
- * i.e., U is a product of terms P(k)*U(k), where k decreases from n to
1790
- * 1 in steps of 1 or 2, and D is a block diagonal matrix with 1-by-1
1791
- * and 2-by-2 diagonal blocks D(k). P(k) is a permutation matrix as
1792
- * defined by IPIV(k), and U(k) is a unit upper triangular matrix, such
1793
- * that if the diagonal block D(k) is of order s (s = 1 or 2), then
1794
- *
1795
- * ( I v 0 ) k-s
1796
- * U(k) = ( 0 I 0 ) s
1797
- * ( 0 0 I ) n-k
1798
- * k-s s n-k
1799
- *
1800
- * If s = 1, D(k) overwrites A(k,k), and v overwrites A(1:k-1,k).
1801
- * If s = 2, the upper triangle of D(k) overwrites A(k-1,k-1), A(k-1,k),
1802
- * and A(k,k), and v overwrites A(1:k-2,k-1:k).
1803
- *
1804
- * If UPLO = 'L', then A = L*D*L', where
1805
- * L = P(1)*L(1)* ... *P(k)*L(k)* ...,
1806
- * i.e., L is a product of terms P(k)*L(k), where k increases from 1 to
1807
- * n in steps of 1 or 2, and D is a block diagonal matrix with 1-by-1
1808
- * and 2-by-2 diagonal blocks D(k). P(k) is a permutation matrix as
1809
- * defined by IPIV(k), and L(k) is a unit lower triangular matrix, such
1810
- * that if the diagonal block D(k) is of order s (s = 1 or 2), then
1811
- *
1812
- * ( I 0 0 ) k-1
1813
- * L(k) = ( 0 I 0 ) s
1814
- * ( 0 v I ) n-k-s+1
1815
- * k-1 s n-k-s+1
1816
- *
1817
- * If s = 1, D(k) overwrites A(k,k), and v overwrites A(k+1:n,k).
1818
- * If s = 2, the lower triangle of D(k) overwrites A(k,k), A(k+1,k),
1819
- * and A(k+1,k+1), and v overwrites A(k+2:n,k:k+1).
1820
- *
1821
- * =====================================================================
1822
- *
1823
- * .. Local Scalars ..
1824
- LOGICAL LQUERY, UPPER
1825
- INTEGER IINFO, IWS, J, K, KB, LDWORK, LWKOPT, NB, NBMIN
1826
- * ..
1827
- * .. External Functions ..
1828
- LOGICAL LSAME
1829
- INTEGER ILAENV
1830
- EXTERNAL LSAME, ILAENV
1831
- * ..
1832
- * .. External Subroutines ..
1833
- EXTERNAL CLASYF, CSYTF2, XERBLA
1834
- * ..
1835
- * .. Intrinsic Functions ..
1836
- INTRINSIC MAX
1837
- * ..
1838
-
1839
-
1840
- </PRE>
1841
- <A HREF="#top">go to the page top</A>
1842
-
1843
- <A NAME="csytri"></A>
1844
- <H2>csytri</H2>
1845
- <PRE>
1846
- USAGE:
1847
- info, a = NumRu::Lapack.csytri( uplo, a, ipiv, [:usage => usage, :help => help])
1848
-
1849
-
1850
- FORTRAN MANUAL
1851
- SUBROUTINE CSYTRI( UPLO, N, A, LDA, IPIV, WORK, INFO )
1852
-
1853
- * Purpose
1854
- * =======
1855
- *
1856
- * CSYTRI computes the inverse of a complex symmetric indefinite matrix
1857
- * A using the factorization A = U*D*U**T or A = L*D*L**T computed by
1858
- * CSYTRF.
1859
- *
1860
-
1861
- * Arguments
1862
- * =========
1863
- *
1864
- * UPLO (input) CHARACTER*1
1865
- * Specifies whether the details of the factorization are stored
1866
- * as an upper or lower triangular matrix.
1867
- * = 'U': Upper triangular, form is A = U*D*U**T;
1868
- * = 'L': Lower triangular, form is A = L*D*L**T.
1869
- *
1870
- * N (input) INTEGER
1871
- * The order of the matrix A. N >= 0.
1872
- *
1873
- * A (input/output) COMPLEX array, dimension (LDA,N)
1874
- * On entry, the block diagonal matrix D and the multipliers
1875
- * used to obtain the factor U or L as computed by CSYTRF.
1876
- *
1877
- * On exit, if INFO = 0, the (symmetric) inverse of the original
1878
- * matrix. If UPLO = 'U', the upper triangular part of the
1879
- * inverse is formed and the part of A below the diagonal is not
1880
- * referenced; if UPLO = 'L' the lower triangular part of the
1881
- * inverse is formed and the part of A above the diagonal is
1882
- * not referenced.
1883
- *
1884
- * LDA (input) INTEGER
1885
- * The leading dimension of the array A. LDA >= max(1,N).
1886
- *
1887
- * IPIV (input) INTEGER array, dimension (N)
1888
- * Details of the interchanges and the block structure of D
1889
- * as determined by CSYTRF.
1890
- *
1891
- * WORK (workspace) COMPLEX array, dimension (2*N)
1892
- *
1893
- * INFO (output) INTEGER
1894
- * = 0: successful exit
1895
- * < 0: if INFO = -i, the i-th argument had an illegal value
1896
- * > 0: if INFO = i, D(i,i) = 0; the matrix is singular and its
1897
- * inverse could not be computed.
1898
- *
1899
-
1900
- * =====================================================================
1901
- *
1902
-
1903
-
1904
- </PRE>
1905
- <A HREF="#top">go to the page top</A>
1906
-
1907
- <A NAME="csytri2"></A>
1908
- <H2>csytri2</H2>
1909
- <PRE>
1910
- USAGE:
1911
- info, a = NumRu::Lapack.csytri2( uplo, a, ipiv, [:lwork => lwork, :usage => usage, :help => help])
1912
-
1913
-
1914
- FORTRAN MANUAL
1915
- SUBROUTINE CSYTRI2( UPLO, N, A, LDA, IPIV, WORK, LWORK, INFO )
1916
-
1917
- * Purpose
1918
- * =======
1919
- *
1920
- * CSYTRI2 computes the inverse of a complex symmetric indefinite matrix
1921
- * A using the factorization A = U*D*U**T or A = L*D*L**T computed by
1922
- * CSYTRF. CSYTRI2 sets the LEADING DIMENSION of the workspace
1923
- * before calling CSYTRI2X that actually computes the inverse.
1924
- *
1925
-
1926
- * Arguments
1927
- * =========
1928
- *
1929
- * UPLO (input) CHARACTER*1
1930
- * Specifies whether the details of the factorization are stored
1931
- * as an upper or lower triangular matrix.
1932
- * = 'U': Upper triangular, form is A = U*D*U**T;
1933
- * = 'L': Lower triangular, form is A = L*D*L**T.
1934
- *
1935
- * N (input) INTEGER
1936
- * The order of the matrix A. N >= 0.
1937
- *
1938
- * A (input/output) COMPLEX array, dimension (LDA,N)
1939
- * On entry, the NB diagonal matrix D and the multipliers
1940
- * used to obtain the factor U or L as computed by CSYTRF.
1941
- *
1942
- * On exit, if INFO = 0, the (symmetric) inverse of the original
1943
- * matrix. If UPLO = 'U', the upper triangular part of the
1944
- * inverse is formed and the part of A below the diagonal is not
1945
- * referenced; if UPLO = 'L' the lower triangular part of the
1946
- * inverse is formed and the part of A above the diagonal is
1947
- * not referenced.
1948
- *
1949
- * LDA (input) INTEGER
1950
- * The leading dimension of the array A. LDA >= max(1,N).
1951
- *
1952
- * IPIV (input) INTEGER array, dimension (N)
1953
- * Details of the interchanges and the NB structure of D
1954
- * as determined by CSYTRF.
1955
- *
1956
- * WORK (workspace) COMPLEX array, dimension (N+NB+1)*(NB+3)
1957
- *
1958
- * LWORK (input) INTEGER
1959
- * The dimension of the array WORK.
1960
- * WORK is size >= (N+NB+1)*(NB+3)
1961
- * If LDWORK = -1, then a workspace query is assumed; the routine
1962
- * calculates:
1963
- * - the optimal size of the WORK array, returns
1964
- * this value as the first entry of the WORK array,
1965
- * - and no error message related to LDWORK is issued by XERBLA.
1966
- *
1967
- * INFO (output) INTEGER
1968
- * = 0: successful exit
1969
- * < 0: if INFO = -i, the i-th argument had an illegal value
1970
- * > 0: if INFO = i, D(i,i) = 0; the matrix is singular and its
1971
- * inverse could not be computed.
1972
- *
1973
-
1974
- * =====================================================================
1975
- *
1976
- * .. Local Scalars ..
1977
- LOGICAL UPPER, LQUERY
1978
- INTEGER MINSIZE, NBMAX
1979
- * ..
1980
- * .. External Functions ..
1981
- LOGICAL LSAME
1982
- INTEGER ILAENV
1983
- EXTERNAL LSAME, ILAENV
1984
- * ..
1985
- * .. External Subroutines ..
1986
- EXTERNAL CSYTRI2X
1987
- * ..
1988
-
1989
-
1990
- </PRE>
1991
- <A HREF="#top">go to the page top</A>
1992
-
1993
- <A NAME="csytri2x"></A>
1994
- <H2>csytri2x</H2>
1995
- <PRE>
1996
- USAGE:
1997
- info, a = NumRu::Lapack.csytri2x( uplo, a, ipiv, nb, [:usage => usage, :help => help])
1998
-
1999
-
2000
- FORTRAN MANUAL
2001
- SUBROUTINE CSYTRI2X( UPLO, N, A, LDA, IPIV, WORK, NB, INFO )
2002
-
2003
- * Purpose
2004
- * =======
2005
- *
2006
- * CSYTRI2X computes the inverse of a real symmetric indefinite matrix
2007
- * A using the factorization A = U*D*U**T or A = L*D*L**T computed by
2008
- * CSYTRF.
2009
- *
2010
-
2011
- * Arguments
2012
- * =========
2013
- *
2014
- * UPLO (input) CHARACTER*1
2015
- * Specifies whether the details of the factorization are stored
2016
- * as an upper or lower triangular matrix.
2017
- * = 'U': Upper triangular, form is A = U*D*U**T;
2018
- * = 'L': Lower triangular, form is A = L*D*L**T.
2019
- *
2020
- * N (input) INTEGER
2021
- * The order of the matrix A. N >= 0.
2022
- *
2023
- * A (input/output) COMPLEX array, dimension (LDA,N)
2024
- * On entry, the NNB diagonal matrix D and the multipliers
2025
- * used to obtain the factor U or L as computed by CSYTRF.
2026
- *
2027
- * On exit, if INFO = 0, the (symmetric) inverse of the original
2028
- * matrix. If UPLO = 'U', the upper triangular part of the
2029
- * inverse is formed and the part of A below the diagonal is not
2030
- * referenced; if UPLO = 'L' the lower triangular part of the
2031
- * inverse is formed and the part of A above the diagonal is
2032
- * not referenced.
2033
- *
2034
- * LDA (input) INTEGER
2035
- * The leading dimension of the array A. LDA >= max(1,N).
2036
- *
2037
- * IPIV (input) INTEGER array, dimension (N)
2038
- * Details of the interchanges and the NNB structure of D
2039
- * as determined by CSYTRF.
2040
- *
2041
- * WORK (workspace) COMPLEX array, dimension (N+NNB+1,NNB+3)
2042
- *
2043
- * NB (input) INTEGER
2044
- * Block size
2045
- *
2046
- * INFO (output) INTEGER
2047
- * = 0: successful exit
2048
- * < 0: if INFO = -i, the i-th argument had an illegal value
2049
- * > 0: if INFO = i, D(i,i) = 0; the matrix is singular and its
2050
- * inverse could not be computed.
2051
- *
2052
-
2053
- * =====================================================================
2054
- *
2055
-
2056
-
2057
- </PRE>
2058
- <A HREF="#top">go to the page top</A>
2059
-
2060
- <A NAME="csytrs"></A>
2061
- <H2>csytrs</H2>
2062
- <PRE>
2063
- USAGE:
2064
- info, b = NumRu::Lapack.csytrs( uplo, a, ipiv, b, [:usage => usage, :help => help])
2065
-
2066
-
2067
- FORTRAN MANUAL
2068
- SUBROUTINE CSYTRS( UPLO, N, NRHS, A, LDA, IPIV, B, LDB, INFO )
2069
-
2070
- * Purpose
2071
- * =======
2072
- *
2073
- * CSYTRS solves a system of linear equations A*X = B with a complex
2074
- * symmetric matrix A using the factorization A = U*D*U**T or
2075
- * A = L*D*L**T computed by CSYTRF.
2076
- *
2077
-
2078
- * Arguments
2079
- * =========
2080
- *
2081
- * UPLO (input) CHARACTER*1
2082
- * Specifies whether the details of the factorization are stored
2083
- * as an upper or lower triangular matrix.
2084
- * = 'U': Upper triangular, form is A = U*D*U**T;
2085
- * = 'L': Lower triangular, form is A = L*D*L**T.
2086
- *
2087
- * N (input) INTEGER
2088
- * The order of the matrix A. N >= 0.
2089
- *
2090
- * NRHS (input) INTEGER
2091
- * The number of right hand sides, i.e., the number of columns
2092
- * of the matrix B. NRHS >= 0.
2093
- *
2094
- * A (input) COMPLEX array, dimension (LDA,N)
2095
- * The block diagonal matrix D and the multipliers used to
2096
- * obtain the factor U or L as computed by CSYTRF.
2097
- *
2098
- * LDA (input) INTEGER
2099
- * The leading dimension of the array A. LDA >= max(1,N).
2100
- *
2101
- * IPIV (input) INTEGER array, dimension (N)
2102
- * Details of the interchanges and the block structure of D
2103
- * as determined by CSYTRF.
2104
- *
2105
- * B (input/output) COMPLEX array, dimension (LDB,NRHS)
2106
- * On entry, the right hand side matrix B.
2107
- * On exit, the solution matrix X.
2108
- *
2109
- * LDB (input) INTEGER
2110
- * The leading dimension of the array B. LDB >= max(1,N).
2111
- *
2112
- * INFO (output) INTEGER
2113
- * = 0: successful exit
2114
- * < 0: if INFO = -i, the i-th argument had an illegal value
2115
- *
2116
-
2117
- * =====================================================================
2118
- *
2119
-
2120
-
2121
- </PRE>
2122
- <A HREF="#top">go to the page top</A>
2123
-
2124
- <A NAME="csytrs2"></A>
2125
- <H2>csytrs2</H2>
2126
- <PRE>
2127
- USAGE:
2128
- info, b = NumRu::Lapack.csytrs2( uplo, a, ipiv, b, [:usage => usage, :help => help])
2129
-
2130
-
2131
- FORTRAN MANUAL
2132
- SUBROUTINE CSYTRS2( UPLO, N, NRHS, A, LDA, IPIV, B, LDB, WORK, INFO )
2133
-
2134
- * Purpose
2135
- * =======
2136
- *
2137
- * CSYTRS2 solves a system of linear equations A*X = B with a COMPLEX
2138
- * symmetric matrix A using the factorization A = U*D*U**T or
2139
- * A = L*D*L**T computed by CSYTRF and converted by CSYCONV.
2140
- *
2141
-
2142
- * Arguments
2143
- * =========
2144
- *
2145
- * UPLO (input) CHARACTER*1
2146
- * Specifies whether the details of the factorization are stored
2147
- * as an upper or lower triangular matrix.
2148
- * = 'U': Upper triangular, form is A = U*D*U**T;
2149
- * = 'L': Lower triangular, form is A = L*D*L**T.
2150
- *
2151
- * N (input) INTEGER
2152
- * The order of the matrix A. N >= 0.
2153
- *
2154
- * NRHS (input) INTEGER
2155
- * The number of right hand sides, i.e., the number of columns
2156
- * of the matrix B. NRHS >= 0.
2157
- *
2158
- * A (input) COMPLEX array, dimension (LDA,N)
2159
- * The block diagonal matrix D and the multipliers used to
2160
- * obtain the factor U or L as computed by CSYTRF.
2161
- *
2162
- * LDA (input) INTEGER
2163
- * The leading dimension of the array A. LDA >= max(1,N).
2164
- *
2165
- * IPIV (input) INTEGER array, dimension (N)
2166
- * Details of the interchanges and the block structure of D
2167
- * as determined by CSYTRF.
2168
- *
2169
- * B (input/output) COMPLEX array, dimension (LDB,NRHS)
2170
- * On entry, the right hand side matrix B.
2171
- * On exit, the solution matrix X.
2172
- *
2173
- * LDB (input) INTEGER
2174
- * The leading dimension of the array B. LDB >= max(1,N).
2175
- *
2176
- * WORK (workspace) COMPLEX array, dimension (N)
2177
- *
2178
- * INFO (output) INTEGER
2179
- * = 0: successful exit
2180
- * < 0: if INFO = -i, the i-th argument had an illegal value
2181
- *
2182
-
2183
- * =====================================================================
2184
- *
2185
-
2186
-
2187
- </PRE>
2188
- <A HREF="#top">go to the page top</A>
2189
-
2190
- <HR />
2191
- <A HREF="c.html">back to matrix types</A><BR>
2192
- <A HREF="c.html">back to data types</A>
2193
- </BODY>
2194
- </HTML>