org.encog.util.logging
Class DumpMatrix

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

public final class DumpMatrix
extends Object

A utility for writing matrixes to the log.

Author:
jheaton

Field Summary
static int MAX_PRECIS
          Maximum precision.
 
Method Summary
static String dumpArray(double[] d)
          Dump an array of numbers to a string.
static 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 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 String dumpMatrix(Matrix matrix)
Dump a matrix to a string.

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


Copyright © 2014. All Rights Reserved.