예제 #1
0
        public static float erfcInv(float src)
        {
            var dst = 0f;

            VmlImport.vsErfcInv(1, ref src, ref dst);
            return(dst);
        }
예제 #2
0
        public static double erfc(double src)
        {
            var dst = 0d;

            VmlImport.vdErfc(1, ref src, ref dst);
            return(dst);
        }
예제 #3
0
 public static ref BlockMatrix <M, N, float> trunc <M, N>(ref BlockMatrix <M, N, float> A)
     where M : ITypeNat, new()
     where N : ITypeNat, new()
 {
     VmlImport.vsTrunc(BlockMatrix <M, N, float> .CellCount, ref head(A), ref head(A));
     return(ref A);
 }
예제 #4
0
        public static float cdfNorm(float src)
        {
            var dst = 0f;

            VmlImport.vsCdfNorm(1, ref src, ref dst);
            return(dst);
        }
예제 #5
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);
 }
예제 #6
0
파일: vml.cs 프로젝트: 0xCM/z0
 public static ref Matrix256 <M, N, float> trunc <M, N>(ref Matrix256 <M, N, float> A)
     where M : unmanaged, ITypeNat
     where N : unmanaged, ITypeNat
 {
     VmlImport.vsTrunc(Matrix256 <M, N, float> .Capacity, ref head(A), ref head(A));
     return(ref A);
 }
예제 #7
0
        public static double cdfNorm(double src)
        {
            var dst = 0d;

            VmlImport.vdCdfNorm(1, ref src, ref dst);
            return(dst);
        }
예제 #8
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);
 }
예제 #9
0
        public static ref BlockMatrix <M, N, double> mod <M, N>(BlockMatrix <M, N, double> lhs, BlockMatrix <M, N, double> rhs, ref BlockMatrix <M, N, double> dst)
            where N : ITypeNat, new()
            where M : ITypeNat, new()

        {
            VmlImport.vdFmod(BlockMatrix <M, N, float> .CellCount, ref head(lhs), ref head(rhs), ref head(dst));
            return(ref dst);
        }
예제 #10
0
파일: vml.cs 프로젝트: 0xCM/z0
        public static ref Matrix256 <M, N, float> mod <M, N>(Matrix256 <M, N, float> A, Matrix256 <M, N, float> B, ref Matrix256 <M, N, float> X)
            where N : unmanaged, ITypeNat
            where M : unmanaged, ITypeNat

        {
            VmlImport.vsFmod(Matrix256 <M, N, float> .Capacity, ref head(A), ref head(B), ref head(X));
            return(ref X);
        }
예제 #11
0
파일: vml.cs 프로젝트: 0xCM/z0
        public static ref Matrix256 <M, N, double> mod <M, N>(Matrix256 <M, N, double> lhs, Matrix256 <M, N, double> rhs, ref Matrix256 <M, N, double> dst)
            where N : unmanaged, ITypeNat
            where M : unmanaged, ITypeNat

        {
            VmlImport.vdFmod(Matrix256 <M, N, float> .Capacity, ref head(lhs), ref head(rhs), ref head(dst));
            return(ref dst);
        }
예제 #12
0
        public static ref BlockMatrix <M, N, float> mod <M, N>(BlockMatrix <M, N, float> A, BlockMatrix <M, N, float> B, ref BlockMatrix <M, N, float> X)
            where N : ITypeNat, new()
            where M : ITypeNat, new()

        {
            VmlImport.vsFmod(BlockMatrix <M, N, float> .CellCount, ref head(A), ref head(B), ref head(X));
            return(ref X);
        }
예제 #13
0
 public static ref BlockVector <float> erfc(BlockVector <float> src, ref BlockVector <float> dst)
 {
     VmlImport.vsErfc(src.Length, ref head(src), ref head(dst));
     return(ref dst);
 }
예제 #14
0
 public static ref BlockVector <N, double> add <N>(BlockVector <N, double> lhs, BlockVector <N, double> rhs, ref BlockVector <N, double> dst)
     where N : ITypeNat, new()
 {
     VmlImport.vdAdd(nati <N>(), ref head(lhs), ref head(rhs), ref head(dst));
     return(ref dst);
 }
예제 #15
0
 public static ref BlockVector <float> hypot(BlockVector <float> a, BlockVector <float> b, ref BlockVector <float> dst)
 {
     VmlImport.vsHypot(dst.Length, ref head(a), ref head(b), ref head(dst));
     return(ref dst);
 }
예제 #16
0
 public static ref BlockVector <double> next(BlockVector <double> src, ref BlockVector <double> dst)
 {
     VmlImport.vdNextAfter(dst.Length, ref head(src), ref head(src), ref head(dst));
     return(ref dst);
 }
예제 #17
0
 public static ref BlockVector <float> next(BlockVector <float> src, ref BlockVector <float> dst)
 {
     VmlImport.vsNextAfter(dst.Length, ref head(src), ref head(src), ref head(dst));
     return(ref dst);
 }
예제 #18
0
 public static ref BlockVector <double> copySign(BlockVector <double> a, BlockVector <double> b, ref BlockVector <double> dst)
 {
     VmlImport.vdCopySign(dst.Length, ref head(a), ref head(b), ref head(dst));
     return(ref dst);
 }
예제 #19
0
 public static ref BlockVector <float> copySign(BlockVector <float> a, BlockVector <float> b, ref BlockVector <float> dst)
 {
     VmlImport.vsCopySign(dst.Length, ref head(a), ref head(b), ref head(dst));
     return(ref dst);
 }
예제 #20
0
 public static ref BlockVector <double> minAbs(BlockVector <double> a, BlockVector <double> b, ref BlockVector <double> dst)
 {
     VmlImport.vdMinMag(dst.Length, ref head(a), ref head(b), ref head(dst));
     return(ref dst);
 }
예제 #21
0
 public static ref BlockVector <double> hypot(BlockVector <double> a, BlockVector <double> b, ref BlockVector <double> dst)
 {
     VmlImport.vdHypot(dst.Length, ref head(a), ref head(b), ref head(dst));
     return(ref dst);
 }
예제 #22
0
 public static ref BlockVector <double> pow(BlockVector <double> src, double exp, ref BlockVector <double> dst)
 {
     VmlImport.vdPowx(length(src, dst), ref head(src), exp, ref head(dst));
     return(ref dst);
 }
예제 #23
0
 public static ref BlockVector <float> pow(BlockVector <float> src, float exp, ref BlockVector <float> dst)
 {
     VmlImport.vsPowx(length(src, dst), ref head(src), exp, ref head(dst));
     return(ref dst);
 }
예제 #24
0
 public static ref BlockVector <N, float> mul <N>(BlockVector <N, float> lhs, BlockVector <N, float> rhs, ref BlockVector <N, float> dst)
     where N : ITypeNat, new()
 {
     VmlImport.vsMul(nati <N>(), ref head(lhs), ref head(rhs), ref head(dst));
     return(ref dst);
 }
예제 #25
0
 public static ref BlockVector <float> sub(BlockVector <float> lhs, BlockVector <float> rhs, ref BlockVector <float> dst)
 {
     VmlImport.vsSub(length(lhs, rhs), ref head(lhs), ref head(rhs), ref head(dst));
     return(ref dst);
 }
예제 #26
0
 public static ref BlockVector <float> truncRem(BlockVector <float> src, BlockVector <float> trunc, ref BlockVector <float> rem)
 {
     VmlImport.vsModf(length(src, trunc), ref head(src), ref head(trunc), ref head(rem));
     return(ref rem);
 }
예제 #27
0
 public static ref BlockVector <double> sub(BlockVector <double> lhs, BlockVector <double> rhs, ref BlockVector <double> dst)
 {
     VmlImport.vdSub(length(lhs, rhs), ref head(lhs), ref head(rhs), ref head(dst));
     return(ref dst);
 }
예제 #28
0
 public static ref BlockVector <double> truncRem(BlockVector <double> lhs, BlockVector <double> rhs, ref BlockVector <double> dst)
 {
     VmlImport.vdModf(length(lhs, rhs), ref head(lhs), ref head(rhs), ref head(dst));
     return(ref dst);
 }
예제 #29
0
 public static ref BlockVector <double> erfc(BlockVector <double> src, ref BlockVector <double> dst)
 {
     VmlImport.vdErfc(src.Length, ref head(src), ref head(dst));
     return(ref dst);
 }
예제 #30
0
 public static ref BlockVector <float> minAbs(BlockVector <float> a, BlockVector <float> b, ref BlockVector <float> dst)
 {
     VmlImport.vsMinMag(dst.Length, ref head(a), ref head(b), ref head(dst));
     return(ref dst);
 }