Ejemplo n.º 1
0
 public static ref BlockMatrix <M, N, double> trunc <M, N>(ref BlockMatrix <M, N, double> A)
     where M : ITypeNat, new()
     where N : ITypeNat, new()
 {
     VmlImport.vdTrunc(BlockMatrix <M, N, double> .CellCount, ref head(A), ref head(A));
     return(ref A);
 }
Ejemplo n.º 2
0
Archivo: vml.cs Proyecto: 0xCM/z0
 public static ref Matrix256 <M, N, double> trunc <M, N>(ref Matrix256 <M, N, double> A)
     where M : unmanaged, ITypeNat
     where N : unmanaged, ITypeNat
 {
     VmlImport.vdTrunc(Matrix256 <M, N, double> .Capacity, ref head(A), ref head(A));
     return(ref A);
 }
Ejemplo n.º 3
0
 public static ref BlockVector <double> trunc(BlockVector <double> src, ref BlockVector <double> dst)
 {
     VmlImport.vdTrunc(src.Length, ref head(src), ref head(dst));
     return(ref dst);
 }
Ejemplo n.º 4
0
Archivo: vml.cs Proyecto: 0xCM/z0
 public static ref RowVector256 <double> trunc(RowVector256 <double> src, ref RowVector256 <double> dst)
 {
     VmlImport.vdTrunc(src.Length, ref head(src), ref head(dst));
     return(ref dst);
 }