Prints an array to the underlying stream. One entry per line. The first
array specifies the real entries, and the second is the imaginary entries
192359
public void printArray(float[] dataR, float[] dataI) {
        int size = dataR.length;
        if (size != dataI.length)
            throw new IllegalArgumentException(
                    "All arrays must be of the same size");
        for (int i = 0; i < size; ++i)
            format(Locale.ENGLISH, "% .12e % .12e%n", dataR[i], dataI[i]);
    }
499521
public void dumpResults(PrintStream out) throws IOException 
    {
        PrintfFormat fmt = new PrintfFormat("%7.2f\t%s\t%s\n");
        for (int i=0; i<pairs.length; i++) {
            if (pairs[i]!=null) {
                String aText = (pairs[i].getA()==null) ? "***" : pairs[i].getA().unwrap();
                String bText = (pairs[i].getB()==null) ? "***" : pairs[i].getB().unwrap();
                out.print( fmt.sprintf( new Object[] { 
                            new Double(pairs[i].getDistance()),
                            aText,
                            bText
                        }));
            }
        }
    }
49477
public static IntStreamEx of(Integer[] array) {
        return seq(Arrays.stream(array).mapToInt(Integer::intValue));
    }
1104613
public static Stream<Integer> stream(int[] self) {
        return IntStream.range(0, self.length).mapToObj(i -> self[i]);
    }
1141979
function arrayToWeb(arr) {
    return new ReadableStream({
        start(controller) {
            for (var i = 0; i < arr.length; i++) {
                controller.enqueue(arr[i]);
            }
            controller.close();
        }
    });
}
253323
public void printCoordinate(int[] row, int[] column, long[] data, int offset) {
        int size = row.length;
        if (size != column.length || size != data.length)
            throw new IllegalArgumentException(
                    "All arrays must be of the same size");
        for (int i = 0; i < size; ++i)
            format(Locale.ENGLISH, "%10d %10d %19d%n", row[i] + offset,
                    column[i] + offset, data[i]);
    }
313178
public static void printResult(Number[][] m1, PrintStream out)
    {
        if (out == null)
        {
            return;
        }
        for (int i = 0; i < m1.length; i++)
        {
            for (int j = 0; j < m1[0].length; j++)
            {
                out.print(" " + m1[i][j]);
            }
            out.println("");
        }
    }
406097
public static final String print(String delim, Object... array)
    {
        return print(null, delim, null, null, null, array);
    }
482682
def print_bytes(data):
    
    bs = bytearray(data)
    symbols_in_one_line = 8
    n = len(bs) // symbols_in_one_line
    i = 0
    for i in range(n):
        print(str(i*symbols_in_one_line)+" | "+" ".join(["%02X" % b for b in bs[i*symbols_in_one_line:(i+1)*symbols_in_one_line]])) # for every 8 symbols line
    if not len(bs) % symbols_in_one_line == 0:
        print(str((i+1)*symbols_in_one_line)+" | "+" ".join(["%02X" % b for b in bs[(i+1)*symbols_in_one_line:]])+"\n")
374333
public void print(@NonNull PrintStream stream) {
      String horizontalBar = StringUtils.repeat("─", longestCell);
      String hline = middleCMBar(horizontalBar, longestRow);
      longestRow = Math.max(longestRow, header.size());

      if (!StringUtils.isNullOrBlank(title)) {
         stream.println(
               StringUtils.center(title, (longestCell * longestRow) + longestRow + 1)
                       );
      }

      stream.printf("┌%s", horizontalBar);
      for (int i = 1; i < longestRow; i++) {
         stream.printf("┬%s", horizontalBar);
      }
      stream.println("┐");

      if (header.size() > 0) {
         printRow(stream, header, longestCell, longestRow);
         stream.println(bar(StringUtils.repeat("═", longestCell), "╞", "╡", "╪", header.size()));
      }

      for (int r = 0; r < content.size(); r++) {
         printRow(stream, content.get(r), longestCell, longestRow);
         if (r + 1 < content.size()) {
            stream.println(hline);
         }
      }

      if (!footer.isEmpty()) {
         stream.println(bar(StringUtils.repeat("═",longestCell), "╞", "╡", "╪", header.size()));
         for (int r = 0; r < footer.size(); r++) {
            printRow(stream, footer.get(r), longestCell, longestRow);
            if (r + 1 < footer.size()) {
               stream.println(hline);
            }
         }
      }


      stream.printf("└%s", horizontalBar);
      for (int i = 1; i < longestRow; i++) {
         stream.printf("┴%s", horizontalBar);
      }
      stream.println("┘");


   }
174228
public void print(int i) throws IOException
  {
    if (_startLine)
      printIndent();

    _os.print(i);
    _lastCr = false;
  }
343216
def writeArray(fp, a, delim = " ", nl = 1):
    
    for i in a:
        fp.write("%f%s" % (i, delim))
    if nl:
        fp.write("\n")
784611
public void printCoordinate(int[] index, long[] data, int offset) {
        int size = index.length;
        if (size != data.length)
            throw new IllegalArgumentException(
                    "All arrays must be of the same size");
        for (int i = 0; i < size; ++i)
            format(Locale.ENGLISH, "%10d %10d%n", index[i] + offset, data[i]);
    }
1012772
public static void print(String string, Number[][] matrix2, PrintStream out)
    {
        if (out == null)
        {
            return;
        }
        out.println(string);
        printResult(matrix2, out);
    }
786871
public void printDetails(final PrintWriter out) {
    out.print(this + ", entries = [");
    for (int i = 0; i < entries.length; i++) {
      if (entries[i] != null) {
        LinkedElement<T> e = entries[i];
        out.print("\n  " + i + ": " + e);
        for (e = e.next; e != null; e = e.next) {
          out.print(" -> " + e);
        }
      }
    }
    out.println("\n]");
  }
1345032
public void print(IncidentStream is, int actualDepth) {
        for (IntrospectionLevelMember ilm : _members) {
            ilm.print(is, actualDepth);
        }
    }
133632
@Override
    public final void writeStartArray() throws IOException, JsonGenerationException
    {
        _verifyValueWrite("start an array");
        _writeContext = _writeContext.createChildArrayContext();
        if (_cfgPrettyPrinter != null) {
            _cfgPrettyPrinter.writeStartArray(this);
        } else {
            if (_outputTail >= _outputEnd) {
                _flushBuffer();
            }
            _outputBuffer[_outputTail++] = '[';
        }
    }