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 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711
|
<center><a href="https://gitlab.com/slepc/slepc/-/blob/bbccb785e5ebe6829936989c71776839602f087b/include/slepcsvd.h">Actual source code: slepcsvd.h</a></center><br>
<html>
<head>
<title></title>
<meta name="generator" content="c2html 0.9.6">
<meta name="date" content="2025-11-07T08:27:33+00:00">
</head>
<body bgcolor="#FFFFFF">
<pre width=80>
<a name="line1"> 1: </a><font color="#B22222">/*</font>
<a name="line2"> 2: </a><font color="#B22222"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</font>
<a name="line3"> 3: </a><font color="#B22222"> SLEPc - Scalable Library for Eigenvalue Problem Computations</font>
<a name="line4"> 4: </a><font color="#B22222"> Copyright (c) 2002-, Universitat Politecnica de Valencia, Spain</font>
<a name="line6"> 6: </a><font color="#B22222"> This file is part of SLEPc.</font>
<a name="line7"> 7: </a><font color="#B22222"> SLEPc is distributed under a 2-clause BSD license (see LICENSE).</font>
<a name="line8"> 8: </a><font color="#B22222"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</font>
<a name="line9"> 9: </a><font color="#B22222">*/</font>
<a name="line10"> 10: </a><font color="#B22222">/*</font>
<a name="line11"> 11: </a><font color="#B22222"> User interface for SLEPc's singular value solvers</font>
<a name="line12"> 12: </a><font color="#B22222">*/</font>
<a name="line14"> 14: </a><font color="#A020F0">#pragma once</font>
<a name="line16"> 16: </a>#include <A href="../include/slepceps.h.html"><slepceps.h></A>
<a name="line17"> 17: </a>#include <A href="../include/slepcbv.h.html"><slepcbv.h></A>
<a name="line18"> 18: </a>#include <A href="../include/slepcds.h.html"><slepcds.h></A>
<a name="line20"> 20: </a><font color="#B22222">/* SUBMANSEC = <a href="../manualpages/SVD/SVD.html">SVD</a> */</font>
<a name="line22"> 22: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDInitializePackage.html">SVDInitializePackage</a>(void)</font></strong>;
<a name="line23"> 23: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDFinalizePackage.html">SVDFinalizePackage</a>(void)</font></strong>;
<a name="line25"> 25: </a><font color="#B22222">/*S</font>
<a name="line26"> 26: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD.html">SVD</a> - SLEPc object that manages all the singular value problem solvers.</font>
<a name="line28"> 28: </a><font color="#B22222"> Level: beginner</font>
<a name="line30"> 30: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDCreate.html">SVDCreate</a>()`</font>
<a name="line31"> 31: </a><font color="#B22222">S*/</font>
<a name="line32"> 32: </a><font color="#4169E1">typedef struct _p_SVD* <a href="../manualpages/SVD/SVD.html">SVD</a>;</font>
<a name="line34"> 34: </a><font color="#B22222">/*J</font>
<a name="line35"> 35: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDType.html">SVDType</a> - String with the name of a singular value solver.</font>
<a name="line37"> 37: </a><font color="#B22222"> Level: beginner</font>
<a name="line39"> 39: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSetType.html">SVDSetType</a>()`, `<a href="../manualpages/SVD/SVD.html">SVD</a>`</font>
<a name="line40"> 40: </a><font color="#B22222">J*/</font>
<a name="line41"> 41: </a><font color="#4169E1">typedef const char *<a href="../manualpages/SVD/SVDType.html">SVDType</a>;</font>
<a name="line42"> 42: </a><strong><font color="#228B22">#define <a href="../manualpages/SVD/SVDCROSS.html">SVDCROSS</a> </font><font color="#666666">"cross"</font><font color="#228B22"></font></strong>
<a name="line43"> 43: </a><strong><font color="#228B22">#define <a href="../manualpages/SVD/SVDCYCLIC.html">SVDCYCLIC</a> </font><font color="#666666">"cyclic"</font><font color="#228B22"></font></strong>
<a name="line44"> 44: </a><strong><font color="#228B22">#define <a href="../manualpages/SVD/SVDLANCZOS.html">SVDLANCZOS</a> </font><font color="#666666">"lanczos"</font><font color="#228B22"></font></strong>
<a name="line45"> 45: </a><strong><font color="#228B22">#define <a href="../manualpages/SVD/SVDTRLANCZOS.html">SVDTRLANCZOS</a> </font><font color="#666666">"trlanczos"</font><font color="#228B22"></font></strong>
<a name="line46"> 46: </a><strong><font color="#228B22">#define <a href="../manualpages/SVD/SVDRANDOMIZED.html">SVDRANDOMIZED</a> </font><font color="#666666">"randomized"</font><font color="#228B22"></font></strong>
<a name="line47"> 47: </a><strong><font color="#228B22">#define <a href="../manualpages/SVD/SVDLAPACK.html">SVDLAPACK</a> </font><font color="#666666">"lapack"</font><font color="#228B22"></font></strong>
<a name="line48"> 48: </a><strong><font color="#228B22">#define <a href="../manualpages/SVD/SVDSCALAPACK.html">SVDSCALAPACK</a> </font><font color="#666666">"scalapack"</font><font color="#228B22"></font></strong>
<a name="line49"> 49: </a><strong><font color="#228B22">#define <a href="../manualpages/SVD/SVDKSVD.html">SVDKSVD</a> </font><font color="#666666">"ksvd"</font><font color="#228B22"></font></strong>
<a name="line50"> 50: </a><strong><font color="#228B22">#define <a href="../manualpages/SVD/SVDELEMENTAL.html">SVDELEMENTAL</a> </font><font color="#666666">"elemental"</font><font color="#228B22"></font></strong>
<a name="line51"> 51: </a><strong><font color="#228B22">#define <a href="../manualpages/SVD/SVDPRIMME.html">SVDPRIMME</a> </font><font color="#666666">"primme"</font><font color="#228B22"></font></strong>
<a name="line53"> 53: </a><font color="#B22222">/* Logging support */</font>
<a name="line54"> 54: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscClassId/">PetscClassId</a> SVD_CLASSID;
<a name="line56"> 56: </a><font color="#B22222">/*E</font>
<a name="line57"> 57: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDProblemType.html">SVDProblemType</a> - Determines the type of the singular value problem.</font>
<a name="line59"> 59: </a><font color="#B22222"> Values:</font>
<a name="line60"> 60: </a><font color="#B22222">+ `<a href="../manualpages/SVD/SVD_STANDARD.html">SVD_STANDARD</a>` - standard <a href="../manualpages/SVD/SVD.html">SVD</a> (<a href="../manualpages/SVD/SVD.html">SVD</a>)</font>
<a name="line61"> 61: </a><font color="#B22222">. `<a href="../manualpages/SVD/SVD_GENERALIZED.html">SVD_GENERALIZED</a>` - generalized <a href="../manualpages/SVD/SVD.html">SVD</a> (GSVD)</font>
<a name="line62"> 62: </a><font color="#B22222">- `<a href="../manualpages/SVD/SVD_HYPERBOLIC.html">SVD_HYPERBOLIC</a>` - hyperbolic <a href="../manualpages/SVD/SVD.html">SVD</a> (HSVD)</font>
<a name="line64"> 64: </a><font color="#B22222"> Level: beginner</font>
<a name="line66"> 66: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSetProblemType.html">SVDSetProblemType</a>()`, `<a href="../manualpages/SVD/SVDGetProblemType.html">SVDGetProblemType</a>()`</font>
<a name="line67"> 67: </a><font color="#B22222">E*/</font>
<a name="line68"> 68: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/SVD/SVD_STANDARD.html">SVD_STANDARD</a> = 1,
<a name="line69"> 69: </a> <a href="../manualpages/SVD/SVD_GENERALIZED.html">SVD_GENERALIZED</a> = 2,
<a name="line70"> 70: </a> <a href="../manualpages/SVD/SVD_HYPERBOLIC.html">SVD_HYPERBOLIC</a> = 3
<a name="line71"> 71: </a> } <a href="../manualpages/SVD/SVDProblemType.html">SVDProblemType</a>;
<a name="line73"> 73: </a><font color="#B22222">/*MC</font>
<a name="line74"> 74: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_STANDARD.html">SVD_STANDARD</a> - A (standard) singular value problem (<a href="../manualpages/SVD/SVD.html">SVD</a>).</font>
<a name="line76"> 76: </a><font color="#B22222"> Note:</font>
<a name="line77"> 77: </a><font color="#B22222"> The problem is formulated as $A=U\Sigma V^*$, where $A$ is a possibly</font>
<a name="line78"> 78: </a><font color="#B22222"> non-square matrix.</font>
<a name="line80"> 80: </a><font color="#B22222"> Level: beginner</font>
<a name="line82"> 82: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDProblemType.html">SVDProblemType</a>`, `<a href="../manualpages/SVD/SVDSetProblemType.html">SVDSetProblemType</a>()`, `<a href="../manualpages/SVD/SVD_GENERALIZED.html">SVD_GENERALIZED</a>`, `<a href="../manualpages/SVD/SVD_HYPERBOLIC.html">SVD_HYPERBOLIC</a>`</font>
<a name="line83"> 83: </a><font color="#B22222">M*/</font>
<a name="line85"> 85: </a><font color="#B22222">/*MC</font>
<a name="line86"> 86: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_GENERALIZED.html">SVD_GENERALIZED</a> - A generalized singular value problem (GSVD).</font>
<a name="line88"> 88: </a><font color="#B22222"> Note:</font>
<a name="line89"> 89: </a><font color="#B22222"> The problem is formulated as $U^*AX=C$, $V^*BX=S$, where $A$ and $B$</font>
<a name="line90"> 90: </a><font color="#B22222"> have the same number of columns.</font>
<a name="line92"> 92: </a><font color="#B22222"> Level: beginner</font>
<a name="line94"> 94: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDProblemType.html">SVDProblemType</a>`, `<a href="../manualpages/SVD/SVDSetProblemType.html">SVDSetProblemType</a>()`, `<a href="../manualpages/SVD/SVD_STANDARD.html">SVD_STANDARD</a>`, `<a href="../manualpages/SVD/SVD_HYPERBOLIC.html">SVD_HYPERBOLIC</a>`</font>
<a name="line95"> 95: </a><font color="#B22222">M*/</font>
<a name="line97"> 97: </a><font color="#B22222">/*MC</font>
<a name="line98"> 98: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_HYPERBOLIC.html">SVD_HYPERBOLIC</a> - A hyperbolic singular value problem (HSVD).</font>
<a name="line100">100: </a><font color="#B22222"> Note:</font>
<a name="line101">101: </a><font color="#B22222"> The problem is formulated as $A=U\Sigma V^*$, with $U^*\Omega U=\tilde\Omega$,</font>
<a name="line102">102: </a><font color="#B22222"> where $A$ is a possibly non-square matrix, and $\Omega$, $\tilde\Omega$</font>
<a name="line103">103: </a><font color="#B22222"> are signature matrices.</font>
<a name="line105">105: </a><font color="#B22222"> Level: beginner</font>
<a name="line107">107: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDProblemType.html">SVDProblemType</a>`, `<a href="../manualpages/SVD/SVDSetProblemType.html">SVDSetProblemType</a>()`, `<a href="../manualpages/SVD/SVD_STANDARD.html">SVD_STANDARD</a>`, `<a href="../manualpages/SVD/SVD_GENERALIZED.html">SVD_GENERALIZED</a>`</font>
<a name="line108">108: </a><font color="#B22222">M*/</font>
<a name="line110">110: </a><font color="#B22222">/*E</font>
<a name="line111">111: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDWhich.html">SVDWhich</a> - Determines whether largest or smallest singular values</font>
<a name="line112">112: </a><font color="#B22222"> are to be computed.</font>
<a name="line114">114: </a><font color="#B22222"> Values:</font>
<a name="line115">115: </a><font color="#B22222">+ `<a href="../manualpages/SVD/SVD_LARGEST.html">SVD_LARGEST</a>` - largest singular values</font>
<a name="line116">116: </a><font color="#B22222">- `<a href="../manualpages/SVD/SVD_SMALLEST.html">SVD_SMALLEST</a>` - smallest singular values</font>
<a name="line118">118: </a><font color="#B22222"> Level: intermediate</font>
<a name="line120">120: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSetWhichSingularTriplets.html">SVDSetWhichSingularTriplets</a>()`, `<a href="../manualpages/SVD/SVDGetWhichSingularTriplets.html">SVDGetWhichSingularTriplets</a>()`</font>
<a name="line121">121: </a><font color="#B22222">E*/</font>
<a name="line122">122: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/SVD/SVD_LARGEST.html">SVD_LARGEST</a>,
<a name="line123">123: </a> <a href="../manualpages/SVD/SVD_SMALLEST.html">SVD_SMALLEST</a> } <a href="../manualpages/SVD/SVDWhich.html">SVDWhich</a>;
<a name="line125">125: </a><font color="#B22222">/*MC</font>
<a name="line126">126: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_LARGEST.html">SVD_LARGEST</a> - The solver is configured to compute largest singular values.</font>
<a name="line128">128: </a><font color="#B22222"> Note:</font>
<a name="line129">129: </a><font color="#B22222"> This is the default.</font>
<a name="line131">131: </a><font color="#B22222"> Level: intermediate</font>
<a name="line133">133: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDWhich.html">SVDWhich</a>`, `<a href="../manualpages/SVD/SVDSetWhichSingularTriplets.html">SVDSetWhichSingularTriplets</a>()`, `<a href="../manualpages/SVD/SVD_SMALLEST.html">SVD_SMALLEST</a>`</font>
<a name="line134">134: </a><font color="#B22222">M*/</font>
<a name="line136">136: </a><font color="#B22222">/*MC</font>
<a name="line137">137: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_SMALLEST.html">SVD_SMALLEST</a> - The solver is configured to compute smallest singular values.</font>
<a name="line139">139: </a><font color="#B22222"> Note:</font>
<a name="line140">140: </a><font color="#B22222"> Computing small singular values is generally more difficult than computing</font>
<a name="line141">141: </a><font color="#B22222"> largest ones, because in many cases these values are very small and</font>
<a name="line142">142: </a><font color="#B22222"> tightly clustered together. In the case of rank-deficient matrices, smallest</font>
<a name="line143">143: </a><font color="#B22222"> singular values are zero, and this may pose difficulties to the solvers.</font>
<a name="line145">145: </a><font color="#B22222"> Level: intermediate</font>
<a name="line147">147: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDWhich.html">SVDWhich</a>`, `<a href="../manualpages/SVD/SVDSetWhichSingularTriplets.html">SVDSetWhichSingularTriplets</a>()`, `<a href="../manualpages/SVD/SVD_LARGEST.html">SVD_LARGEST</a>`</font>
<a name="line148">148: </a><font color="#B22222">M*/</font>
<a name="line150">150: </a><font color="#B22222">/*E</font>
<a name="line151">151: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDErrorType.html">SVDErrorType</a> - The error type used to assess accuracy of computed solutions.</font>
<a name="line153">153: </a><font color="#B22222"> Values:</font>
<a name="line154">154: </a><font color="#B22222">+ `<a href="../manualpages/SVD/SVDErrorType.html">SVD_ERROR_ABSOLUTE</a>` - compute error bound as $\|r\|$</font>
<a name="line155">155: </a><font color="#B22222">. `<a href="../manualpages/SVD/SVDErrorType.html">SVD_ERROR_RELATIVE</a>` - compute error bound as $\|r\|/\sigma$</font>
<a name="line156">156: </a><font color="#B22222">- `<a href="../manualpages/SVD/SVDErrorType.html">SVD_ERROR_NORM</a>` - compute error bound as $\|r\|/\max\{\|A\|,\|B\|\}$</font>
<a name="line158">158: </a><font color="#B22222"> Note:</font>
<a name="line159">159: </a><font color="#B22222"> The residual norm $\|r\|$ is actually computed from two parts, such as</font>
<a name="line160">160: </a><font color="#B22222"> $\sqrt{\eta_1^2+\eta_2^2}$ with $\eta_1 = \|Av-\sigma u\|_2$ and</font>
<a name="line161">161: </a><font color="#B22222"> $\eta_2 = \|A^*u-\sigma v\|_2$, see more details at `<a href="../manualpages/SVD/SVDComputeError.html">SVDComputeError</a>()`.</font>
<a name="line162">162: </a><font color="#B22222"> There is also a normalization factor related to the norm of the vectors,</font>
<a name="line163">163: </a><font color="#B22222"> which also varies with the problem type.</font>
<a name="line165">165: </a><font color="#B22222"> Level: intermediate</font>
<a name="line167">167: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDComputeError.html">SVDComputeError</a>()`, `<a href="../manualpages/SVD/SVDProblemType.html">SVDProblemType</a>`</font>
<a name="line168">168: </a><font color="#B22222">E*/</font>
<a name="line169">169: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/SVD/SVDErrorType.html">SVD_ERROR_ABSOLUTE</a>,
<a name="line170">170: </a> <a href="../manualpages/SVD/SVDErrorType.html">SVD_ERROR_RELATIVE</a>,
<a name="line171">171: </a> <a href="../manualpages/SVD/SVDErrorType.html">SVD_ERROR_NORM</a> } <a href="../manualpages/SVD/SVDErrorType.html">SVDErrorType</a>;
<a name="line172">172: </a>SLEPC_EXTERN const char *SVDErrorTypes[];
<a name="line174">174: </a><font color="#B22222">/*E</font>
<a name="line175">175: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDConv.html">SVDConv</a> - The convergence criterion to be used by the solver.</font>
<a name="line177">177: </a><font color="#B22222"> Values:</font>
<a name="line178">178: </a><font color="#B22222">+ `<a href="../manualpages/SVD/SVDConv.html">SVD_CONV_ABS</a>` - absolute convergence criterion, $\|r\|$</font>
<a name="line179">179: </a><font color="#B22222">. `<a href="../manualpages/SVD/SVDConv.html">SVD_CONV_REL</a>` - convergence criterion relative to singular value, $\|r\|/\sigma$</font>
<a name="line180">180: </a><font color="#B22222">. `<a href="../manualpages/SVD/SVDConv.html">SVD_CONV_NORM</a>` - convergence criterion relative to matrix norms, $\|r\|/\max\{\|A\|,\|B\|\}$</font>
<a name="line181">181: </a><font color="#B22222">. `<a href="../manualpages/SVD/SVDConv.html">SVD_CONV_MAXIT</a>` - no convergence until maximum number of iterations has been reached</font>
<a name="line182">182: </a><font color="#B22222">- `<a href="../manualpages/SVD/SVDConv.html">SVD_CONV_USER</a>` - convergence dictated by user-provided function</font>
<a name="line184">184: </a><font color="#B22222"> Note:</font>
<a name="line185">185: </a><font color="#B22222"> The `<a href="../manualpages/SVD/SVDConv.html">SVD_CONV_MAXIT</a>` convergence criterion is used only in `<a href="../manualpages/SVD/SVDRANDOMIZED.html">SVDRANDOMIZED</a>`.</font>
<a name="line187">187: </a><font color="#B22222"> Level: intermediate</font>
<a name="line189">189: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSetConvergenceTest.html">SVDSetConvergenceTest</a>()`, `<a href="../manualpages/SVD/SVDSetConvergenceTestFunction.html">SVDSetConvergenceTestFunction</a>()`, `<a href="../manualpages/SVD/SVDSetTolerances.html">SVDSetTolerances</a>()`</font>
<a name="line190">190: </a><font color="#B22222">E*/</font>
<a name="line191">191: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/SVD/SVDConv.html">SVD_CONV_ABS</a>,
<a name="line192">192: </a> <a href="../manualpages/SVD/SVDConv.html">SVD_CONV_REL</a>,
<a name="line193">193: </a> <a href="../manualpages/SVD/SVDConv.html">SVD_CONV_NORM</a>,
<a name="line194">194: </a> <a href="../manualpages/SVD/SVDConv.html">SVD_CONV_MAXIT</a>,
<a name="line195">195: </a> <a href="../manualpages/SVD/SVDConv.html">SVD_CONV_USER</a> } <a href="../manualpages/SVD/SVDConv.html">SVDConv</a>;
<a name="line197">197: </a><font color="#B22222">/*E</font>
<a name="line198">198: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDStop.html">SVDStop</a> - The stopping test to decide the termination of the outer loop</font>
<a name="line199">199: </a><font color="#B22222"> of the singular value solver.</font>
<a name="line201">201: </a><font color="#B22222"> Values:</font>
<a name="line202">202: </a><font color="#B22222">+ `<a href="../manualpages/SVD/SVD_STOP_BASIC.html">SVD_STOP_BASIC</a>` - default stopping test</font>
<a name="line203">203: </a><font color="#B22222">. `<a href="../manualpages/SVD/SVD_STOP_USER.html">SVD_STOP_USER</a>` - user-provided stopping test</font>
<a name="line204">204: </a><font color="#B22222">- `<a href="../manualpages/SVD/SVD_STOP_THRESHOLD.html">SVD_STOP_THRESHOLD</a>` - threshold stopping test</font>
<a name="line206">206: </a><font color="#B22222"> Level: advanced</font>
<a name="line208">208: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSetStoppingTest.html">SVDSetStoppingTest</a>()`, `<a href="../manualpages/SVD/SVDSetStoppingTestFunction.html">SVDSetStoppingTestFunction</a>()`</font>
<a name="line209">209: </a><font color="#B22222">E*/</font>
<a name="line210">210: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/SVD/SVD_STOP_BASIC.html">SVD_STOP_BASIC</a>,
<a name="line211">211: </a> <a href="../manualpages/SVD/SVD_STOP_USER.html">SVD_STOP_USER</a>,
<a name="line212">212: </a> <a href="../manualpages/SVD/SVD_STOP_THRESHOLD.html">SVD_STOP_THRESHOLD</a> } <a href="../manualpages/SVD/SVDStop.html">SVDStop</a>;
<a name="line214">214: </a><font color="#B22222">/*MC</font>
<a name="line215">215: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_STOP_BASIC.html">SVD_STOP_BASIC</a> - The default stopping test.</font>
<a name="line217">217: </a><font color="#B22222"> Note:</font>
<a name="line218">218: </a><font color="#B22222"> By default, the termination of the outer loop is decided by calling</font>
<a name="line219">219: </a><font color="#B22222"> `<a href="../manualpages/SVD/SVDStoppingBasic.html">SVDStoppingBasic</a>()`, which will stop if all requested singular values are converged,</font>
<a name="line220">220: </a><font color="#B22222"> or if the maximum number of iterations has been reached.</font>
<a name="line222">222: </a><font color="#B22222"> Level: advanced</font>
<a name="line224">224: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDStop.html">SVDStop</a>`, `<a href="../manualpages/SVD/SVDSetStoppingTest.html">SVDSetStoppingTest</a>()`, `<a href="../manualpages/SVD/SVDStoppingBasic.html">SVDStoppingBasic</a>()`</font>
<a name="line225">225: </a><font color="#B22222">M*/</font>
<a name="line227">227: </a><font color="#B22222">/*MC</font>
<a name="line228">228: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_STOP_USER.html">SVD_STOP_USER</a> - The user-provided stopping test.</font>
<a name="line230">230: </a><font color="#B22222"> Note:</font>
<a name="line231">231: </a><font color="#B22222"> Customized stopping test using the user-provided function given with</font>
<a name="line232">232: </a><font color="#B22222"> `<a href="../manualpages/SVD/SVDSetStoppingTestFunction.html">SVDSetStoppingTestFunction</a>()`.</font>
<a name="line234">234: </a><font color="#B22222"> Level: advanced</font>
<a name="line236">236: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDStop.html">SVDStop</a>`, `<a href="../manualpages/SVD/SVDSetStoppingTest.html">SVDSetStoppingTest</a>()`, `<a href="../manualpages/SVD/SVDSetStoppingTestFunction.html">SVDSetStoppingTestFunction</a>()`</font>
<a name="line237">237: </a><font color="#B22222">M*/</font>
<a name="line239">239: </a><font color="#B22222">/*MC</font>
<a name="line240">240: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_STOP_THRESHOLD.html">SVD_STOP_THRESHOLD</a> - The threshold stopping test.</font>
<a name="line242">242: </a><font color="#B22222"> Note:</font>
<a name="line243">243: </a><font color="#B22222"> When a threshold has been provided with `<a href="../manualpages/SVD/SVDSetThreshold.html">SVDSetThreshold</a>()`, the termination</font>
<a name="line244">244: </a><font color="#B22222"> of the outer loop is decided by calling `<a href="../manualpages/SVD/SVDStoppingThreshold.html">SVDStoppingThreshold</a>()`, which will</font>
<a name="line245">245: </a><font color="#B22222"> stop when one of the computed singular values is not above/below the threshold.</font>
<a name="line246">246: </a><font color="#B22222"> If a number of wanted singular values has been specified via `<a href="../manualpages/SVD/SVDSetDimensions.html">SVDSetDimensions</a>()`</font>
<a name="line247">247: </a><font color="#B22222"> then it is also taken into account, and the solver will stop when one of the</font>
<a name="line248">248: </a><font color="#B22222"> two conditions (threshold or number of converged values) is met.</font>
<a name="line250">250: </a><font color="#B22222"> Level: advanced</font>
<a name="line252">252: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDStop.html">SVDStop</a>`, `<a href="../manualpages/SVD/SVDSetStoppingTest.html">SVDSetStoppingTest</a>()`, `<a href="../manualpages/SVD/SVDStoppingThreshold.html">SVDStoppingThreshold</a>()`, `<a href="../manualpages/SVD/SVDSetThreshold.html">SVDSetThreshold</a>()`, `<a href="../manualpages/SVD/SVDSetDimensions.html">SVDSetDimensions</a>()`</font>
<a name="line253">253: </a><font color="#B22222">M*/</font>
<a name="line255">255: </a><font color="#B22222">/*E</font>
<a name="line256">256: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDConvergedReason.html">SVDConvergedReason</a> - Reason a singular value solver was determined to have</font>
<a name="line257">257: </a><font color="#B22222"> converged or diverged.</font>
<a name="line259">259: </a><font color="#B22222"> Values:</font>
<a name="line260">260: </a><font color="#B22222">+ `<a href="../manualpages/SVD/SVD_CONVERGED_TOL.html">SVD_CONVERGED_TOL</a>` - converged up to tolerance</font>
<a name="line261">261: </a><font color="#B22222">. `<a href="../manualpages/SVD/SVD_CONVERGED_USER.html">SVD_CONVERGED_USER</a>` - converged due to a user-defined condition</font>
<a name="line262">262: </a><font color="#B22222">. `<a href="../manualpages/SVD/SVD_CONVERGED_MAXIT.html">SVD_CONVERGED_MAXIT</a>` - reached maximum number of iterations with `<a href="../manualpages/SVD/SVDConv.html">SVD_CONV_MAXIT</a>` criterion</font>
<a name="line263">263: </a><font color="#B22222">. `<a href="../manualpages/SVD/SVD_DIVERGED_ITS.html">SVD_DIVERGED_ITS</a>` - exceeded the maximum number of allowed iterations</font>
<a name="line264">264: </a><font color="#B22222">. `<a href="../manualpages/SVD/SVD_DIVERGED_BREAKDOWN.html">SVD_DIVERGED_BREAKDOWN</a>` - generic breakdown in method</font>
<a name="line265">265: </a><font color="#B22222">. `<a href="../manualpages/SVD/SVD_DIVERGED_SYMMETRY_LOST.html">SVD_DIVERGED_SYMMETRY_LOST</a>` - underlying indefinite eigensolver was not able to keep symmetry</font>
<a name="line266">266: </a><font color="#B22222">- `<a href="../manualpages/SVD/SVD_CONVERGED_ITERATING.html">SVD_CONVERGED_ITERATING</a>` - the solver is still running</font>
<a name="line268">268: </a><font color="#B22222"> Level: intermediate</font>
<a name="line270">270: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSolve.html">SVDSolve</a>()`, `<a href="../manualpages/SVD/SVDGetConvergedReason.html">SVDGetConvergedReason</a>()`, `<a href="../manualpages/SVD/SVDSetTolerances.html">SVDSetTolerances</a>()`</font>
<a name="line271">271: </a><font color="#B22222">E*/</font>
<a name="line272">272: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {<font color="#B22222">/* converged */</font>
<a name="line273">273: </a> <a href="../manualpages/SVD/SVD_CONVERGED_TOL.html">SVD_CONVERGED_TOL</a> = 1,
<a name="line274">274: </a> <a href="../manualpages/SVD/SVD_CONVERGED_USER.html">SVD_CONVERGED_USER</a> = 2,
<a name="line275">275: </a> <a href="../manualpages/SVD/SVD_CONVERGED_MAXIT.html">SVD_CONVERGED_MAXIT</a> = 3,
<a name="line276">276: </a> <font color="#B22222">/* diverged */</font>
<a name="line277">277: </a> <a href="../manualpages/SVD/SVD_DIVERGED_ITS.html">SVD_DIVERGED_ITS</a> = -1,
<a name="line278">278: </a> <a href="../manualpages/SVD/SVD_DIVERGED_BREAKDOWN.html">SVD_DIVERGED_BREAKDOWN</a> = -2,
<a name="line279">279: </a> <a href="../manualpages/SVD/SVD_DIVERGED_SYMMETRY_LOST.html">SVD_DIVERGED_SYMMETRY_LOST</a> = -3,
<a name="line280">280: </a> <a href="../manualpages/SVD/SVD_CONVERGED_ITERATING.html">SVD_CONVERGED_ITERATING</a> = 0 } <a href="../manualpages/SVD/SVDConvergedReason.html">SVDConvergedReason</a>;
<a name="line281">281: </a>SLEPC_EXTERN const char *const*SVDConvergedReasons;
<a name="line283">283: </a><font color="#B22222">/*MC</font>
<a name="line284">284: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_CONVERGED_TOL.html">SVD_CONVERGED_TOL</a> - The computed error estimates, based on residual norms,</font>
<a name="line285">285: </a><font color="#B22222"> for all requested singular values are below the tolerance.</font>
<a name="line287">287: </a><font color="#B22222"> Level: intermediate</font>
<a name="line289">289: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSolve.html">SVDSolve</a>()`, `<a href="../manualpages/SVD/SVDGetConvergedReason.html">SVDGetConvergedReason</a>()`, `<a href="../manualpages/SVD/SVDConvergedReason.html">SVDConvergedReason</a>`</font>
<a name="line290">290: </a><font color="#B22222">M*/</font>
<a name="line292">292: </a><font color="#B22222">/*MC</font>
<a name="line293">293: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_CONVERGED_USER.html">SVD_CONVERGED_USER</a> - The solver was declared converged due to a user-defined condition.</font>
<a name="line295">295: </a><font color="#B22222"> Note:</font>
<a name="line296">296: </a><font color="#B22222"> This happens only when a user-defined stopping test has been set with</font>
<a name="line297">297: </a><font color="#B22222"> `<a href="../manualpages/SVD/SVDSetStoppingTestFunction.html">SVDSetStoppingTestFunction</a>()`.</font>
<a name="line299">299: </a><font color="#B22222"> Level: intermediate</font>
<a name="line301">301: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSolve.html">SVDSolve</a>()`, `<a href="../manualpages/SVD/SVDGetConvergedReason.html">SVDGetConvergedReason</a>()`, `<a href="../manualpages/SVD/SVDConvergedReason.html">SVDConvergedReason</a>`, `<a href="../manualpages/SVD/SVDSetStoppingTestFunction.html">SVDSetStoppingTestFunction</a>()`</font>
<a name="line302">302: </a><font color="#B22222">M*/</font>
<a name="line304">304: </a><font color="#B22222">/*MC</font>
<a name="line305">305: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_CONVERGED_MAXIT.html">SVD_CONVERGED_MAXIT</a> - The solver has reached the maximum number of iterations</font>
<a name="line306">306: </a><font color="#B22222"> with the `<a href="../manualpages/SVD/SVDConv.html">SVD_CONV_MAXIT</a>` criterion.</font>
<a name="line308">308: </a><font color="#B22222"> Note:</font>
<a name="line309">309: </a><font color="#B22222"> This is considered a successful exit, because the user wanted to do a fixed</font>
<a name="line310">310: </a><font color="#B22222"> number of iterations. But be aware that the computed solution may be inaccurate,</font>
<a name="line311">311: </a><font color="#B22222"> in particular, individual singular vectors will not have good residual. This</font>
<a name="line312">312: </a><font color="#B22222"> is available in `<a href="../manualpages/SVD/SVDRANDOMIZED.html">SVDRANDOMIZED</a>` only.</font>
<a name="line314">314: </a><font color="#B22222"> Level: intermediate</font>
<a name="line316">316: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSolve.html">SVDSolve</a>()`, `<a href="../manualpages/SVD/SVDGetConvergedReason.html">SVDGetConvergedReason</a>()`, `<a href="../manualpages/SVD/SVDConvergedReason.html">SVDConvergedReason</a>`, `<a href="../manualpages/SVD/SVDConv.html">SVD_CONV_MAXIT</a>`, `<a href="../manualpages/SVD/SVDRANDOMIZED.html">SVDRANDOMIZED</a>`</font>
<a name="line317">317: </a><font color="#B22222">M*/</font>
<a name="line319">319: </a><font color="#B22222">/*MC</font>
<a name="line320">320: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_DIVERGED_ITS.html">SVD_DIVERGED_ITS</a> - Exceeded the maximum number of allowed iterations</font>
<a name="line321">321: </a><font color="#B22222"> before the convergence criterion was satisfied.</font>
<a name="line323">323: </a><font color="#B22222"> Level: intermediate</font>
<a name="line325">325: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSolve.html">SVDSolve</a>()`, `<a href="../manualpages/SVD/SVDGetConvergedReason.html">SVDGetConvergedReason</a>()`, `<a href="../manualpages/SVD/SVDConvergedReason.html">SVDConvergedReason</a>`</font>
<a name="line326">326: </a><font color="#B22222">M*/</font>
<a name="line328">328: </a><font color="#B22222">/*MC</font>
<a name="line329">329: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_DIVERGED_BREAKDOWN.html">SVD_DIVERGED_BREAKDOWN</a> - A breakdown in the solver was detected so the</font>
<a name="line330">330: </a><font color="#B22222"> method could not continue.</font>
<a name="line332">332: </a><font color="#B22222"> Level: intermediate</font>
<a name="line334">334: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSolve.html">SVDSolve</a>()`, `<a href="../manualpages/SVD/SVDGetConvergedReason.html">SVDGetConvergedReason</a>()`, `<a href="../manualpages/SVD/SVDConvergedReason.html">SVDConvergedReason</a>`</font>
<a name="line335">335: </a><font color="#B22222">M*/</font>
<a name="line337">337: </a><font color="#B22222">/*MC</font>
<a name="line338">338: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_DIVERGED_SYMMETRY_LOST.html">SVD_DIVERGED_SYMMETRY_LOST</a> - The selected solver uses a pseudo-Lanczos recurrence,</font>
<a name="line339">339: </a><font color="#B22222"> which is numerically unstable, and a symmetry test revealed that instability</font>
<a name="line340">340: </a><font color="#B22222"> had appeared so the solver could not continue.</font>
<a name="line342">342: </a><font color="#B22222"> Level: intermediate</font>
<a name="line344">344: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSolve.html">SVDSolve</a>()`, `<a href="../manualpages/SVD/SVDGetConvergedReason.html">SVDGetConvergedReason</a>()`, `<a href="../manualpages/SVD/SVDConvergedReason.html">SVDConvergedReason</a>`</font>
<a name="line345">345: </a><font color="#B22222">M*/</font>
<a name="line347">347: </a><font color="#B22222">/*MC</font>
<a name="line348">348: </a><font color="#B22222"> <a href="../manualpages/SVD/SVD_CONVERGED_ITERATING.html">SVD_CONVERGED_ITERATING</a> - This value is returned if `<a href="../manualpages/SVD/SVDGetConvergedReason.html">SVDGetConvergedReason</a>()` is called</font>
<a name="line349">349: </a><font color="#B22222"> while `<a href="../manualpages/SVD/SVDSolve.html">SVDSolve</a>()` is still running.</font>
<a name="line351">351: </a><font color="#B22222"> Level: intermediate</font>
<a name="line353">353: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSolve.html">SVDSolve</a>()`, `<a href="../manualpages/SVD/SVDGetConvergedReason.html">SVDGetConvergedReason</a>()`, `<a href="../manualpages/SVD/SVDConvergedReason.html">SVDConvergedReason</a>`</font>
<a name="line354">354: </a><font color="#B22222">M*/</font>
<a name="line356">356: </a><font color="#B22222">/*S</font>
<a name="line357">357: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDStoppingCtx.html">SVDStoppingCtx</a> - Data structure (C struct) to hold additional information to</font>
<a name="line358">358: </a><font color="#B22222"> be used in some stopping test functions.</font>
<a name="line360">360: </a><font color="#B22222"> Level: advanced</font>
<a name="line362">362: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSetStoppingTestFunction.html">SVDSetStoppingTestFunction</a>()`</font>
<a name="line363">363: </a><font color="#B22222">S*/</font>
<a name="line364">364: </a><font color="#4169E1"><a name="_n_SVDStoppingCtx"></a>struct _n_SVDStoppingCtx </font>{
<a name="line365">365: </a> <a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> firstsv; <font color="#B22222">/* the value of the first converged singular value */</font>
<a name="line366">366: </a> <a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> lastsv; <font color="#B22222">/* the value of the last converged singular value */</font>
<a name="line367">367: </a> <a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> thres; <font color="#B22222">/* threshold set with <a href="../manualpages/SVD/SVDSetThreshold.html">SVDSetThreshold</a>() */</font>
<a name="line368">368: </a> <a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a> threlative; <font color="#B22222">/* threshold is relative */</font>
<a name="line369">369: </a> <a href="../manualpages/SVD/SVDWhich.html">SVDWhich</a> which; <font color="#B22222">/* which singular values are being computed */</font>
<a name="line370">370: </a>};
<a name="line371">371: </a><font color="#4169E1">typedef struct _n_SVDStoppingCtx* <a href="../manualpages/SVD/SVDStoppingCtx.html">SVDStoppingCtx</a>;</font>
<a name="line373">373: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDCreate.html">SVDCreate</a>(<a href="https://petsc.org/release/manualpages/Sys/MPI_Comm/">MPI_Comm</a>,<a href="../manualpages/SVD/SVD.html">SVD</a>*)</font></strong>;
<a name="line374">374: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetBV.html">SVDSetBV</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/BV/BV.html">BV</a>,<a href="../manualpages/BV/BV.html">BV</a>)</font></strong>;
<a name="line375">375: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetBV.html">SVDGetBV</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/BV/BV.html">BV</a>*,<a href="../manualpages/BV/BV.html">BV</a>*)</font></strong>;
<a name="line376">376: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetDS.html">SVDSetDS</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/DS/DS.html">DS</a>)</font></strong>;
<a name="line377">377: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetDS.html">SVDGetDS</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/DS/DS.html">DS</a>*)</font></strong>;
<a name="line378">378: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetType.html">SVDSetType</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDType.html">SVDType</a>)</font></strong>;
<a name="line379">379: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetType.html">SVDGetType</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDType.html">SVDType</a>*)</font></strong>;
<a name="line380">380: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetProblemType.html">SVDSetProblemType</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDProblemType.html">SVDProblemType</a>)</font></strong>;
<a name="line381">381: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetProblemType.html">SVDGetProblemType</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDProblemType.html">SVDProblemType</a>*)</font></strong>;
<a name="line382">382: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDIsGeneralized.html">SVDIsGeneralized</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line383">383: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDIsHyperbolic.html">SVDIsHyperbolic</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line384">384: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetOperators.html">SVDSetOperators</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>)</font></strong>;
<a name="line385">385: </a>PETSC_DEPRECATED_FUNCTION(3, 15, 0, <font color="#666666">"<a href="../manualpages/SVD/SVDSetOperators.html">SVDSetOperators</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> SVDSetOperator(<a href="../manualpages/SVD/SVD.html">SVD</a> svd,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a> A) {<font color="#4169E1">return</font> <a href="../manualpages/SVD/SVDSetOperators.html">SVDSetOperators</a>(svd,A,<a href="https://petsc.org/release/manualpages/Sys/PETSC_NULLPTR/">PETSC_NULLPTR</a>);}
<a name="line386">386: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetOperators.html">SVDGetOperators</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>*,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>*)</font></strong>;
<a name="line387">387: </a>PETSC_DEPRECATED_FUNCTION(3, 15, 0, <font color="#666666">"<a href="../manualpages/SVD/SVDGetOperators.html">SVDGetOperators</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> SVDGetOperator(<a href="../manualpages/SVD/SVD.html">SVD</a> svd,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a> *A) {<font color="#4169E1">return</font> <a href="../manualpages/SVD/SVDGetOperators.html">SVDGetOperators</a>(svd,A,<a href="https://petsc.org/release/manualpages/Sys/PETSC_NULLPTR/">PETSC_NULLPTR</a>);}
<a name="line388">388: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetSignature.html">SVDSetSignature</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>)</font></strong>;
<a name="line389">389: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetSignature.html">SVDGetSignature</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>)</font></strong>;
<a name="line390">390: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetInitialSpaces.html">SVDSetInitialSpaces</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>[],<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>[])</font></strong>;
<a name="line391">391: </a>PETSC_DEPRECATED_FUNCTION(3, 1, 0, <font color="#666666">"<a href="../manualpages/SVD/SVDSetInitialSpaces.html">SVDSetInitialSpaces</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> SVDSetInitialSpace(<a href="../manualpages/SVD/SVD.html">SVD</a> svd,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> nr,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a> *isr) {<font color="#4169E1">return</font> <a href="../manualpages/SVD/SVDSetInitialSpaces.html">SVDSetInitialSpaces</a>(svd,nr,isr,0,<a href="https://petsc.org/release/manualpages/Sys/PETSC_NULLPTR/">PETSC_NULLPTR</a>);}
<a name="line392">392: </a>PETSC_DEPRECATED_FUNCTION(3, 1, 0, <font color="#666666">"<a href="../manualpages/SVD/SVDSetInitialSpaces.html">SVDSetInitialSpaces</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> SVDSetInitialSpaceLeft(<a href="../manualpages/SVD/SVD.html">SVD</a> svd,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> nl,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a> *isl) {<font color="#4169E1">return</font> <a href="../manualpages/SVD/SVDSetInitialSpaces.html">SVDSetInitialSpaces</a>(svd,0,<a href="https://petsc.org/release/manualpages/Sys/PETSC_NULLPTR/">PETSC_NULLPTR</a>,nl,isl);}
<a name="line393">393: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetImplicitTranspose.html">SVDSetImplicitTranspose</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line394">394: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetImplicitTranspose.html">SVDGetImplicitTranspose</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line395">395: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetDimensions.html">SVDSetDimensions</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line396">396: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetDimensions.html">SVDGetDimensions</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line397">397: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetTolerances.html">SVDSetTolerances</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line398">398: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetTolerances.html">SVDGetTolerances</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line399">399: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetWhichSingularTriplets.html">SVDSetWhichSingularTriplets</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDWhich.html">SVDWhich</a>)</font></strong>;
<a name="line400">400: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetWhichSingularTriplets.html">SVDGetWhichSingularTriplets</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDWhich.html">SVDWhich</a>*)</font></strong>;
<a name="line401">401: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetThreshold.html">SVDSetThreshold</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line402">402: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetThreshold.html">SVDGetThreshold</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line403">403: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetFromOptions.html">SVDSetFromOptions</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>)</font></strong>;
<a name="line404">404: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetOptionsPrefix.html">SVDSetOptionsPrefix</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,const char[])</font></strong>;
<a name="line405">405: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDAppendOptionsPrefix.html">SVDAppendOptionsPrefix</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,const char[])</font></strong>;
<a name="line406">406: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetOptionsPrefix.html">SVDGetOptionsPrefix</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,const char*[])</font></strong>;
<a name="line407">407: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetDSType.html">SVDSetDSType</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>)</font></strong>;
<a name="line408">408: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetUp.html">SVDSetUp</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>)</font></strong>;
<a name="line409">409: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSolve.html">SVDSolve</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>)</font></strong>;
<a name="line410">410: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetIterationNumber.html">SVDGetIterationNumber</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line411">411: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetConvergedReason.html">SVDGetConvergedReason</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDConvergedReason.html">SVDConvergedReason</a>*)</font></strong>;
<a name="line412">412: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetConverged.html">SVDGetConverged</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line413">413: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetSingularTriplet.html">SVDGetSingularTriplet</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>)</font></strong>;
<a name="line414">414: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDComputeError.html">SVDComputeError</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="../manualpages/SVD/SVDErrorType.html">SVDErrorType</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line415">415: </a>PETSC_DEPRECATED_FUNCTION(3, 6, 0, <font color="#666666">"<a href="../manualpages/SVD/SVDComputeError.html">SVDComputeError</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> SVDComputeRelativeError(<a href="../manualpages/SVD/SVD.html">SVD</a> svd,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> i,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> *r) {<font color="#4169E1">return</font> <a href="../manualpages/SVD/SVDComputeError.html">SVDComputeError</a>(svd,i,<a href="../manualpages/SVD/SVDErrorType.html">SVD_ERROR_RELATIVE</a>,r);}
<a name="line416">416: </a>PETSC_DEPRECATED_FUNCTION(3, 6, 0, <font color="#666666">"<a href="../manualpages/SVD/SVDComputeError.html">SVDComputeError</a>() with <a href="../manualpages/SVD/SVDErrorType.html">SVD_ERROR_ABSOLUTE</a>"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> SVDComputeResidualNorms(<a href="../manualpages/SVD/SVD.html">SVD</a> svd,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> i,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> *r1,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> *r2) {<font color="#4169E1">return</font> <a href="../manualpages/SVD/SVDComputeError.html">SVDComputeError</a>(svd,i,<a href="../manualpages/SVD/SVDErrorType.html">SVD_ERROR_ABSOLUTE</a>,r1);}
<a name="line417">417: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDView.html">SVDView</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line418">418: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDViewFromOptions.html">SVDViewFromOptions</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscObject/">PetscObject</a>,const char[])</font></strong>;
<a name="line419">419: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDErrorView.html">SVDErrorView</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDErrorType.html">SVDErrorType</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line420">420: </a>PETSC_DEPRECATED_FUNCTION(3, 6, 0, <font color="#666666">"<a href="../manualpages/SVD/SVDErrorView.html">SVDErrorView</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> SVDPrintSolution(<a href="../manualpages/SVD/SVD.html">SVD</a> svd,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a> v) {<font color="#4169E1">return</font> <a href="../manualpages/SVD/SVDErrorView.html">SVDErrorView</a>(svd,<a href="../manualpages/SVD/SVDErrorType.html">SVD_ERROR_RELATIVE</a>,v);}
<a name="line421">421: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDErrorViewFromOptions.html">SVDErrorViewFromOptions</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>)</font></strong>;
<a name="line422">422: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDConvergedReasonView.html">SVDConvergedReasonView</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line423">423: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDConvergedReasonViewFromOptions.html">SVDConvergedReasonViewFromOptions</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>)</font></strong>;
<a name="line424">424: </a>PETSC_DEPRECATED_FUNCTION(3, 14, 0, <font color="#666666">"<a href="../manualpages/SVD/SVDConvergedReasonView.html">SVDConvergedReasonView</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> SVDReasonView(<a href="../manualpages/SVD/SVD.html">SVD</a> svd,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a> v) {<font color="#4169E1">return</font> <a href="../manualpages/SVD/SVDConvergedReasonView.html">SVDConvergedReasonView</a>(svd,v);}
<a name="line425">425: </a>PETSC_DEPRECATED_FUNCTION(3, 14, 0, <font color="#666666">"<a href="../manualpages/SVD/SVDConvergedReasonViewFromOptions.html">SVDConvergedReasonViewFromOptions</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> SVDReasonViewFromOptions(<a href="../manualpages/SVD/SVD.html">SVD</a> svd) {<font color="#4169E1">return</font> <a href="../manualpages/SVD/SVDConvergedReasonViewFromOptions.html">SVDConvergedReasonViewFromOptions</a>(svd);}
<a name="line426">426: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDValuesView.html">SVDValuesView</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line427">427: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDValuesViewFromOptions.html">SVDValuesViewFromOptions</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>)</font></strong>;
<a name="line428">428: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDVectorsView.html">SVDVectorsView</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line429">429: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDVectorsViewFromOptions.html">SVDVectorsViewFromOptions</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>)</font></strong>;
<a name="line430">430: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDDestroy.html">SVDDestroy</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>*)</font></strong>;
<a name="line431">431: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDReset.html">SVDReset</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>)</font></strong>;
<a name="line432">432: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetWorkVecs.html">SVDSetWorkVecs</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line433">433: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetTrackAll.html">SVDSetTrackAll</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line434">434: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetTrackAll.html">SVDGetTrackAll</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line436">436: </a><font color="#B22222">/*S</font>
<a name="line437">437: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDMonitorFn.html">SVDMonitorFn</a> - A function prototype for functions provided to `<a href="../manualpages/SVD/SVDMonitorSet.html">SVDMonitorSet</a>()`.</font>
<a name="line439">439: </a><font color="#B22222"> Calling Sequence:</font>
<a name="line440">440: </a><font color="#B22222">+ svd - the singular value solver context</font>
<a name="line441">441: </a><font color="#B22222">. its - iteration number</font>
<a name="line442">442: </a><font color="#B22222">. nconv - number of converged singular triplets</font>
<a name="line443">443: </a><font color="#B22222">. sigma - singular values</font>
<a name="line444">444: </a><font color="#B22222">. errest - relative error estimates for each singular triplet</font>
<a name="line445">445: </a><font color="#B22222">. nest - number of error estimates</font>
<a name="line446">446: </a><font color="#B22222">- ctx - optional monitoring context, as provided with `<a href="../manualpages/SVD/SVDMonitorSet.html">SVDMonitorSet</a>()`</font>
<a name="line448">448: </a><font color="#B22222"> Level: intermediate</font>
<a name="line450">450: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDMonitorSet.html">SVDMonitorSet</a>()`</font>
<a name="line451">451: </a><font color="#B22222">S*/</font>
<a name="line452">452: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDMonitorFn.html">SVDMonitorFn</a>(<a href="../manualpages/SVD/SVD.html">SVD</a> svd,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> its,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> nconv,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> sigma[],<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> errest[],<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> nest,void *ctx)</font></strong>;
<a name="line454">454: </a><font color="#B22222">/*S</font>
<a name="line455">455: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDMonitorRegisterFn.html">SVDMonitorRegisterFn</a> - A function prototype for functions provided to `<a href="../manualpages/SVD/SVDMonitorRegister.html">SVDMonitorRegister</a>()`.</font>
<a name="line457">457: </a><font color="#B22222"> Calling Sequence:</font>
<a name="line458">458: </a><font color="#B22222">+ svd - the singular value solver context</font>
<a name="line459">459: </a><font color="#B22222">. its - iteration number</font>
<a name="line460">460: </a><font color="#B22222">. nconv - number of converged singular triplets</font>
<a name="line461">461: </a><font color="#B22222">. sigma - singular values</font>
<a name="line462">462: </a><font color="#B22222">. errest - relative error estimates for each singular triplet</font>
<a name="line463">463: </a><font color="#B22222">. nest - number of error estimates</font>
<a name="line464">464: </a><font color="#B22222">- ctx - `PetscViewerAndFormat` object</font>
<a name="line466">466: </a><font color="#B22222"> Level: advanced</font>
<a name="line468">468: </a><font color="#B22222"> Note:</font>
<a name="line469">469: </a><font color="#B22222"> This is an `<a href="../manualpages/SVD/SVDMonitorFn.html">SVDMonitorFn</a>` specialized for a context of `PetscViewerAndFormat`.</font>
<a name="line471">471: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDMonitorSet.html">SVDMonitorSet</a>()`, `<a href="../manualpages/SVD/SVDMonitorRegister.html">SVDMonitorRegister</a>()`, `<a href="../manualpages/SVD/SVDMonitorFn.html">SVDMonitorFn</a>`, `<a href="../manualpages/SVD/SVDMonitorRegisterCreateFn.html">SVDMonitorRegisterCreateFn</a>`, `<a href="../manualpages/SVD/SVDMonitorRegisterDestroyFn.html">SVDMonitorRegisterDestroyFn</a>`</font>
<a name="line472">472: </a><font color="#B22222">S*/</font>
<a name="line473">473: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDMonitorRegisterFn.html">SVDMonitorRegisterFn</a>(<a href="../manualpages/SVD/SVD.html">SVD</a> svd,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> its,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> nconv,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> sigma[],<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> errest[],<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> nest,PetscViewerAndFormat *ctx)</font></strong>;
<a name="line475">475: </a><font color="#B22222">/*S</font>
<a name="line476">476: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDMonitorRegisterCreateFn.html">SVDMonitorRegisterCreateFn</a> - A function prototype for functions that do</font>
<a name="line477">477: </a><font color="#B22222"> the creation when provided to `<a href="../manualpages/SVD/SVDMonitorRegister.html">SVDMonitorRegister</a>()`.</font>
<a name="line479">479: </a><font color="#B22222"> Calling Sequence:</font>
<a name="line480">480: </a><font color="#B22222">+ viewer - the viewer to be used with the `<a href="../manualpages/SVD/SVDMonitorRegisterFn.html">SVDMonitorRegisterFn</a>`</font>
<a name="line481">481: </a><font color="#B22222">. format - the format of the viewer</font>
<a name="line482">482: </a><font color="#B22222">. ctx - a context for the monitor</font>
<a name="line483">483: </a><font color="#B22222">- result - a `PetscViewerAndFormat` object</font>
<a name="line485">485: </a><font color="#B22222"> Level: advanced</font>
<a name="line487">487: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDMonitorRegisterFn.html">SVDMonitorRegisterFn</a>`, `<a href="../manualpages/SVD/SVDMonitorSet.html">SVDMonitorSet</a>()`, `<a href="../manualpages/SVD/SVDMonitorRegister.html">SVDMonitorRegister</a>()`, `<a href="../manualpages/SVD/SVDMonitorFn.html">SVDMonitorFn</a>`, `<a href="../manualpages/SVD/SVDMonitorRegisterDestroyFn.html">SVDMonitorRegisterDestroyFn</a>`</font>
<a name="line488">488: </a><font color="#B22222">S*/</font>
<a name="line489">489: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDMonitorRegisterCreateFn.html">SVDMonitorRegisterCreateFn</a>(<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a> viewer,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewerFormat/">PetscViewerFormat</a> format,void *ctx,PetscViewerAndFormat **result)</font></strong>;
<a name="line491">491: </a><font color="#B22222">/*S</font>
<a name="line492">492: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDMonitorRegisterDestroyFn.html">SVDMonitorRegisterDestroyFn</a> - A function prototype for functions that do the after</font>
<a name="line493">493: </a><font color="#B22222"> use destruction when provided to `<a href="../manualpages/SVD/SVDMonitorRegister.html">SVDMonitorRegister</a>()`.</font>
<a name="line495">495: </a><font color="#B22222"> Calling Sequence:</font>
<a name="line496">496: </a><font color="#B22222">. vf - a `PetscViewerAndFormat` object to be destroyed, including any context</font>
<a name="line498">498: </a><font color="#B22222"> Level: advanced</font>
<a name="line500">500: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDMonitorRegisterFn.html">SVDMonitorRegisterFn</a>`, `<a href="../manualpages/SVD/SVDMonitorSet.html">SVDMonitorSet</a>()`, `<a href="../manualpages/SVD/SVDMonitorRegister.html">SVDMonitorRegister</a>()`, `<a href="../manualpages/SVD/SVDMonitorFn.html">SVDMonitorFn</a>`, `<a href="../manualpages/SVD/SVDMonitorRegisterCreateFn.html">SVDMonitorRegisterCreateFn</a>`</font>
<a name="line501">501: </a><font color="#B22222">S*/</font>
<a name="line502">502: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDMonitorRegisterDestroyFn.html">SVDMonitorRegisterDestroyFn</a>(PetscViewerAndFormat **result)</font></strong>;
<a name="line504">504: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> SVDMonitor(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>[],<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>[],<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line505">505: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDMonitorSet.html">SVDMonitorSet</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDMonitorFn.html">SVDMonitorFn</a>,void*,<a href="https://petsc.org/release/manualpages/Sys/PetscCtxDestroyFn/">PetscCtxDestroyFn</a>*)</font></strong>;
<a name="line506">506: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDMonitorCancel.html">SVDMonitorCancel</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>)</font></strong>;
<a name="line507">507: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetMonitorContext.html">SVDGetMonitorContext</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,void*)</font></strong>;
<a name="line509">509: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDMonitorSetFromOptions.html">SVDMonitorSetFromOptions</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,const char[],const char[],void*,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line510">510: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDMonitorRegisterFn.html">SVDMonitorRegisterFn</a> <a href="../manualpages/SVD/SVDMonitorFirst.html">SVDMonitorFirst</a>;
<a name="line511">511: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDMonitorRegisterFn.html">SVDMonitorRegisterFn</a> <a href="../manualpages/SVD/SVDMonitorFirstDrawLG.html">SVDMonitorFirstDrawLG</a>;
<a name="line512">512: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDMonitorRegisterCreateFn.html">SVDMonitorRegisterCreateFn</a> <a href="../manualpages/SVD/SVDMonitorFirstDrawLGCreate.html">SVDMonitorFirstDrawLGCreate</a>;
<a name="line513">513: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDMonitorRegisterFn.html">SVDMonitorRegisterFn</a> <a href="../manualpages/SVD/SVDMonitorAll.html">SVDMonitorAll</a>;
<a name="line514">514: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDMonitorRegisterFn.html">SVDMonitorRegisterFn</a> <a href="../manualpages/SVD/SVDMonitorAllDrawLG.html">SVDMonitorAllDrawLG</a>;
<a name="line515">515: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDMonitorRegisterCreateFn.html">SVDMonitorRegisterCreateFn</a> <a href="../manualpages/SVD/SVDMonitorAllDrawLGCreate.html">SVDMonitorAllDrawLGCreate</a>;
<a name="line516">516: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDMonitorRegisterFn.html">SVDMonitorRegisterFn</a> <a href="../manualpages/SVD/SVDMonitorConverged.html">SVDMonitorConverged</a>;
<a name="line517">517: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDMonitorRegisterCreateFn.html">SVDMonitorRegisterCreateFn</a> SVDMonitorConvergedCreate;
<a name="line518">518: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDMonitorRegisterFn.html">SVDMonitorRegisterFn</a> <a href="../manualpages/SVD/SVDMonitorConvergedDrawLG.html">SVDMonitorConvergedDrawLG</a>;
<a name="line519">519: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDMonitorRegisterCreateFn.html">SVDMonitorRegisterCreateFn</a> <a href="../manualpages/SVD/SVDMonitorConvergedDrawLGCreate.html">SVDMonitorConvergedDrawLGCreate</a>;
<a name="line520">520: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDMonitorRegisterDestroyFn.html">SVDMonitorRegisterDestroyFn</a> SVDMonitorConvergedDestroy;
<a name="line521">521: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDMonitorRegisterFn.html">SVDMonitorRegisterFn</a> <a href="../manualpages/SVD/SVDMonitorConditioning.html">SVDMonitorConditioning</a>;
<a name="line523">523: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionList/">PetscFunctionList</a> SVDList;
<a name="line524">524: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionList/">PetscFunctionList</a> SVDMonitorList;
<a name="line525">525: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionList/">PetscFunctionList</a> SVDMonitorCreateList;
<a name="line526">526: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionList/">PetscFunctionList</a> SVDMonitorDestroyList;
<a name="line527">527: </a><strong><font color="#4169E1"><a name="SVDRegister"></a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDRegister.html">SVDRegister</a>(const char[],<a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a>(*)(<a href="../manualpages/SVD/SVD.html">SVD</a>)</font></strong>);
<a name="line528">528: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDMonitorRegister.html">SVDMonitorRegister</a>(const char[],<a href="https://petsc.org/release/manualpages/Viewer/PetscViewerType/">PetscViewerType</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewerFormat/">PetscViewerFormat</a>,<a href="../manualpages/SVD/SVDMonitorRegisterFn.html">SVDMonitorRegisterFn</a>*,<a href="../manualpages/SVD/SVDMonitorRegisterCreateFn.html">SVDMonitorRegisterCreateFn</a>*,<a href="../manualpages/SVD/SVDMonitorRegisterDestroyFn.html">SVDMonitorRegisterDestroyFn</a>*)</font></strong>;
<a name="line530">530: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDAllocateSolution.html">SVDAllocateSolution</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line531">531: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDReallocateSolution.html">SVDReallocateSolution</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line533">533: </a><font color="#B22222">/*S</font>
<a name="line534">534: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDConvergenceTestFn.html">SVDConvergenceTestFn</a> - A prototype of an `<a href="../manualpages/SVD/SVD.html">SVD</a>` convergence test function that</font>
<a name="line535">535: </a><font color="#B22222"> would be passed to `<a href="../manualpages/SVD/SVDSetConvergenceTestFunction.html">SVDSetConvergenceTestFunction</a>()`.</font>
<a name="line537">537: </a><font color="#B22222"> Calling Sequence:</font>
<a name="line538">538: </a><font color="#B22222">+ svd - the singular value solver context</font>
<a name="line539">539: </a><font color="#B22222">. sigma - computed singular value</font>
<a name="line540">540: </a><font color="#B22222">. res - residual norm associated to the singular triplet</font>
<a name="line541">541: </a><font color="#B22222">. errest - [output] computed error estimate</font>
<a name="line542">542: </a><font color="#B22222">- ctx - optional convergence context, as set by `<a href="../manualpages/SVD/SVDSetConvergenceTestFunction.html">SVDSetConvergenceTestFunction</a>()`</font>
<a name="line544">544: </a><font color="#B22222"> Level: advanced</font>
<a name="line546">546: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSetConvergenceTest.html">SVDSetConvergenceTest</a>()`, `<a href="../manualpages/SVD/SVDSetConvergenceTestFunction.html">SVDSetConvergenceTestFunction</a>()`</font>
<a name="line547">547: </a><font color="#B22222">S*/</font>
<a name="line548">548: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDConvergenceTestFn.html">SVDConvergenceTestFn</a>(<a href="../manualpages/SVD/SVD.html">SVD</a> svd,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> sigma,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> res,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> *errest,void *ctx)</font></strong>;
<a name="line550">550: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetConvergenceTest.html">SVDSetConvergenceTest</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDConv.html">SVDConv</a>)</font></strong>;
<a name="line551">551: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetConvergenceTest.html">SVDGetConvergenceTest</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDConv.html">SVDConv</a>*)</font></strong>;
<a name="line552">552: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDConvergenceTestFn.html">SVDConvergenceTestFn</a> SVDConvergedAbsolute;
<a name="line553">553: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDConvergenceTestFn.html">SVDConvergenceTestFn</a> SVDConvergedRelative;
<a name="line554">554: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDConvergenceTestFn.html">SVDConvergenceTestFn</a> SVDConvergedNorm;
<a name="line555">555: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDConvergenceTestFn.html">SVDConvergenceTestFn</a> SVDConvergedMaxIt;
<a name="line556">556: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetConvergenceTestFunction.html">SVDSetConvergenceTestFunction</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDConvergenceTestFn.html">SVDConvergenceTestFn</a>*,void*,<a href="https://petsc.org/release/manualpages/Sys/PetscCtxDestroyFn/">PetscCtxDestroyFn</a>*)</font></strong>;
<a name="line558">558: </a><font color="#B22222">/*S</font>
<a name="line559">559: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDStoppingTestFn.html">SVDStoppingTestFn</a> - A prototype of an `<a href="../manualpages/SVD/SVD.html">SVD</a>` stopping test function that would</font>
<a name="line560">560: </a><font color="#B22222"> be passed to `<a href="../manualpages/SVD/SVDSetStoppingTestFunction.html">SVDSetStoppingTestFunction</a>()`.</font>
<a name="line562">562: </a><font color="#B22222"> Calling Sequence:</font>
<a name="line563">563: </a><font color="#B22222">+ svd - the singular value solver context</font>
<a name="line564">564: </a><font color="#B22222">. its - current number of iterations</font>
<a name="line565">565: </a><font color="#B22222">. max_it - maximum number of iterations</font>
<a name="line566">566: </a><font color="#B22222">. nconv - number of currently converged singular triplets</font>
<a name="line567">567: </a><font color="#B22222">. nsv - number of requested singular triplets</font>
<a name="line568">568: </a><font color="#B22222">. reason - [output] result of the stopping test</font>
<a name="line569">569: </a><font color="#B22222">- ctx - optional stopping context, as set by `<a href="../manualpages/SVD/SVDSetStoppingTestFunction.html">SVDSetStoppingTestFunction</a>()`</font>
<a name="line571">571: </a><font color="#B22222"> Note:</font>
<a name="line572">572: </a><font color="#B22222"> A positive value of `reason` indicates that the iteration has finished successfully</font>
<a name="line573">573: </a><font color="#B22222"> (converged), and a negative value indicates an error condition (diverged). If</font>
<a name="line574">574: </a><font color="#B22222"> the iteration needs to be continued, `reason` must be set to `<a href="../manualpages/SVD/SVD_CONVERGED_ITERATING.html">SVD_CONVERGED_ITERATING</a>`</font>
<a name="line575">575: </a><font color="#B22222"> (zero).</font>
<a name="line577">577: </a><font color="#B22222"> Level: advanced</font>
<a name="line579">579: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDSetStoppingTest.html">SVDSetStoppingTest</a>()`, `<a href="../manualpages/SVD/SVDSetStoppingTestFunction.html">SVDSetStoppingTestFunction</a>()`</font>
<a name="line580">580: </a><font color="#B22222">S*/</font>
<a name="line581">581: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDStoppingTestFn.html">SVDStoppingTestFn</a>(<a href="../manualpages/SVD/SVD.html">SVD</a> svd,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> its,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> max_it,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> nconv,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> nsv,<a href="../manualpages/SVD/SVDConvergedReason.html">SVDConvergedReason</a> *reason,void *ctx)</font></strong>;
<a name="line583">583: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetStoppingTest.html">SVDSetStoppingTest</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDStop.html">SVDStop</a>)</font></strong>;
<a name="line584">584: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDGetStoppingTest.html">SVDGetStoppingTest</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDStop.html">SVDStop</a>*)</font></strong>;
<a name="line585">585: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDStoppingTestFn.html">SVDStoppingTestFn</a> <a href="../manualpages/SVD/SVDStoppingBasic.html">SVDStoppingBasic</a>;
<a name="line586">586: </a>SLEPC_EXTERN <a href="../manualpages/SVD/SVDStoppingTestFn.html">SVDStoppingTestFn</a> <a href="../manualpages/SVD/SVDStoppingThreshold.html">SVDStoppingThreshold</a>;
<a name="line587">587: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDSetStoppingTestFunction.html">SVDSetStoppingTestFunction</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDStoppingTestFn.html">SVDStoppingTestFn</a>*,void*,<a href="https://petsc.org/release/manualpages/Sys/PetscCtxDestroyFn/">PetscCtxDestroyFn</a>*)</font></strong>;
<a name="line589">589: </a><font color="#B22222">/* --------- options specific to particular solvers -------- */</font>
<a name="line591">591: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDCrossSetExplicitMatrix.html">SVDCrossSetExplicitMatrix</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line592">592: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDCrossGetExplicitMatrix.html">SVDCrossGetExplicitMatrix</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line593">593: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDCrossSetEPS.html">SVDCrossSetEPS</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/EPS/EPS.html">EPS</a>)</font></strong>;
<a name="line594">594: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDCrossGetEPS.html">SVDCrossGetEPS</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/EPS/EPS.html">EPS</a>*)</font></strong>;
<a name="line596">596: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDCyclicSetExplicitMatrix.html">SVDCyclicSetExplicitMatrix</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line597">597: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDCyclicGetExplicitMatrix.html">SVDCyclicGetExplicitMatrix</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line598">598: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDCyclicSetEPS.html">SVDCyclicSetEPS</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/EPS/EPS.html">EPS</a>)</font></strong>;
<a name="line599">599: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDCyclicGetEPS.html">SVDCyclicGetEPS</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/EPS/EPS.html">EPS</a>*)</font></strong>;
<a name="line601">601: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDLanczosSetOneSide.html">SVDLanczosSetOneSide</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line602">602: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDLanczosGetOneSide.html">SVDLanczosGetOneSide</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line604">604: </a><font color="#B22222">/*E</font>
<a name="line605">605: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDTRLanczosGBidiag.html">SVDTRLanczosGBidiag</a> - The choice of bidiagonalization for the `<a href="../manualpages/SVD/SVDTRLANCZOS.html">SVDTRLANCZOS</a>` GSVD solver.</font>
<a name="line607">607: </a><font color="#B22222"> Values:</font>
<a name="line608">608: </a><font color="#B22222">+ `<a href="../manualpages/SVD/SVDTRLanczosGBidiag.html">SVD_TRLANCZOS_GBIDIAG_SINGLE</a>` - single bidiagonalization ($Q_A$)</font>
<a name="line609">609: </a><font color="#B22222">. `<a href="../manualpages/SVD/SVDTRLanczosGBidiag.html">SVD_TRLANCZOS_GBIDIAG_UPPER</a>` - joint bidiagonalization, both $Q_A$ and $Q_B$ in upper bidiagonal form</font>
<a name="line610">610: </a><font color="#B22222">- `<a href="../manualpages/SVD/SVDTRLanczosGBidiag.html">SVD_TRLANCZOS_GBIDIAG_LOWER</a>` - joint bidiagonalization, $Q_A$ lower bidiagonal, $Q_B$ upper bidiagonal</font>
<a name="line612">612: </a><font color="#B22222"> Note:</font>
<a name="line613">613: </a><font color="#B22222"> The different variants are described in {cite:p}`Alv24`.</font>
<a name="line615">615: </a><font color="#B22222"> Level: advanced</font>
<a name="line617">617: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDTRLanczosSetGBidiag.html">SVDTRLanczosSetGBidiag</a>()`, `<a href="../manualpages/SVD/SVDTRLanczosGetGBidiag.html">SVDTRLanczosGetGBidiag</a>()`</font>
<a name="line618">618: </a><font color="#B22222">E*/</font>
<a name="line619">619: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line620">620: </a> <a href="../manualpages/SVD/SVDTRLanczosGBidiag.html">SVD_TRLANCZOS_GBIDIAG_SINGLE</a>,
<a name="line621">621: </a> <a href="../manualpages/SVD/SVDTRLanczosGBidiag.html">SVD_TRLANCZOS_GBIDIAG_UPPER</a>,
<a name="line622">622: </a> <a href="../manualpages/SVD/SVDTRLanczosGBidiag.html">SVD_TRLANCZOS_GBIDIAG_LOWER</a>
<a name="line623">623: </a>} <a href="../manualpages/SVD/SVDTRLanczosGBidiag.html">SVDTRLanczosGBidiag</a>;
<a name="line624">624: </a>SLEPC_EXTERN const char *SVDTRLanczosGBidiags[];
<a name="line626">626: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDTRLanczosSetGBidiag.html">SVDTRLanczosSetGBidiag</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDTRLanczosGBidiag.html">SVDTRLanczosGBidiag</a>)</font></strong>;
<a name="line627">627: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDTRLanczosGetGBidiag.html">SVDTRLanczosGetGBidiag</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDTRLanczosGBidiag.html">SVDTRLanczosGBidiag</a>*)</font></strong>;
<a name="line628">628: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDTRLanczosSetOneSide.html">SVDTRLanczosSetOneSide</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line629">629: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDTRLanczosGetOneSide.html">SVDTRLanczosGetOneSide</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line630">630: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDTRLanczosSetKSP.html">SVDTRLanczosSetKSP</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/KSP/KSP/">KSP</a>)</font></strong>;
<a name="line631">631: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDTRLanczosGetKSP.html">SVDTRLanczosGetKSP</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/KSP/KSP/">KSP</a>*)</font></strong>;
<a name="line632">632: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDTRLanczosSetRestart.html">SVDTRLanczosSetRestart</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>)</font></strong>;
<a name="line633">633: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDTRLanczosGetRestart.html">SVDTRLanczosGetRestart</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line634">634: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDTRLanczosSetLocking.html">SVDTRLanczosSetLocking</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line635">635: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDTRLanczosGetLocking.html">SVDTRLanczosGetLocking</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line636">636: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDTRLanczosSetExplicitMatrix.html">SVDTRLanczosSetExplicitMatrix</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line637">637: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDTRLanczosGetExplicitMatrix.html">SVDTRLanczosGetExplicitMatrix</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line638">638: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDTRLanczosSetScale.html">SVDTRLanczosSetScale</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>)</font></strong>;
<a name="line639">639: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDTRLanczosGetScale.html">SVDTRLanczosGetScale</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line641">641: </a><font color="#B22222">/*E</font>
<a name="line642">642: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDPRIMMEMethod.html">SVDPRIMMEMethod</a> - The <a href="../manualpages/SVD/SVD.html">SVD</a> method selected in the PRIMME library.</font>
<a name="line644">644: </a><font color="#B22222"> Note:</font>
<a name="line645">645: </a><font color="#B22222"> See the documentation of PRIMME {cite:p}`Sta10` for a description of the methods.</font>
<a name="line647">647: </a><font color="#B22222"> Level: advanced</font>
<a name="line649">649: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDPRIMMESetMethod.html">SVDPRIMMESetMethod</a>()`, `<a href="../manualpages/SVD/SVDPRIMMEGetMethod.html">SVDPRIMMEGetMethod</a>()`</font>
<a name="line650">650: </a><font color="#B22222">E*/</font>
<a name="line651">651: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/SVD/SVDPRIMMEMethod.html">SVD_PRIMME_HYBRID</a> = 1,
<a name="line652">652: </a> <a href="../manualpages/SVD/SVDPRIMMEMethod.html">SVD_PRIMME_NORMALEQUATIONS</a> = 2,
<a name="line653">653: </a> <a href="../manualpages/SVD/SVDPRIMMEMethod.html">SVD_PRIMME_AUGMENTED</a> = 3 } <a href="../manualpages/SVD/SVDPRIMMEMethod.html">SVDPRIMMEMethod</a>;
<a name="line654">654: </a>SLEPC_EXTERN const char *SVDPRIMMEMethods[];
<a name="line656">656: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDPRIMMESetBlockSize.html">SVDPRIMMESetBlockSize</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line657">657: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDPRIMMEGetBlockSize.html">SVDPRIMMEGetBlockSize</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line658">658: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDPRIMMESetMethod.html">SVDPRIMMESetMethod</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDPRIMMEMethod.html">SVDPRIMMEMethod</a>)</font></strong>;
<a name="line659">659: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDPRIMMEGetMethod.html">SVDPRIMMEGetMethod</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDPRIMMEMethod.html">SVDPRIMMEMethod</a>*)</font></strong>;
<a name="line661">661: </a><font color="#B22222">/*E</font>
<a name="line662">662: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDKSVDEigenMethod.html">SVDKSVDEigenMethod</a> - The method to solve the eigenproblem within the KSVD library.</font>
<a name="line664">664: </a><font color="#B22222"> Note:</font>
<a name="line665">665: </a><font color="#B22222"> See the documentation of KSVD {cite:p}`Suk19` for a description of the methods.</font>
<a name="line667">667: </a><font color="#B22222"> Level: advanced</font>
<a name="line669">669: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDKSVDSetEigenMethod.html">SVDKSVDSetEigenMethod</a>()`, `<a href="../manualpages/SVD/SVDKSVDGetEigenMethod.html">SVDKSVDGetEigenMethod</a>()`</font>
<a name="line670">670: </a><font color="#B22222">E*/</font>
<a name="line671">671: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/SVD/SVDKSVDEigenMethod.html">SVD_KSVD_EIGEN_MRRR</a> = 1,
<a name="line672">672: </a> <a href="../manualpages/SVD/SVDKSVDEigenMethod.html">SVD_KSVD_EIGEN_DC</a> = 2,
<a name="line673">673: </a> <a href="../manualpages/SVD/SVDKSVDEigenMethod.html">SVD_KSVD_EIGEN_ELPA</a> = 3 } <a href="../manualpages/SVD/SVDKSVDEigenMethod.html">SVDKSVDEigenMethod</a>;
<a name="line674">674: </a>SLEPC_EXTERN const char *SVDKSVDEigenMethods[];
<a name="line676">676: </a><font color="#B22222">/*E</font>
<a name="line677">677: </a><font color="#B22222"> <a href="../manualpages/SVD/SVDKSVDPolarMethod.html">SVDKSVDPolarMethod</a> - The method to compute the polar decomposition within the KSVD library.</font>
<a name="line679">679: </a><font color="#B22222"> Note:</font>
<a name="line680">680: </a><font color="#B22222"> See the documentation of KSVD {cite:p}`Suk19` for a description of the methods.</font>
<a name="line682">682: </a><font color="#B22222"> Level: advanced</font>
<a name="line684">684: </a><font color="#B22222">.seealso: [](ch:svd), `<a href="../manualpages/SVD/SVDKSVDSetPolarMethod.html">SVDKSVDSetPolarMethod</a>()`, `<a href="../manualpages/SVD/SVDKSVDGetPolarMethod.html">SVDKSVDGetPolarMethod</a>()`</font>
<a name="line685">685: </a><font color="#B22222">E*/</font>
<a name="line686">686: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/SVD/SVDKSVDPolarMethod.html">SVD_KSVD_POLAR_QDWH</a> = 1,
<a name="line687">687: </a> <a href="../manualpages/SVD/SVDKSVDPolarMethod.html">SVD_KSVD_POLAR_ZOLOPD</a> = 2 } <a href="../manualpages/SVD/SVDKSVDPolarMethod.html">SVDKSVDPolarMethod</a>;
<a name="line688">688: </a>SLEPC_EXTERN const char *SVDKSVDPolarMethods[];
<a name="line690">690: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDKSVDSetEigenMethod.html">SVDKSVDSetEigenMethod</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDKSVDEigenMethod.html">SVDKSVDEigenMethod</a>)</font></strong>;
<a name="line691">691: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDKSVDGetEigenMethod.html">SVDKSVDGetEigenMethod</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDKSVDEigenMethod.html">SVDKSVDEigenMethod</a>*)</font></strong>;
<a name="line692">692: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDKSVDSetPolarMethod.html">SVDKSVDSetPolarMethod</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDKSVDPolarMethod.html">SVDKSVDPolarMethod</a>)</font></strong>;
<a name="line693">693: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/SVD/SVDKSVDGetPolarMethod.html">SVDKSVDGetPolarMethod</a>(<a href="../manualpages/SVD/SVD.html">SVD</a>,<a href="../manualpages/SVD/SVDKSVDPolarMethod.html">SVDKSVDPolarMethod</a>*)</font></strong>;
</pre>
</body>
</html>
|