code: public static INDArray tan(INDArray ndArray, boolean dup) {
          return exec(dup ? new Tan(ndArray, ndArray.ulike()) : new Tan(ndArray));
      }
docs: Element-wise tan function. Copies the array
  
  @param ndArray Input array