/** * Element wise maximum function between 2 INDArrays * * @param first * @param second * @return */ public static INDArray max(INDArray first, INDArray second) { return max(first, second, true); }
/** * Maximum function with a scalar * * @param ndArray tbe ndarray * @param k * @return */ public static INDArray min(INDArray ndArray, double k) { return min(ndArray, k, true); }
/** * Negate each element (in-place). */ @Override public IComplexNDArray negi() { return (IComplexNDArray) Transforms.neg(this); }
/** * Run the exp operation * @param ndArray * @return */ public static INDArray exp(INDArray ndArray) { return exp(ndArray, true); }
/** * Pow function * * @param ndArray the ndarray to raise hte power of * @param power the power to raise by * @return the ndarray raised to this power */ public static INDArray pow(INDArray ndArray, Number power) { return pow(ndArray, power, true); }
/** * Log on arbitrary base * * @param ndArray * @param base * @return */ public static INDArray log(INDArray ndArray, double base) { return log(ndArray, base, true); }
/** * Rounding function * * @param ndArray * @return */ public static INDArray round(INDArray ndArray) { return round(ndArray, true); }
/** * Signum function of this ndarray * * @param toSign * @return */ public static INDArray sign(INDArray toSign) { return sign(toSign, true); }
/** * Binary matrix of whether the number at a given index is greater than * * @param ndArray * @return */ public static INDArray floor(INDArray ndArray) { return floor(ndArray, true); }
/** * Sigmoid function * * @param ndArray * @return */ public static INDArray sigmoid(INDArray ndArray) { return sigmoid(ndArray, true); }
/** * Sin function * @param in * @return */ public static INDArray sin(INDArray in) { return sin(in, true); }
/** * Tanh function * * @param ndArray * @return */ public static INDArray tanh(INDArray ndArray) { return tanh(ndArray, true); }
/** * * @param ndArray * @param k * @return */ public static INDArray stabilize(INDArray ndArray, double k) { return stabilize(ndArray, k, true); }
/** * 1 if less than or equal to 0 otherwise (at each element) * * @param first * @param ndArray * @return */ public static INDArray lessThanOrEqual(INDArray first, INDArray ndArray) { return lessThanOrEqual(first, ndArray, true); }
/** * Binary matrix of whether the number at a given index is greater than * * @param ndArray * @return */ public static INDArray ceiling(INDArray ndArray) { return ceiling(ndArray, true); }
/** * * @param in * @return */ public static INDArray cosh(INDArray in) { return cosh(in, true); }
/** * 1 if greater than or equal to 0 otherwise (at each element) * * @param first * @param ndArray * @return */ public static INDArray greaterThanOrEqual(INDArray first, INDArray ndArray) { return greaterThanOrEqual(first, ndArray, true); }
/** * Sin function * @param in * @return */ public static INDArray atanh(INDArray in) { return atanh(in, true); }
/** * Sinh function * @param in * @return */ public static INDArray sinh(INDArray in) { return sinh(in, true); }
/** * Returns the negative of an ndarray * * @param ndArray the ndarray to take the negative of * @return the negative of the ndarray */ public static INDArray neg(INDArray ndArray) { return neg(ndArray, true); }