Subversion Repositories slepc-dev

Rev

Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1359 Rev 1364
Line 17... Line 17...
 
 
.seealso:  SVDCreate()
.seealso:  SVDCreate()
S*/
S*/
typedef struct _p_SVD* SVD;
typedef struct _p_SVD* SVD;
 
 
 
/*E
 
    SVDType - String with the name of a SLEPc singular value solver
 
 
 
   Level: beginner
 
 
 
.seealso: SVDSetType(), SVD
 
E*/
#define SVDType const char*
#define SVDType const char*
#define SVDCROSS       "cross"
#define SVDCROSS       "cross"
#define SVDCYCLIC      "cyclic"
#define SVDCYCLIC      "cyclic"
#define SVDLAPACK      "lapack"
#define SVDLAPACK      "lapack"
#define SVDLANCZOS     "lanczos"
#define SVDLANCZOS     "lanczos"
#define SVDTRLANCZOS   "trlanczos"
#define SVDTRLANCZOS   "trlanczos"
 
 
 
/*E
 
    SVDTransposeMode - determines how to handle the transpose of the matrix
 
 
 
    Level: advanced
 
 
 
.seealso: SVDSetTransposeMode(), SVDGetTransposeMode()
 
E*/
typedef enum { SVD_TRANSPOSE_EXPLICIT, SVD_TRANSPOSE_IMPLICIT } SVDTransposeMode;
typedef enum { SVD_TRANSPOSE_EXPLICIT, SVD_TRANSPOSE_IMPLICIT } SVDTransposeMode;
 
 
 
/*E
 
    SVDWhich - determines whether largest or smallest singular triplets
 
    are to be computed
 
 
 
    Level: intermediate
 
 
 
.seealso: SVDSetWhichSingularTriplets(), SVDGetWhichSingularTriplets()
 
E*/
typedef enum { SVD_LARGEST, SVD_SMALLEST } SVDWhich;
typedef enum { SVD_LARGEST, SVD_SMALLEST } SVDWhich;
 
 
 
/*E
 
    SVDConvergedReason - reason a singular value solver was said to
 
         have converged or diverged
 
 
 
   Level: beginner
 
 
 
.seealso: SVDSolve(), SVDGetConvergedReason(), SVDSetTolerances()
 
E*/
typedef enum {/* converged */
typedef enum {/* converged */
              SVD_CONVERGED_TOL                =  2,
              SVD_CONVERGED_TOL                =  2,
              /* diverged */
              /* diverged */
              SVD_DIVERGED_ITS                 = -3,
              SVD_DIVERGED_ITS                 = -3,
              SVD_DIVERGED_BREAKDOWN           = -4,
              SVD_DIVERGED_BREAKDOWN           = -4,