|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.CoordinateSystem visad.LogCoordinateSystem
public class LogCoordinateSystem
A CoordinateSystem to transform between values and their logarithms. The logarithm is the reference.
Constructor Summary | |
---|---|
LogCoordinateSystem(RealTupleType reference)
Construct a coordinate system with logarithmical reference of base 10. |
|
LogCoordinateSystem(RealTupleType reference,
double base)
Construct a coordinate system with logarithmical reference specified |
Method Summary | |
---|---|
boolean |
equals(Object cs)
See if the Object in question is equal to this LogCoordinateSystem |
double[][] |
fromReference(double[][] logValues)
Convert logrithmic values to values. |
double |
getBase()
Get the base used in this LogCoordinateSystem. |
double[][] |
toReference(double[][] values)
Convert values to logarithmic values. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogCoordinateSystem(RealTupleType reference) throws VisADException
reference
- MathType of values
VisADException
- some VisAD errorpublic LogCoordinateSystem(RealTupleType reference, double base) throws VisADException
reference
- MathType of valuesbase
- logrithmic base
VisADException
- negative or zero base specifiedMethod Detail |
---|
public double[][] toReference(double[][] values) throws VisADException
toReference
in class CoordinateSystem
values
- array of values
VisADException
- values dimension not the same as CS dimensionpublic double[][] fromReference(double[][] logValues) throws VisADException
fromReference
in class CoordinateSystem
logValues
- array of logrithmic values
VisADException
- logValues dimension not the same as CS dimensionpublic double getBase()
public boolean equals(Object cs)
equals
in class CoordinateSystem
cs
- Object in question
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |