|
JScience v2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavolution.realtime.RealtimeObject
org.jscience.mathematics.numbers.Number<Quantity>
org.jscience.physics.quantities.Quantity
org.jscience.physics.quantities.Dimensionless
public class Dimensionless
This class represents a dimensionless quantity. It contains methods for performing basic numeric operations such as the elementary exponential, logarithm and trigonometric functions.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jscience.physics.quantities.Quantity |
|---|
Quantity.Factory<Q extends Quantity> |
| Nested classes/interfaces inherited from interface javolution.realtime.Realtime |
|---|
Realtime.ObjectSpace |
| Field Summary | |
|---|---|
static Dimensionless |
e
Holds the natural logarithmic base. |
static Dimensionless |
ONE
Represents a Dimensionless amounting to 1. |
static Dimensionless |
ZERO
Represents a Dimensionless amounting to nothing. |
| Constructor Summary | |
|---|---|
protected |
Dimensionless()
Default constructor (allows for derivation). |
| Method Summary | |
|---|---|
Angle |
acos()
Returns an Angle such as its cosine is this Dimensionless. |
Angle |
asin()
Returns an Angle such as its sine is this Dimensionless. |
Angle |
atan()
Returns an Angle such as its tangent is this Dimensionless. |
Dimensionless |
exp()
Returns the exponential number e raised to the power of this Dimensionless. |
Dimensionless |
log()
Returns the natural logarithm (base e) of this Dimensionless. |
Dimensionless |
pow(Dimensionless exp)
Returns this Dimensionless raised to the power of the specified
Dimensionless exponent. |
static void |
showAs(Unit unit)
Shows Dimensionless instances in the specified unit. |
static Dimensionless |
valueOf(double doubleValue)
Returns the dimensionless corresponding to the specified doubleValue |
| Methods inherited from class org.jscience.physics.quantities.Quantity |
|---|
approxEquals, compareTo, divide, doubleValue, equals, getAbsoluteError, getAmount, getMaximum, getMinimum, getRelativeError, getUnit, hashCode, isLargerThan, longValue, minus, norm, opposite, plus, rangeOf, reciprocal, root, sqrt, times, times, to, toText, valueOf, valueOf, valueOf |
| Methods inherited from class org.jscience.mathematics.numbers.Number |
|---|
abs, byteValue, divide, floatValue, intValue, inverse, isGreaterThan, isLessThan, pow, shortValue |
| Methods inherited from class javolution.realtime.RealtimeObject |
|---|
export, move, moveHeap, preserve, recycle, toString, unpreserve |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javolution.realtime.Realtime |
|---|
move |
| Field Detail |
|---|
public static final Dimensionless ZERO
Dimensionless amounting to nothing.
public static final Dimensionless ONE
Dimensionless amounting to 1.
public static final Dimensionless e
| Constructor Detail |
|---|
protected Dimensionless()
| Method Detail |
|---|
public static Dimensionless valueOf(double doubleValue)
doubleValue
doubleValue - the double value.public static void showAs(Unit unit)
Dimensionless instances in the specified unit.
unit - the display unit for Dimensionless instances.public Dimensionless exp()
Dimensionless.
exp(this)public Dimensionless log()
Dimensionless.
log(this)public Dimensionless pow(Dimensionless exp)
Dimensionless raised to the power of the specified
Dimensionless exponent.
exp - the exponent.
this**exppublic Angle asin()
Angle such as its sine is this Dimensionless.
public Angle acos()
Angle such as its cosine is this Dimensionless.
public Angle atan()
Angle such as its tangent is this Dimensionless.
|
JScience v2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||