1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549
|
%TESTMM compare mread and mmread for entire Matrix Market collection
% Example:
% testmm
% See also mread.
% Requires the mmread MATLAB m-file from http://www.nist.gov
% Copyright 2007, Timothy A. Davis, http://www.suitesparse.com
matrices = {
'M/Harwell-Boeing/acoust/young1c.mtx', ...
'M/Harwell-Boeing/acoust/young2c.mtx', ...
'M/Harwell-Boeing/acoust/young3c.mtx', ...
'M/Harwell-Boeing/acoust/young4c.mtx', ...
'M/Harwell-Boeing/airtfc/zenios.mtx', ...
'M/Harwell-Boeing/astroph/mcca.mtx', ...
'M/Harwell-Boeing/astroph/mcfe.mtx', ...
'M/Harwell-Boeing/bcspwr/bcspwr01.mtx', ...
'M/Harwell-Boeing/bcspwr/bcspwr02.mtx', ...
'M/Harwell-Boeing/bcspwr/bcspwr03.mtx', ...
'M/Harwell-Boeing/bcspwr/bcspwr04.mtx', ...
'M/Harwell-Boeing/bcspwr/bcspwr05.mtx', ...
'M/Harwell-Boeing/bcspwr/bcspwr06.mtx', ...
'M/Harwell-Boeing/bcspwr/bcspwr07.mtx', ...
'M/Harwell-Boeing/bcspwr/bcspwr08.mtx', ...
'M/Harwell-Boeing/bcspwr/bcspwr09.mtx', ...
'M/Harwell-Boeing/bcspwr/bcspwr10.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstk01.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstk02.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstk03.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstk04.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstk05.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstk06.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstk07.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstk08.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstk09.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstk10.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstk11.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstk12.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstk13.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstm01.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstm02.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstm03.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstm04.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstm05.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstm06.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstm07.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstm08.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstm09.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstm10.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstm11.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstm12.mtx', ...
'M/Harwell-Boeing/bcsstruc1/bcsstm13.mtx', ...
'M/Harwell-Boeing/bcsstruc2/bcsstk14.mtx', ...
'M/Harwell-Boeing/bcsstruc2/bcsstk15.mtx', ...
'M/Harwell-Boeing/bcsstruc2/bcsstk16.mtx', ...
'M/Harwell-Boeing/bcsstruc2/bcsstk17.mtx', ...
'M/Harwell-Boeing/bcsstruc2/bcsstk18.mtx', ...
'M/Harwell-Boeing/bcsstruc3/bcsstk19.mtx', ...
'M/Harwell-Boeing/bcsstruc3/bcsstk20.mtx', ...
'M/Harwell-Boeing/bcsstruc3/bcsstk21.mtx', ...
'M/Harwell-Boeing/bcsstruc3/bcsstk22.mtx', ...
'M/Harwell-Boeing/bcsstruc3/bcsstk23.mtx', ...
'M/Harwell-Boeing/bcsstruc3/bcsstk24.mtx', ...
'M/Harwell-Boeing/bcsstruc3/bcsstk25.mtx', ...
'M/Harwell-Boeing/bcsstruc3/bcsstm19.mtx', ...
'M/Harwell-Boeing/bcsstruc3/bcsstm20.mtx', ...
'M/Harwell-Boeing/bcsstruc3/bcsstm21.mtx', ...
'M/Harwell-Boeing/bcsstruc3/bcsstm22.mtx', ...
'M/Harwell-Boeing/bcsstruc3/bcsstm23.mtx', ...
'M/Harwell-Boeing/bcsstruc3/bcsstm24.mtx', ...
'M/Harwell-Boeing/bcsstruc3/bcsstm25.mtx', ...
'M/Harwell-Boeing/bcsstruc4/bcsstk26.mtx', ...
'M/Harwell-Boeing/bcsstruc4/bcsstk27.mtx', ...
'M/Harwell-Boeing/bcsstruc4/bcsstk28.mtx', ...
'M/Harwell-Boeing/bcsstruc4/bcsstm26.mtx', ...
'M/Harwell-Boeing/bcsstruc4/bcsstm27.mtx', ...
'M/Harwell-Boeing/bcsstruc5/bcsstk29.mtx', ...
'M/Harwell-Boeing/bcsstruc5/bcsstk30.mtx', ...
'M/Harwell-Boeing/bcsstruc5/bcsstk31.mtx', ...
'M/Harwell-Boeing/bcsstruc5/bcsstk32.mtx', ...
'M/Harwell-Boeing/bcsstruc5/bcsstk33.mtx', ...
'M/Harwell-Boeing/bcsstruc6/blckhole.mtx', ...
'M/Harwell-Boeing/bcsstruc6/sstmodel.mtx', ...
'M/Harwell-Boeing/cannes/can_1054.mtx', ...
'M/Harwell-Boeing/cannes/can_1072.mtx', ...
'M/Harwell-Boeing/cannes/can__144.mtx', ...
'M/Harwell-Boeing/cannes/can__161.mtx', ...
'M/Harwell-Boeing/cannes/can__187.mtx', ...
'M/Harwell-Boeing/cannes/can__229.mtx', ...
'M/Harwell-Boeing/cannes/can___24.mtx', ...
'M/Harwell-Boeing/cannes/can__256.mtx', ...
'M/Harwell-Boeing/cannes/can__268.mtx', ...
'M/Harwell-Boeing/cannes/can__292.mtx', ...
'M/Harwell-Boeing/cannes/can__445.mtx', ...
'M/Harwell-Boeing/cannes/can___61.mtx', ...
'M/Harwell-Boeing/cannes/can___62.mtx', ...
'M/Harwell-Boeing/cannes/can__634.mtx', ...
'M/Harwell-Boeing/cannes/can__715.mtx', ...
'M/Harwell-Boeing/cannes/can___73.mtx', ...
'M/Harwell-Boeing/cannes/can__838.mtx', ...
'M/Harwell-Boeing/cannes/can___96.mtx', ...
'M/Harwell-Boeing/chemimp/impcol_a.mtx', ...
'M/Harwell-Boeing/chemimp/impcol_b.mtx', ...
'M/Harwell-Boeing/chemimp/impcol_c.mtx', ...
'M/Harwell-Boeing/chemimp/impcol_d.mtx', ...
'M/Harwell-Boeing/chemimp/impcol_e.mtx', ...
'M/Harwell-Boeing/chemwest/west0067.mtx', ...
'M/Harwell-Boeing/chemwest/west0132.mtx', ...
'M/Harwell-Boeing/chemwest/west0156.mtx', ...
'M/Harwell-Boeing/chemwest/west0167.mtx', ...
'M/Harwell-Boeing/chemwest/west0381.mtx', ...
'M/Harwell-Boeing/chemwest/west0479.mtx', ...
'M/Harwell-Boeing/chemwest/west0497.mtx', ...
'M/Harwell-Boeing/chemwest/west0655.mtx', ...
'M/Harwell-Boeing/chemwest/west0989.mtx', ...
'M/Harwell-Boeing/chemwest/west1505.mtx', ...
'M/Harwell-Boeing/chemwest/west2021.mtx', ...
'M/Harwell-Boeing/cirphys/jpwh_991.mtx', ...
'M/Harwell-Boeing/counterx/jgl009.mtx', ...
'M/Harwell-Boeing/counterx/jgl011.mtx', ...
'M/Harwell-Boeing/counterx/rgg010.mtx', ...
'M/Harwell-Boeing/dwt/dwt_1005.mtx', ...
'M/Harwell-Boeing/dwt/dwt_1007.mtx', ...
'M/Harwell-Boeing/dwt/dwt_1242.mtx', ...
'M/Harwell-Boeing/dwt/dwt__162.mtx', ...
'M/Harwell-Boeing/dwt/dwt__193.mtx', ...
'M/Harwell-Boeing/dwt/dwt__198.mtx', ...
'M/Harwell-Boeing/dwt/dwt__209.mtx', ...
'M/Harwell-Boeing/dwt/dwt__221.mtx', ...
'M/Harwell-Boeing/dwt/dwt__234.mtx', ...
'M/Harwell-Boeing/dwt/dwt__245.mtx', ...
'M/Harwell-Boeing/dwt/dwt_2680.mtx', ...
'M/Harwell-Boeing/dwt/dwt__307.mtx', ...
'M/Harwell-Boeing/dwt/dwt__310.mtx', ...
'M/Harwell-Boeing/dwt/dwt__346.mtx', ...
'M/Harwell-Boeing/dwt/dwt__361.mtx', ...
'M/Harwell-Boeing/dwt/dwt__419.mtx', ...
'M/Harwell-Boeing/dwt/dwt__492.mtx', ...
'M/Harwell-Boeing/dwt/dwt__503.mtx', ...
'M/Harwell-Boeing/dwt/dwt__512.mtx', ...
'M/Harwell-Boeing/dwt/dwt__592.mtx', ...
'M/Harwell-Boeing/dwt/dwt___59.mtx', ...
'M/Harwell-Boeing/dwt/dwt__607.mtx', ...
'M/Harwell-Boeing/dwt/dwt___66.mtx', ...
'M/Harwell-Boeing/dwt/dwt___72.mtx', ...
'M/Harwell-Boeing/dwt/dwt__758.mtx', ...
'M/Harwell-Boeing/dwt/dwt__869.mtx', ...
'M/Harwell-Boeing/dwt/dwt__878.mtx', ...
'M/Harwell-Boeing/dwt/dwt___87.mtx', ...
'M/Harwell-Boeing/dwt/dwt__918.mtx', ...
'M/Harwell-Boeing/dwt/dwt__992.mtx', ...
'M/Harwell-Boeing/econaus/mahindas.mtx', ...
'M/Harwell-Boeing/econaus/orani678.mtx', ...
'M/Harwell-Boeing/econiea/beacxc.mtx', ...
'M/Harwell-Boeing/econiea/beaflw.mtx', ...
'M/Harwell-Boeing/econiea/beause.mtx', ...
'M/Harwell-Boeing/econiea/mbeacxc.mtx', ...
'M/Harwell-Boeing/econiea/mbeaflw.mtx', ...
'M/Harwell-Boeing/econiea/mbeause.mtx', ...
'M/Harwell-Boeing/econiea/wm1.mtx', ...
'M/Harwell-Boeing/econiea/wm2.mtx', ...
'M/Harwell-Boeing/econiea/wm3.mtx', ...
'M/Harwell-Boeing/facsimile/fs_183_1.mtx', ...
'M/Harwell-Boeing/facsimile/fs_183_3.mtx', ...
'M/Harwell-Boeing/facsimile/fs_183_4.mtx', ...
'M/Harwell-Boeing/facsimile/fs_183_6.mtx', ...
'M/Harwell-Boeing/facsimile/fs_680_1.mtx', ...
'M/Harwell-Boeing/facsimile/fs_680_2.mtx', ...
'M/Harwell-Boeing/facsimile/fs_680_3.mtx', ...
'M/Harwell-Boeing/facsimile/fs_760_1.mtx', ...
'M/Harwell-Boeing/facsimile/fs_760_2.mtx', ...
'M/Harwell-Boeing/facsimile/fs_760_3.mtx', ...
'M/Harwell-Boeing/gemat/gemat11.mtx', ...
'M/Harwell-Boeing/gemat/gemat12.mtx', ...
'M/Harwell-Boeing/gemat/gemat1.mtx', ...
'M/Harwell-Boeing/grenoble/gre_1107.mtx', ...
'M/Harwell-Boeing/grenoble/gre__115.mtx', ...
'M/Harwell-Boeing/grenoble/gre__185.mtx', ...
'M/Harwell-Boeing/grenoble/gre_216a.mtx', ...
'M/Harwell-Boeing/grenoble/gre_216b.mtx', ...
'M/Harwell-Boeing/grenoble/gre__343.mtx', ...
'M/Harwell-Boeing/grenoble/gre__512.mtx', ...
'M/Harwell-Boeing/jagmesh/jagmesh1.mtx', ...
'M/Harwell-Boeing/jagmesh/jagmesh2.mtx', ...
'M/Harwell-Boeing/jagmesh/jagmesh3.mtx', ...
'M/Harwell-Boeing/jagmesh/jagmesh4.mtx', ...
'M/Harwell-Boeing/jagmesh/jagmesh5.mtx', ...
'M/Harwell-Boeing/jagmesh/jagmesh6.mtx', ...
'M/Harwell-Boeing/jagmesh/jagmesh7.mtx', ...
'M/Harwell-Boeing/jagmesh/jagmesh8.mtx', ...
'M/Harwell-Boeing/jagmesh/jagmesh9.mtx', ...
'M/Harwell-Boeing/lanpro/nos1.mtx', ...
'M/Harwell-Boeing/lanpro/nos2.mtx', ...
'M/Harwell-Boeing/lanpro/nos3.mtx', ...
'M/Harwell-Boeing/lanpro/nos4.mtx', ...
'M/Harwell-Boeing/lanpro/nos5.mtx', ...
'M/Harwell-Boeing/lanpro/nos6.mtx', ...
'M/Harwell-Boeing/lanpro/nos7.mtx', ...
'M/Harwell-Boeing/laplace/gr_30_30.mtx', ...
'M/Harwell-Boeing/lns/lns__131.mtx', ...
'M/Harwell-Boeing/lns/lns_3937.mtx', ...
'M/Harwell-Boeing/lns/lns__511.mtx', ...
'M/Harwell-Boeing/lns/lnsp_131.mtx', ...
'M/Harwell-Boeing/lns/lnsp3937.mtx', ...
'M/Harwell-Boeing/lns/lnsp_511.mtx', ...
'M/Harwell-Boeing/lshape/lshp1009.mtx', ...
'M/Harwell-Boeing/lshape/lshp1270.mtx', ...
'M/Harwell-Boeing/lshape/lshp1561.mtx', ...
'M/Harwell-Boeing/lshape/lshp1882.mtx', ...
'M/Harwell-Boeing/lshape/lshp2233.mtx', ...
'M/Harwell-Boeing/lshape/lshp2614.mtx', ...
'M/Harwell-Boeing/lshape/lshp_265.mtx', ...
'M/Harwell-Boeing/lshape/lshp3025.mtx', ...
'M/Harwell-Boeing/lshape/lshp3466.mtx', ...
'M/Harwell-Boeing/lshape/lshp_406.mtx', ...
'M/Harwell-Boeing/lshape/lshp_577.mtx', ...
'M/Harwell-Boeing/lshape/lshp_778.mtx', ...
'M/Harwell-Boeing/lsq/illc1033.mtx', ...
'M/Harwell-Boeing/lsq/illc1850.mtx', ...
'M/Harwell-Boeing/lsq/well1033.mtx', ...
'M/Harwell-Boeing/lsq/well1850.mtx', ...
'M/Harwell-Boeing/nnceng/hor__131.mtx', ...
'M/Harwell-Boeing/nucl/nnc1374.mtx', ...
'M/Harwell-Boeing/nucl/nnc261.mtx', ...
'M/Harwell-Boeing/nucl/nnc666.mtx', ...
'M/Harwell-Boeing/oilgen/orsirr_1.mtx', ...
'M/Harwell-Boeing/oilgen/orsirr_2.mtx', ...
'M/Harwell-Boeing/oilgen/orsreg_1.mtx', ...
'M/Harwell-Boeing/platz/plat1919.mtx', ...
'M/Harwell-Boeing/platz/plat362.mtx', ...
'M/Harwell-Boeing/platz/plsk1919.mtx', ...
'M/Harwell-Boeing/platz/plskz362.mtx', ...
'M/Harwell-Boeing/pores/pores_1.mtx', ...
'M/Harwell-Boeing/pores/pores_2.mtx', ...
'M/Harwell-Boeing/pores/pores_3.mtx', ...
'M/Harwell-Boeing/psadmit/1138_bus.mtx', ...
'M/Harwell-Boeing/psadmit/494_bus.mtx', ...
'M/Harwell-Boeing/psadmit/662_bus.mtx', ...
'M/Harwell-Boeing/psadmit/685_bus.mtx', ...
'M/Harwell-Boeing/psmigr/psmigr_1.mtx', ...
'M/Harwell-Boeing/psmigr/psmigr_2.mtx', ...
'M/Harwell-Boeing/psmigr/psmigr_3.mtx', ...
'M/Harwell-Boeing/saylor/saylr1.mtx', ...
'M/Harwell-Boeing/saylor/saylr3.mtx', ...
'M/Harwell-Boeing/saylor/saylr4.mtx', ...
'M/Harwell-Boeing/sherman/sherman1.mtx', ...
'M/Harwell-Boeing/sherman/sherman2.mtx', ...
'M/Harwell-Boeing/sherman/sherman3.mtx', ...
'M/Harwell-Boeing/sherman/sherman4.mtx', ...
'M/Harwell-Boeing/sherman/sherman5.mtx', ...
'M/Harwell-Boeing/smtape/abb313.mtx', ...
'M/Harwell-Boeing/smtape/arc130.mtx', ...
'M/Harwell-Boeing/smtape/ash219.mtx', ...
'M/Harwell-Boeing/smtape/ash292.mtx', ...
'M/Harwell-Boeing/smtape/ash331.mtx', ...
'M/Harwell-Boeing/smtape/ash608.mtx', ...
'M/Harwell-Boeing/smtape/ash85.mtx', ...
'M/Harwell-Boeing/smtape/bp_____0.mtx', ...
'M/Harwell-Boeing/smtape/bp__1000.mtx', ...
'M/Harwell-Boeing/smtape/bp__1200.mtx', ...
'M/Harwell-Boeing/smtape/bp__1400.mtx', ...
'M/Harwell-Boeing/smtape/bp__1600.mtx', ...
'M/Harwell-Boeing/smtape/bp___200.mtx', ...
'M/Harwell-Boeing/smtape/bp___400.mtx', ...
'M/Harwell-Boeing/smtape/bp___600.mtx', ...
'M/Harwell-Boeing/smtape/bp___800.mtx', ...
'M/Harwell-Boeing/smtape/curtis54.mtx', ...
'M/Harwell-Boeing/smtape/eris1176.mtx', ...
'M/Harwell-Boeing/smtape/fs_541_1.mtx', ...
'M/Harwell-Boeing/smtape/fs_541_2.mtx', ...
'M/Harwell-Boeing/smtape/fs_541_3.mtx', ...
'M/Harwell-Boeing/smtape/fs_541_4.mtx', ...
'M/Harwell-Boeing/smtape/gent113.mtx', ...
'M/Harwell-Boeing/smtape/ibm32.mtx', ...
'M/Harwell-Boeing/smtape/lund_a.mtx', ...
'M/Harwell-Boeing/smtape/lund_b.mtx', ...
'M/Harwell-Boeing/smtape/shl____0.mtx', ...
'M/Harwell-Boeing/smtape/shl__200.mtx', ...
'M/Harwell-Boeing/smtape/shl__400.mtx', ...
'M/Harwell-Boeing/smtape/str____0.mtx', ...
'M/Harwell-Boeing/smtape/str__200.mtx', ...
'M/Harwell-Boeing/smtape/str__400.mtx', ...
'M/Harwell-Boeing/smtape/str__600.mtx', ...
'M/Harwell-Boeing/smtape/will199.mtx', ...
'M/Harwell-Boeing/smtape/will57.mtx', ...
'M/Harwell-Boeing/steam/steam1.mtx', ...
'M/Harwell-Boeing/steam/steam2.mtx', ...
'M/Harwell-Boeing/steam/steam3.mtx', ...
'M/Harwell-Boeing/watt/watt__1.mtx', ...
'M/Harwell-Boeing/watt/watt__2.mtx', ...
'M/misc/cylshell/s1rmq4m1.mtx', ...
'M/misc/cylshell/s1rmt3m1.mtx', ...
'M/misc/cylshell/s2rmq4m1.mtx', ...
'M/misc/cylshell/s3dkq4m2.mtx', ...
'M/misc/cylshell/s3dkt3m2.mtx', ...
'M/misc/cylshell/s3rmq4m1.mtx', ...
'M/misc/cylshell/s3rmt3m1.mtx', ...
'M/misc/cylshell/s3rmt3m3.mtx', ...
'M/misc/hamm/add20.mtx', ...
'M/misc/hamm/add32.mtx', ...
'M/misc/hamm/memplus.mtx', ...
'M/misc/pts5ldd0/pts5ldd03.mtx', ...
'M/misc/pts5ldd0/pts5ldd04.mtx', ...
'M/misc/pts5ldd0/pts5ldd05.mtx', ...
'M/misc/pts5ldd0/pts5ldd06.mtx', ...
'M/misc/pts5ldd0/pts5ldd07.mtx', ...
'M/misc/pts5ldd1/pts5ldd13.mtx', ...
'M/misc/pts5ldd1/pts5ldd14.mtx', ...
'M/misc/pts5ldd1/pts5ldd15.mtx', ...
'M/misc/pts5ldd1/pts5ldd16.mtx', ...
'M/misc/pts5ldd1/pts5ldd17.mtx', ...
'M/misc/pts5ldd2/pts5ldd23.mtx', ...
'M/misc/pts5ldd2/pts5ldd24.mtx', ...
'M/misc/pts5ldd2/pts5ldd25.mtx', ...
'M/misc/pts5ldd2/pts5ldd26.mtx', ...
'M/misc/pts5ldd2/pts5ldd27.mtx', ...
'M/misc/qcd/conf5.0-00l4x4-1000.mtx', ...
'M/misc/qcd/conf5.0-00l4x4-1400.mtx', ...
'M/misc/qcd/conf5.0-00l4x4-1800.mtx', ...
'M/misc/qcd/conf5.0-00l4x4-2200.mtx', ...
'M/misc/qcd/conf5.0-00l4x4-2600.mtx', ...
'M/misc/qcd/conf5.4-00l8x8-0500.mtx', ...
'M/misc/qcd/conf5.4-00l8x8-1000.mtx', ...
'M/misc/qcd/conf5.4-00l8x8-1500.mtx', ...
'M/misc/qcd/conf5.4-00l8x8-2000.mtx', ...
'M/misc/qcd/conf6.0-00l4x4-2000.mtx', ...
'M/misc/qcd/conf6.0-00l4x4-3000.mtx', ...
'M/misc/qcd/conf6.0-00l8x8-2000.mtx', ...
'M/misc/qcd/conf6.0-00l8x8-3000.mtx', ...
'M/misc/qcd/conf6.0-00l8x8-8000.mtx', ...
'M/NEP/airfoil/af23560.mtx', ...
'M/NEP/bfwave/bfw398a.mtx', ...
'M/NEP/bfwave/bfw398b.mtx', ...
'M/NEP/bfwave/bfw62a.mtx', ...
'M/NEP/bfwave/bfw62b.mtx', ...
'M/NEP/bfwave/bfw782a.mtx', ...
'M/NEP/bfwave/bfw782b.mtx', ...
'M/NEP/brussel/rdb1250l.mtx', ...
'M/NEP/brussel/rdb1250.mtx', ...
'M/NEP/brussel/rdb200l.mtx', ...
'M/NEP/brussel/rdb200.mtx', ...
'M/NEP/brussel/rdb2048l.mtx', ...
'M/NEP/brussel/rdb2048.mtx', ...
'M/NEP/brussel/rdb3200l.mtx', ...
'M/NEP/brussel/rdb450l.mtx', ...
'M/NEP/brussel/rdb450.mtx', ...
'M/NEP/brussel/rdb800l.mtx', ...
'M/NEP/brussel/rdb968.mtx', ...
'M/NEP/chuck/ck104.mtx', ...
'M/NEP/chuck/ck400.mtx', ...
'M/NEP/chuck/ck656.mtx', ...
'M/NEP/crystal/cry10000.mtx', ...
'M/NEP/crystal/cry2500.mtx', ...
'M/NEP/dwave/dw2048.mtx', ...
'M/NEP/dwave/dw8192.mtx', ...
'M/NEP/dwave/dwa512.mtx', ...
'M/NEP/dwave/dwb512.mtx', ...
'M/NEP/gedney/dwg961a.mtx', ...
'M/NEP/gedney/dwg961b.mtx', ...
'M/NEP/h2plus/qc2534.mtx', ...
'M/NEP/h2plus/qc324.mtx', ...
'M/NEP/matpde/pde225.mtx', ...
'M/NEP/matpde/pde2961.mtx', ...
'M/NEP/matpde/pde900.mtx', ...
'M/NEP/mhd/mhd1280a.mtx', ...
'M/NEP/mhd/mhd1280b.mtx', ...
'M/NEP/mhd/mhd3200a.mtx', ...
'M/NEP/mhd/mhd3200b.mtx', ...
'M/NEP/mhd/mhd416a.mtx', ...
'M/NEP/mhd/mhd416b.mtx', ...
'M/NEP/mhd/mhd4800a.mtx', ...
'M/NEP/mhd/mhd4800b.mtx', ...
'M/NEP/mvmbwm/bwm2000.mtx', ...
'M/NEP/mvmbwm/bwm200.mtx', ...
'M/NEP/mvmmcd/cdde1.mtx', ...
'M/NEP/mvmmcd/cdde2.mtx', ...
'M/NEP/mvmmcd/cdde3.mtx', ...
'M/NEP/mvmmcd/cdde4.mtx', ...
'M/NEP/mvmmcd/cdde5.mtx', ...
'M/NEP/mvmmcd/cdde6.mtx', ...
'M/NEP/mvmode/odep400a.mtx', ...
'M/NEP/mvmode/odep400b.mtx', ...
'M/NEP/mvmrwk/rw136.mtx', ...
'M/NEP/mvmrwk/rw496.mtx', ...
'M/NEP/mvmrwk/rw5151.mtx', ...
'M/NEP/mvmtls/tols1090.mtx', ...
'M/NEP/mvmtls/tols2000.mtx', ...
'M/NEP/mvmtls/tols340.mtx', ...
'M/NEP/mvmtls/tols4000.mtx', ...
'M/NEP/mvmtls/tols90.mtx', ...
'M/NEP/olmstead/olm1000.mtx', ...
'M/NEP/olmstead/olm100.mtx', ...
'M/NEP/olmstead/olm2000.mtx', ...
'M/NEP/olmstead/olm5000.mtx', ...
'M/NEP/olmstead/olm500.mtx', ...
'M/NEP/quebec/qh1484.mtx', ...
'M/NEP/quebec/qh768.mtx', ...
'M/NEP/quebec/qh882.mtx', ...
'M/NEP/robotics/rbs480a.mtx', ...
'M/NEP/robotics/rbs480b.mtx', ...
'M/NEP/stoch/lop163.mtx', ...
'M/NEP/tubular/tub1000.mtx', ...
'M/NEP/tubular/tub100.mtx', ...
'M/SPARSKIT/drivcav/e05r0000.mtx', ...
'M/SPARSKIT/drivcav/e05r0100.mtx', ...
'M/SPARSKIT/drivcav/e05r0200.mtx', ...
'M/SPARSKIT/drivcav/e05r0300.mtx', ...
'M/SPARSKIT/drivcav/e05r0400.mtx', ...
'M/SPARSKIT/drivcav/e05r0500.mtx', ...
'M/SPARSKIT/drivcav/e20r0000.mtx', ...
'M/SPARSKIT/drivcav/e20r0100.mtx', ...
'M/SPARSKIT/drivcav/e20r0500.mtx', ...
'M/SPARSKIT/drivcav/e20r1000.mtx', ...
'M/SPARSKIT/drivcav/e20r2000.mtx', ...
'M/SPARSKIT/drivcav/e20r3000.mtx', ...
'M/SPARSKIT/drivcav/e20r4000.mtx', ...
'M/SPARSKIT/drivcav/e20r5000.mtx', ...
'M/SPARSKIT/drivcav/e30r0000.mtx', ...
'M/SPARSKIT/drivcav/e30r0100.mtx', ...
'M/SPARSKIT/drivcav/e30r0500.mtx', ...
'M/SPARSKIT/drivcav/e30r1000.mtx', ...
'M/SPARSKIT/drivcav/e30r2000.mtx', ...
'M/SPARSKIT/drivcav/e30r3000.mtx', ...
'M/SPARSKIT/drivcav/e30r4000.mtx', ...
'M/SPARSKIT/drivcav/e30r5000.mtx', ...
'M/SPARSKIT/drivcav/e40r0000.mtx', ...
'M/SPARSKIT/drivcav/e40r0100.mtx', ...
'M/SPARSKIT/drivcav/e40r0500.mtx', ...
'M/SPARSKIT/drivcav/e40r1000.mtx', ...
'M/SPARSKIT/drivcav/e40r2000.mtx', ...
'M/SPARSKIT/drivcav/e40r3000.mtx', ...
'M/SPARSKIT/drivcav/e40r4000.mtx', ...
'M/SPARSKIT/drivcav/e40r5000.mtx', ...
'M/SPARSKIT/drivcav_old/cavity01.mtx', ...
'M/SPARSKIT/drivcav_old/cavity02.mtx', ...
'M/SPARSKIT/drivcav_old/cavity03.mtx', ...
'M/SPARSKIT/drivcav_old/cavity04.mtx', ...
'M/SPARSKIT/drivcav_old/cavity05.mtx', ...
'M/SPARSKIT/drivcav_old/cavity06.mtx', ...
'M/SPARSKIT/drivcav_old/cavity07.mtx', ...
'M/SPARSKIT/drivcav_old/cavity08.mtx', ...
'M/SPARSKIT/drivcav_old/cavity09.mtx', ...
'M/SPARSKIT/drivcav_old/cavity10.mtx', ...
'M/SPARSKIT/drivcav_old/cavity11.mtx', ...
'M/SPARSKIT/drivcav_old/cavity12.mtx', ...
'M/SPARSKIT/drivcav_old/cavity13.mtx', ...
'M/SPARSKIT/drivcav_old/cavity14.mtx', ...
'M/SPARSKIT/drivcav_old/cavity15.mtx', ...
'M/SPARSKIT/drivcav_old/cavity16.mtx', ...
'M/SPARSKIT/drivcav_old/cavity17.mtx', ...
'M/SPARSKIT/drivcav_old/cavity18.mtx', ...
'M/SPARSKIT/drivcav_old/cavity19.mtx', ...
'M/SPARSKIT/drivcav_old/cavity20.mtx', ...
'M/SPARSKIT/drivcav_old/cavity21.mtx', ...
'M/SPARSKIT/drivcav_old/cavity22.mtx', ...
'M/SPARSKIT/drivcav_old/cavity23.mtx', ...
'M/SPARSKIT/drivcav_old/cavity24.mtx', ...
'M/SPARSKIT/drivcav_old/cavity25.mtx', ...
'M/SPARSKIT/drivcav_old/cavity26.mtx', ...
'M/SPARSKIT/fidap/fidap001.mtx', ...
'M/SPARSKIT/fidap/fidap002.mtx', ...
'M/SPARSKIT/fidap/fidap003.mtx', ...
'M/SPARSKIT/fidap/fidap004.mtx', ...
'M/SPARSKIT/fidap/fidap005.mtx', ...
'M/SPARSKIT/fidap/fidap006.mtx', ...
'M/SPARSKIT/fidap/fidap007.mtx', ...
'M/SPARSKIT/fidap/fidap008.mtx', ...
'M/SPARSKIT/fidap/fidap009.mtx', ...
'M/SPARSKIT/fidap/fidap010.mtx', ...
'M/SPARSKIT/fidap/fidap011.mtx', ...
'M/SPARSKIT/fidap/fidap012.mtx', ...
'M/SPARSKIT/fidap/fidap013.mtx', ...
'M/SPARSKIT/fidap/fidap014.mtx', ...
'M/SPARSKIT/fidap/fidap015.mtx', ...
'M/SPARSKIT/fidap/fidap018.mtx', ...
'M/SPARSKIT/fidap/fidap019.mtx', ...
'M/SPARSKIT/fidap/fidap020.mtx', ...
'M/SPARSKIT/fidap/fidap021.mtx', ...
'M/SPARSKIT/fidap/fidap022.mtx', ...
'M/SPARSKIT/fidap/fidap023.mtx', ...
'M/SPARSKIT/fidap/fidap024.mtx', ...
'M/SPARSKIT/fidap/fidap025.mtx', ...
'M/SPARSKIT/fidap/fidap026.mtx', ...
'M/SPARSKIT/fidap/fidap027.mtx', ...
'M/SPARSKIT/fidap/fidap028.mtx', ...
'M/SPARSKIT/fidap/fidap029.mtx', ...
'M/SPARSKIT/fidap/fidap031.mtx', ...
'M/SPARSKIT/fidap/fidap032.mtx', ...
'M/SPARSKIT/fidap/fidap033.mtx', ...
'M/SPARSKIT/fidap/fidap035.mtx', ...
'M/SPARSKIT/fidap/fidap036.mtx', ...
'M/SPARSKIT/fidap/fidap037.mtx', ...
'M/SPARSKIT/fidap/fidapm02.mtx', ...
'M/SPARSKIT/fidap/fidapm03.mtx', ...
'M/SPARSKIT/fidap/fidapm05.mtx', ...
'M/SPARSKIT/fidap/fidapm07.mtx', ...
'M/SPARSKIT/fidap/fidapm08.mtx', ...
'M/SPARSKIT/fidap/fidapm09.mtx', ...
'M/SPARSKIT/fidap/fidapm10.mtx', ...
'M/SPARSKIT/fidap/fidapm11.mtx', ...
'M/SPARSKIT/fidap/fidapm13.mtx', ...
'M/SPARSKIT/fidap/fidapm15.mtx', ...
'M/SPARSKIT/fidap/fidapm29.mtx', ...
'M/SPARSKIT/fidap/fidapm33.mtx', ...
'M/SPARSKIT/fidap/fidapm37.mtx', ...
'M/SPARSKIT/tokamak/utm1700a.mtx', ...
'M/SPARSKIT/tokamak/utm1700b.mtx', ...
'M/SPARSKIT/tokamak/utm300.mtx', ...
'M/SPARSKIT/tokamak/utm3060.mtx', ...
'M/SPARSKIT/tokamak/utm5940.mtx', ...
} ;
for i = 1:length(matrices)
filename = matrices {i} ;
fprintf ('\nfile: %s\n', filename) ;
tic
[A,rows,cols,entries,rep,field,symm] = mmread(filename) ;
t1 = toc ;
fprintf (' %d by %d, nz %d %s %s %s\n', ...
rows, cols, entries, rep, field, symm) ;
% try
tic
B = mread (filename) ;
t2 = toc ;
% catch
% B = [ ] ;
% end
fprintf ('speedup %6.2f nnz %d\n', t1/t2, nnz(A)) ;
% mread add values to a pattern-only matrix. Remove them
if (strcmp (field, 'pattern'))
B = spones (B) ;
end
if (isempty (B))
fprintf ('============================ could not read with CHOLMOD\n') ;
error ('!') ;
else
err = norm (A-B,1) ;
if (err ~= 0)
fprintf ('=================================== %8.1e\n', err) ;
error ('!') ;
end
end
end
|