The Encog Project

org.encog.util.logging
Class DumpMatrix

java.lang.Object
  extended by org.encog.util.logging.DumpMatrix

public final class DumpMatrix
extends java.lang.Object

A utility for writing matrixes to the log.

Author:
jheaton

Field Summary
static int MAX_PRECIS
          Maximum precision.
 
Method Summary
static java.lang.String dumpArray(double[] d)
          Dump an array of numbers to a string.
static java.lang.String dumpMatrix(Matrix matrix)
          Dump a matrix to a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_PRECIS

public static final int MAX_PRECIS
Maximum precision.

See Also:
Constant Field Values
Method Detail

dumpArray

public static java.lang.String dumpArray(double[] d)
Dump an array of numbers to a string.

Parameters:
d - The array to dump.
Returns:
The array as a string.

dumpMatrix

public static java.lang.String dumpMatrix(Matrix matrix)
Dump a matrix to a string.

Parameters:
matrix - The matrix.
Returns:
The matrix as a string.

The Encog Project