예제 #1
0
 public static ref BlockVector <N, float> add <N>(BlockVector <N, float> lhs, BlockVector <N, float> rhs, ref BlockVector <N, float> dst)
     where N : ITypeNat, new()
 {
     VmlImport.vsAdd(nati <N>(), ref head(lhs), ref head(rhs), ref head(dst));
     return(ref dst);
 }
예제 #2
0
파일: vml.cs 프로젝트: 0xCM/z0
 public static ref Block256 <N, float> add <N>(Block256 <N, float> lhs, Block256 <N, float> rhs, ref Block256 <N, float> dst)
     where N : unmanaged, ITypeNat
 {
     VmlImport.vsAdd(nat32i <N>(), ref head(lhs), ref head(rhs), ref head(dst));
     return(ref dst);
 }
예제 #3
0
 public static ref BlockVector <float> add(BlockVector <float> lhs, BlockVector <float> rhs, ref BlockVector <float> dst)
 {
     VmlImport.vsAdd(length(lhs, rhs), ref head(lhs), ref head(rhs), ref head(dst));
     return(ref dst);
 }
예제 #4
0
파일: vml.cs 프로젝트: 0xCM/z0
 public static ref RowVector256 <float> add(RowVector256 <float> lhs, RowVector256 <float> rhs, ref RowVector256 <float> dst)
 {
     VmlImport.vsAdd(length(lhs, rhs), ref head(lhs), ref head(rhs), ref head(dst));
     return(ref dst);
 }