Пример #1
0
 protected override void CopyDense(CholmodDense dense, DenseColumnMajorStorage <Complex> matrix)
 {
     CholmodHelper.CopyArray(2 * (int)dense.nzmax, dense.x, matrix.Values, ref buffer);
 }
Пример #2
0
 protected override CholmodDense CreateDense(DenseColumnMajorStorage <Complex> matrix, List <GCHandle> handles)
 {
     return(CholmodHelper.CreateDense(matrix, handles));
 }
Пример #3
0
 protected override CholmodSparse CreateSparse(CompressedColumnStorage <Complex> matrix, List <GCHandle> handles)
 {
     return(CholmodHelper.CreateSparse(matrix, Stype.General, handles));
 }
Пример #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));
 }