예제 #1
0
 public static ref BlockMatrix <M, N, double> round <M, N>(ref BlockMatrix <M, N, double> A)
     where M : ITypeNat, new()
     where N : ITypeNat, new()
 {
     VmlImport.vdRound(BlockMatrix <M, N, double> .CellCount, ref head(A), ref head(A));
     return(ref A);
 }
예제 #2
0
파일: vml.cs 프로젝트: 0xCM/z0
 public static ref Matrix256 <M, N, double> round <M, N>(ref Matrix256 <M, N, double> A)
     where M : unmanaged, ITypeNat
     where N : unmanaged, ITypeNat
 {
     VmlImport.vdRound(Matrix256 <M, N, double> .Capacity, ref head(A), ref head(A));
     return(ref A);
 }
예제 #3
0
 public static ref BlockVector <double> round(BlockVector <double> src, ref BlockVector <double> dst)
 {
     VmlImport.vdRound(src.Length, ref head(src), ref head(dst));
     return(ref dst);
 }
예제 #4
0
파일: vml.cs 프로젝트: 0xCM/z0
 public static ref RowVector256 <double> round(RowVector256 <double> src, ref RowVector256 <double> dst)
 {
     VmlImport.vdRound(src.Length, ref head(src), ref head(dst));
     return(ref dst);
 }