public static INDArray exp(INDArray ndArray, boolean dup) {
        return exec(dup ? new Exp(ndArray, ndArray.dup()) : new Exp(ndArray));
    }
public static INDArray exp(INDArray ndArray, boolean dup) {
        return exec(dup ? new Exp(ndArray, ndArray.dup()) : new Exp(ndArray));
    }
public static INDArray exp ( INDArray ndArray , boolean dup ) { return exec ( dup ? new Exp ( ndArray , ndArray . dup ( ) ) : new Exp ( ndArray ) ) ; }
Exp function

@param ndArray
@param dup
@return
Exp function