Example #1
0
 protected override void CopyDense(CholmodDense dense, DenseColumnMajorStorage <Complex> matrix)
 {
     CholmodHelper.CopyArray(2 * (int)dense.nzmax, dense.x, matrix.Values, ref buffer);
 }
Example #2
0
 protected override CholmodDense CreateDense(DenseColumnMajorStorage <Complex> matrix, List <GCHandle> handles)
 {
     return(CholmodHelper.CreateDense(matrix, handles));
 }
Example #3
0
 protected override CholmodSparse CreateSparse(CompressedColumnStorage <Complex> matrix, List <GCHandle> handles)
 {
     return(CholmodHelper.CreateSparse(matrix, Stype.General, handles));
 }
Example #4
0
 protected override CholmodSparse CreateSparse(CompressedColumnStorage <Complex> matrix, List <GCHandle> handles)
 {
     // TODO: Stype this should be configurable!
     return(CholmodHelper.CreateSparse(matrix, Stype.Upper, handles));
 }