gnu.math
public class DQuantity extends Quantity implements Externalizable
Constructor Summary | |
---|---|
DQuantity(double factor, Unit unit) |
Method Summary | |
---|---|
static DQuantity | add(DQuantity x, DQuantity y, double k) |
Numeric | add(Object y, int k) |
Numeric | addReversed(Numeric x, int k) |
Numeric | div(Object y) |
static DQuantity | divide(DQuantity x, DQuantity y) |
Numeric | divReversed(Numeric x) |
double | doubleValue() |
boolean | isExact() |
boolean | isZero() |
Numeric | mul(Object y) |
Numeric | mulReversed(Numeric x) |
Complex | number() |
RealNum | re() |
void | readExternal(ObjectInput in) |
static DQuantity | times(DQuantity x, DQuantity y) |
Unit | unit() |
void | writeExternal(ObjectOutput out) |
Serial Data: Write the value (using writeDouble) followed by the Unit (using writeObject).