/// <summary> /// Computes the exponential of a vector pointwise /// </summary> /// <param name="x">The input vector</param> /// <returns></returns> public static Vector <T> Exp(Vector <T> x) { return(x.PointwiseUnary(x.DoPointwiseExp)); }
/// <summary> /// Computes the log of a vector pointwise /// </summary> /// <param name="x">The input vector</param> /// <returns></returns> public static Vector <T> Log(Vector <T> x) { return(x.PointwiseUnary(x.PointwiseLog)); }