Esempio n. 1
0
File: norm.cs Progetto: 0xCM/z0
 public static double norm(RowVector256 <double> X)
 => CBLAS.cblas_dnrm2(X.Length, ref head(X), 1);
Esempio n. 2
0
File: iamin.cs Progetto: 0xCM/z0
 public static int iamin(RowVector256 <float> X)
 => (int)CBLAS.cblas_isamin(X.Length, ref head(X), 1);
Esempio n. 3
0
File: iamin.cs Progetto: 0xCM/z0
 public static int iamin(RowVector256 <double> X)
 => (int)CBLAS.cblas_idamin(X.Length, ref head(X), 1);
Esempio n. 4
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <float> log10(RowVector256 <float> src, ref RowVector256 <float> dst)
 {
     VmlImport.vsLog10(src.Length, ref head(src), ref head(dst));
     return(ref dst);
 }
Esempio n. 5
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <float> erfcInv(RowVector256 <float> src, ref RowVector256 <float> dst)
 {
     VmlImport.vsErfcInv(src.Length, ref head(src), ref head(dst));
     return(ref dst);
 }
Esempio n. 6
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <float> sub(RowVector256 <float> lhs, RowVector256 <float> rhs, ref RowVector256 <float> dst)
 {
     VmlImport.vsSub(length(lhs, rhs), ref head(lhs), ref head(rhs), ref head(dst));
     return(ref dst);
 }
Esempio n. 7
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <double> pow(RowVector256 <double> src, double exp, ref RowVector256 <double> dst)
 {
     VmlImport.vdPowx(length(src, dst), ref head(src), exp, ref head(dst));
     return(ref dst);
 }
Esempio n. 8
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <float> cdfNorm(RowVector256 <float> src, ref RowVector256 <float> dst)
 {
     VmlImport.vsCdfNorm(src.Length, ref head(src), ref head(dst));
     return(ref dst);
 }
Esempio n. 9
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <double> cdfNormInv(RowVector256 <double> src, ref RowVector256 <double> dst)
 {
     VmlImport.vdCdfNormInv(src.Length, ref head(src), ref head(dst));
     return(ref dst);
 }
Esempio n. 10
0
File: axpy.cs Progetto: 0xCM/z0
 public static void axpy(double a, RowVector256 <double> X, RowVector256 <double> Y, ref RowVector256 <double> Z)
 {
     Y.CopyTo(ref Z);
     CBLAS.cblas_daxpy(length(X, Y), a, ref head(X), 1, ref head(Z), 1);
 }
Esempio n. 11
0
 public static double asum(RowVector256 <double> X)
 => CBLAS.cblas_dasum(X.Length, ref head(X), 1);
Esempio n. 12
0
File: axpy.cs Progetto: 0xCM/z0
 public static void axpy(float a, RowVector256 <float> X, RowVector256 <float> Y, ref RowVector256 <float> Z)
 {
     Y.CopyTo(ref Z);
     CBLAS.cblas_saxpy(length(X, Y), a, ref head(X), 1, ref head(Z), 1);
 }
Esempio n. 13
0
File: dot.cs Progetto: 0xCM/z0
 public static double dot(RowVector256 <double> x, RowVector256 <double> y)
 => dot(x.Unblocked, y.Unblocked);
Esempio n. 14
0
File: dot.cs Progetto: 0xCM/z0
 public static float dot(RowVector256 <float> x, RowVector256 <float> y)
 => dot(x.Unblocked, y.Unblocked);
Esempio n. 15
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <double> copySign(RowVector256 <double> a, RowVector256 <double> b, ref RowVector256 <double> dst)
 {
     VmlImport.vdCopySign(dst.Length, ref head(a), ref head(b), ref head(dst));
     return(ref dst);
 }
Esempio n. 16
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <float> hypot(RowVector256 <float> a, RowVector256 <float> b, ref RowVector256 <float> dst)
 {
     VmlImport.vsHypot(dst.Length, ref head(a), ref head(b), ref head(dst));
     return(ref dst);
 }
Esempio n. 17
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <double> next(RowVector256 <double> src, ref RowVector256 <double> dst)
 {
     VmlImport.vdNextAfter(dst.Length, ref head(src), ref head(src), ref head(dst));
     return(ref dst);
 }
Esempio n. 18
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <double> hypot(RowVector256 <double> a, RowVector256 <double> b, ref RowVector256 <double> dst)
 {
     VmlImport.vdHypot(dst.Length, ref head(a), ref head(b), ref head(dst));
     return(ref dst);
 }
Esempio n. 19
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <float> pow(RowVector256 <float> src, float exp, ref RowVector256 <float> dst)
 {
     VmlImport.vsPowx(length(src, dst), ref head(src), exp, ref head(dst));
     return(ref dst);
 }
Esempio n. 20
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <float> truncRem(RowVector256 <float> src, RowVector256 <float> trunc, ref RowVector256 <float> rem)
 {
     VmlImport.vsModf(length(src, trunc), ref head(src), ref head(trunc), ref head(rem));
     return(ref rem);
 }
Esempio n. 21
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <double> sub(RowVector256 <double> lhs, RowVector256 <double> rhs, ref RowVector256 <double> dst)
 {
     VmlImport.vdSub(length(lhs, rhs), ref head(lhs), ref head(rhs), ref head(dst));
     return(ref dst);
 }
Esempio n. 22
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <double> truncRem(RowVector256 <double> lhs, RowVector256 <double> rhs, ref RowVector256 <double> dst)
 {
     VmlImport.vdModf(length(lhs, rhs), ref head(lhs), ref head(rhs), ref head(dst));
     return(ref dst);
 }
Esempio n. 23
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <double> erfc(RowVector256 <double> src, ref RowVector256 <double> dst)
 {
     VmlImport.vdErfc(src.Length, ref head(src), ref head(dst));
     return(ref dst);
 }
Esempio n. 24
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <float> minAbs(RowVector256 <float> a, RowVector256 <float> b, ref RowVector256 <float> dst)
 {
     VmlImport.vsMinMag(dst.Length, ref head(a), ref head(b), ref head(dst));
     return(ref dst);
 }
Esempio n. 25
0
File: scale.cs Progetto: 0xCM/z0
 public static void scale(float a, RowVector256 <float> X)
 => CBLAS.cblas_sscal(X.Length, a, ref head(X), 1);
Esempio n. 26
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <double> minAbs(RowVector256 <double> a, RowVector256 <double> b, ref RowVector256 <double> dst)
 {
     VmlImport.vdMinMag(dst.Length, ref head(a), ref head(b), ref head(dst));
     return(ref dst);
 }
Esempio n. 27
0
File: iamin.cs Progetto: 0xCM/z0
 public static float amin(RowVector256 <float> X)
 => X[iamin(X)];
Esempio n. 28
0
File: vml.cs Progetto: 0xCM/z0
 public static ref RowVector256 <float> copySign(RowVector256 <float> a, RowVector256 <float> b, ref RowVector256 <float> dst)
 {
     VmlImport.vsCopySign(dst.Length, ref head(a), ref head(b), ref head(dst));
     return(ref dst);
 }
Esempio n. 29
0
File: iamin.cs Progetto: 0xCM/z0
 public static double amin(RowVector256 <double> X)
 => X[iamin(X)];
Esempio n. 30
0
File: norm.cs Progetto: 0xCM/z0
 public static float norm(RowVector256 <float> X)
 => CBLAS.cblas_snrm2(X.Length, ref head(X), 1);