net.grelf
Class Gaussian_

java.lang.Object
  extended by net.grelf.Gaussian_
All Implemented Interfaces:
Gaussian

public class Gaussian_
extends java.lang.Object
implements Gaussian

Calculate values of the Gaussian curve. For use in convolutions.


Constructor Summary
Gaussian_(float mean, float halfHeightRadius)
          Create a Gaussian curve of given mean x-value and half-height radius.
 
Method Summary
 float calc(float x)
          Calculate a y value, given x
 java.lang.String toString()
          Get a String representation of the Gaussian
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Gaussian_

public Gaussian_(float mean,
                 float halfHeightRadius)
Create a Gaussian curve of given mean x-value and half-height radius.

Method Detail

calc

public float calc(float x)
Calculate a y value, given x

Specified by:
calc in interface Gaussian

toString

public java.lang.String toString()
Get a String representation of the Gaussian

Overrides:
toString in class java.lang.Object