|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.util.MagnitudeAdjustment
The MagnitudeAdjustment
represents a formula to
convert magnitude of a star in the first list to that of a star in
the second list based on a cubic function.
Field Summary | |
protected SimultaneousEquation |
se
The cubic funciton. |
Constructor Summary | |
MagnitudeAdjustment(java.util.Vector pair_list)
Constructs a MagnitudeAdjustment based on the
specified list of StarPair . |
Method Summary | |
double |
adjust(double mag)
Adjusts the specified magnitude and returns the new magnitude. |
boolean |
isProper()
Returns true if the solved cubic function is monotone increasing. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected SimultaneousEquation se
Constructor Detail |
public MagnitudeAdjustment(java.util.Vector pair_list)
MagnitudeAdjustment
based on the
specified list of StarPair
.pair_list
- the list of pairs of two stars.Method Detail |
public boolean isProper()
public double adjust(double mag)
mag
- the magnitude to be adjusted.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |