public static double[,] Log(double[,] value)
 {
     return(Elementwise.Log(value));
 }
 public static int[,] Abs(int[,] value)
 {
     return(Elementwise.Abs(value));
 }
 public static double[,] Sqrt(double[,] value)
 {
     return(Elementwise.Sqrt(value));
 }
 public static double[] Sign(double[] value)
 {
     return(Elementwise.Sign(value));
 }
 public static double[,] Abs(double[,] value)
 {
     return(Elementwise.Abs(value));
 }
 public static double[] Log(int[] value)
 {
     return(Elementwise.Log(value));
 }
 public static double[,] ElementwiseMultiply(double[,] a, double[] b, double[,] r, int dimension)
 {
     return(Elementwise.Multiply(a, b, dimension, r));
 }
 public static double[] ElementwiseMultiply(double[] a, int[] b)
 {
     return(Elementwise.Multiply(a, b));
 }
 /// <summary>
 ///   Elementwise multiply operation.
 /// </summary>
 ///
 public static double[,] ElementwiseMultiply(double[,] a, double[,] b)
 {
     return(Elementwise.Multiply(a, b));
 }
 public static float[,] ElementwiseDivide(float[,] a, float[,] b)
 {
     return(Elementwise.Divide(a, b));
 }
 public static double[,] ElementwiseDivide(int[,] a, int[] b, int dimension)
 {
     return(Elementwise.Divide(a, b, dimension));
 }
 public static double[,] ElementwiseDivide(this double[,] a, double[,] b)
 {
     return(Elementwise.Divide(a, b));
 }
 public static double[] ElementwiseDivide(double[] a, double[] b)
 {
     return(Elementwise.Divide(a, b));
 }
 public static double[] ElementwisePower(double[] x, double y)
 {
     return(Elementwise.Pow(x, y));
 }
Esempio n. 15
0
 public static double[,] Add(double[,] matrix, double[] vector, int dimension)
 {
     return(Elementwise.Add(matrix, vector, dimension));
 }
 public static int[,] ElementwiseMultiply(int[,] a, int[,] b)
 {
     return(Elementwise.Multiply(a, b));
 }
Esempio n. 17
0
 /// <summary>
 /// Divides a sparse vector by a scalar.
 /// </summary>
 ///
 public static Sparse <double> Divide(this Sparse <double> a, double b, Sparse <double> result)
 {
     Elementwise.Divide(a.Values, b, result.Values);
     return(result);
 }
 public static double[] Exp(double[] value)
 {
     return(Elementwise.Exp(value));
 }