Class Current

java.lang.Object
  |
  +--Current

class Current
extends java.lang.Object
implements Function

Calculates current as a function of voltage, with temperature as a parameter.


Field Summary
protected  double t
           
 
Constructor Summary
Current()
          Creates a new Current object, with temperature set to 1K.
 
Method Summary
 double evaluate(double v)
          Calculates the current at the specified voltage.
 double getT()
          Returns the current temperature setting
 void setT(double d)
          Sets the temperature
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

t

protected double t
Constructor Detail

Current

public Current()
Creates a new Current object, with temperature set to 1K.
Method Detail

evaluate

public double evaluate(double v)
Calculates the current at the specified voltage.
Specified by:
evaluate in interface Function

getT

public double getT()
Returns the current temperature setting

setT

public void setT(double d)
Sets the temperature