/// <summary> /// Element-wise division /// </summary> /// <typeparam name="T"></typeparam> /// <param name="x">Dividend array</param> /// <param name="y">Divisor array</param> /// <param name="result">will be set to the resulting array</param> public static void Divide <T>(T[] x, T[] y, T[] result) { VectorOp <T> .Divide(x, y, result); }
/// <summary> /// Divides each element in the array by the scalar /// </summary> /// <typeparam name="T"></typeparam> /// <param name="x"></param> /// <param name="scalar"></param> /// <param name="result">will be set to the resulting array</param> public static void Divide <T>(T[] x, T scalar, T[] result) { VectorOp <T> .Divide(x, scalar, result); }