org.ejml
Class UtilEjml

java.lang.Object
  extended by org.ejml.UtilEjml

public class UtilEjml
extends Object

Various functions that are useful but don't have a clear location that they belong in.

Author:
Peter Abeles

Field Summary
static double EPS
           
static double TOLERANCE
          Default tolerance.
static String VERSION
          Version string used to indicate which version of EJML is being used.
 
Constructor Summary
UtilEjml()
           
 
Method Summary
static boolean isUncountable(double val)
           
static double max(double[] array, int start, int length)
           
static void memset(double[] data, double val)
           
static void memset(double[] data, double val, int length)
           
static void memset(int[] data, int val, int length)
           
static DenseMatrix64F parseMatrix(String s, int numColumns)
          Give a string of numbers it returns a DenseMatrix
static
<T> void
setnull(T[] array)
           
static Integer[] sortByIndex(double[] data, int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static String VERSION
Version string used to indicate which version of EJML is being used.


TOLERANCE

public static double TOLERANCE
Default tolerance.


EPS

public static double EPS
Constructor Detail

UtilEjml

public UtilEjml()
Method Detail

isUncountable

public static boolean isUncountable(double val)

memset

public static void memset(double[] data,
                          double val)

memset

public static void memset(double[] data,
                          double val,
                          int length)

memset

public static void memset(int[] data,
                          int val,
                          int length)

setnull

public static <T> void setnull(T[] array)

max

public static double max(double[] array,
                         int start,
                         int length)

parseMatrix

public static DenseMatrix64F parseMatrix(String s,
                                         int numColumns)
Give a string of numbers it returns a DenseMatrix


sortByIndex

public static Integer[] sortByIndex(double[] data,
                                    int size)


Copyright © 2012. All Rights Reserved.