code: public static INDArray pow(INDArray ndArray, Number power, boolean dup) {
          return exec(dup ? new Pow(ndArray, ndArray.ulike(), power.doubleValue()) : new Pow(ndArray, power.doubleValue()));
      }
docs: Pow function
  
  @param ndArray
  @param power
  @param dup
  @return