Cytoscape 2.8.0 API

cytoscape.util
Class MathUtil

java.lang.Object
  extended by cytoscape.util.MathUtil

public class MathUtil
extends Object


Constructor Summary
MathUtil()
           
 
Method Summary
static boolean almostEqual(double x1, double x2)
           
static boolean almostEqual(float x1, float x2)
           
static long getExponent(double f)
           
static int getExponent(float f)
           
static boolean isValidDouble(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathUtil

public MathUtil()
Method Detail

getExponent

public static int getExponent(float f)

getExponent

public static long getExponent(double f)

almostEqual

public static boolean almostEqual(float x1,
                                  float x2)

almostEqual

public static boolean almostEqual(double x1,
                                  double x2)

isValidDouble

public static boolean isValidDouble(String s)

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.