public static extern IntPtr SuiteSparseQR_C_solve ( int system, IntPtr QR, IntPtr B, ref CholmodCommon cc );
public static extern IntPtr SuiteSparseQR_C_qmult /* returns Y, or NULL on failure */ ( /* inputs: */ int method, IntPtr QR, ref CholmodDense X, ref CholmodCommon cc );
public static extern IntPtr SuiteSparseQR_C_symbolic ( /* inputs: */ int ordering, int allow_tol, ref CholmodSparse A, ref CholmodCommon cc );
public static extern IntPtr SuiteSparseQR_C_factorize ( /* inputs: */ int ordering, double tol, ref CholmodSparse A, ref CholmodCommon cc );
public static extern CholmodDense SuiteSparseQR_C_backslash ( int ordering, double tol, ref CholmodSparse A, ref CholmodDense B, ref CholmodCommon cc );
public static extern int SuiteSparseQR_C_numeric ( /* inputs: */ double tol, ref CholmodSparse A, /* input/output: */ IntPtr QR, ref CholmodCommon cc );
public static extern CholmodSparse SuiteSparseQR_C_backslash_sparse ( /* inputs: */ int ordering, double tol, ref CholmodSparse A, ref CholmodSparse B, ref CholmodCommon cc );
/// <summary> /// Initializes a new instance of the SpqrContext class. /// </summary> /// <param name="matrix">The sparse matrix to factorize.</param> public SpqrContext(CompressedColumnStorage <T> matrix) { this.matrix = matrix; common = new CholmodCommon(); common.Initialize(); Cholmod.NativeMethods.cholmod_start(ref common); }
public static extern sp_long SuiteSparseQR_C_QR ( /* inputs: */ int ordering, double tol, sp_long econ, ref CholmodSparse A, /* outputs: */ out IntPtr Q, // CholmodSparse out IntPtr R, // CholmodSparse out IntPtr E, // SuiteSparse_long[] ref CholmodCommon cc );
public static extern sp_long SuiteSparseQR_C ( /* inputs: */ int ordering, double tol, sp_long econ, int getCTX, ref CholmodSparse A, IntPtr Bsparse, // ref CholmodSparse ref CholmodDense Bdense, /* outputs: */ out IntPtr Zsparse, // CholmodSparse out IntPtr Zdense, // CholmodDense out IntPtr R, // CholmodSparse out IntPtr E, // SuiteSparse_long[] out IntPtr H, // CholmodSparse out IntPtr HPinv, // SuiteSparse_long[] out IntPtr HTau, // CholmodDense ref CholmodCommon cc // );
public static extern int SuiteSparseQR_C_free ( ref IntPtr QR, ref CholmodCommon cc );
public static extern CholmodDense SuiteSparseQR_C_backslash_default ( ref CholmodSparse A, ref CholmodDense B, ref CholmodCommon cc );