예제 #1
0
 public unsafe override void ACos(float value, ref float returnValue)
 {
     float[] a = new float[1] {
         value
     };
     float[] b = new float[1];
     VMLNative.vsAcos(a.Length, a, b);
     returnValue = b[0];
 }
예제 #2
0
 public unsafe override void ACos(double value, ref double returnValue)
 {
     double[] a = new double[1] {
         value
     };
     double[] b = new double[1];
     VMLNative.vdAcos(a.Length, a, b);
     returnValue = b[0];
 }
예제 #3
0
 public unsafe override void Cos(double value, ref double returnValue)
 {
     double[] input = new double[1] {
         value
     };
     double[] output = new double[1] {
         returnValue
     };
     VMLNative.vdCos(input.Length, input, output);
 }
예제 #4
0
 public unsafe override void Tan(float value, ref float returnValue)
 {
     float[] input = new float[1] {
         value
     };
     float[] output = new float[1] {
         returnValue
     };
     VMLNative.vsTan(input.Length, input, output);
     returnValue = output[0];
 }
예제 #5
0
 public unsafe override void ATan(double value, ref double returnValue)
 {
     double[] input = new double[1] {
         value
     };
     double[] output = new double[1] {
         returnValue
     };
     VMLNative.vdAtan(input.Length, input, output);
     returnValue = output[0];
 }
예제 #6
0
 public unsafe override void Sqrt(double[] src, ref double[] dest)
 {
     VMLNative.vdSqrt(src.Length, src, dest);
 }
예제 #7
0
 public unsafe override void Add(float[] src1, float[] src2, ref float[] dest)
 {
     VMLNative.vsAdd(src1.Length, src1, src2, dest);
 }
예제 #8
0
 public unsafe override void Add(double[] src1, double[] src2, ref double[] dest)
 {
     VMLNative.vdAdd(src1.Length, src1, src2, dest);
 }
예제 #9
0
 public unsafe override void Pow(float[] src1, float scalar, ref float[] dest)
 {
     VMLNative.vsPowx(src1.Length, src1, scalar, dest);
 }
예제 #10
0
 public unsafe override void Substract(float[] src1, float[] src2, ref float[] dest)
 {
     VMLNative.vsSub(src1.Length, src1, src2, dest);
 }
예제 #11
0
 public unsafe override void Multiply(double[] src1, double[] src2, ref double[] dest)
 {
     VMLNative.vdMul(src1.Length, src1, src2, dest);
 }
예제 #12
0
 public unsafe override void Log(float[] src, ref float[] dest)
 {
     VMLNative.vsLog10(src.Length, src, dest);
 }
예제 #13
0
 public unsafe override void Log(double[] src, ref double[] dest)
 {
     VMLNative.vdLog10(src.Length, src, dest);
 }
예제 #14
0
 public unsafe override void Absolute(float[] src, ref float[] dest)
 {
     VMLNative.vsAbs(src.Length, src, dest);
 }
예제 #15
0
 public unsafe override void Absolute(double[] src, ref double[] dest)
 {
     VMLNative.vdAbs(src.Length, src, dest);
 }
예제 #16
0
 public unsafe override void Sqrt(float[] src, ref float[] dest)
 {
     VMLNative.vsSqrt(src.Length, src, dest);
 }
예제 #17
0
 public unsafe override void Substract(double[] src1, double[] src2, ref double[] dest)
 {
     VMLNative.vdSub(src1.Length, src1, src2, dest);
 }
예제 #18
0
 public unsafe override void Multiply(float[] src1, float[] src2, ref float[] dest)
 {
     VMLNative.vsMul(src1.Length, src1, src2, dest);
 }
예제 #19
0
 public unsafe override void Tan(double[] value, ref double[] returnValue)
 {
     VMLNative.vdTan(value.Length, value, returnValue);
 }
예제 #20
0
 public unsafe override void ACos(float[] value, ref float[] returnValue)
 {
     VMLNative.vsAcos(value.Length, value, returnValue);
 }
예제 #21
0
 public unsafe override void Tan(float[] value, ref float[] returnValue)
 {
     VMLNative.vsTan(value.Length, value, returnValue);
 }
예제 #22
0
 public unsafe override void Pow(double[] src1, double scalar, ref double[] dest)
 {
     VMLNative.vdPowx(src1.Length, src1, scalar, dest);
 }