edu.pdx.starview.calc
Class SVMath

java.lang.Object
  extended byedu.pdx.starview.calc.SVMath

public class SVMath
extends java.lang.Object

This class provides general purpose math functions that aren't otherwise offered.

Author:
Dave Camarillo

Constructor Summary
SVMath()
           
 
Method Summary
static double Frac(double x)
           
static double Modulo(double x, double y)
          TODO Is there a java operation or method to do this???
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVMath

public SVMath()
Method Detail

Frac

public static double Frac(double x)
Returns:
The fractional portion of a number.

Modulo

public static double Modulo(double x,
                            double y)
TODO Is there a java operation or method to do this???

Returns:
calculates x mod y