public static INDArray neg(INDArray ndArray, boolean dup) {
        return exec(dup ? new Negative(ndArray, ndArray.ulike()) : new Negative(ndArray));
    }
public static INDArray neg ( INDArray ndArray , boolean dup ) { return exec ( dup ? new Negative ( ndArray , ndArray . ulike ( ) ) : new Negative ( ndArray ) ) ; }
Negative

@param ndArray
@param dup
@return