Package | Description |
---|---|
tech.units.indriya.internal.function.calc |
Modifier and Type | Method | Description |
---|---|---|
Calculator |
Calculator.abs() |
Calculates the absolute value of this
Calculator ´s accumulator,
then stores the result in the accumulator. |
Calculator |
Calculator.add(Number number) |
Adds
number to this Calculator ´s accumulator,
then stores the result in the accumulator. |
Calculator |
Calculator.divide(Number number) |
Divides this
Calculator ´s accumulator by number ,
then stores the result in the accumulator. |
Calculator |
Calculator.exp() |
Calculates Euler's constant taken to the power of this
Calculator ´s accumulator,
then stores the result in the accumulator. |
protected static Calculator |
Calculator.getInstance() |
Returns a new instance of a
Calculator initialized with the default NumberSystem ,
as set at Calculus.currentNumberSystem() |
Calculator |
Calculator.load(Number number) |
Loads
number into this Calculator ´s accumulator. |
Calculator |
Calculator.log() |
Calculates the natural logarithm of this
Calculator ´s accumulator,
then stores the result in the accumulator. |
Calculator |
Calculator.multiply(Number number) |
Multiplies
number with this Calculator ´s accumulator,
then stores the result in the accumulator. |
Calculator |
Calculator.negate() |
Calculates the additive inverse value of this
Calculator ´s accumulator,
then stores the result in the accumulator. |
static Calculator |
Calculator.of(Number number) |
Shortcut for
getDefault().load(number) . |
Calculator |
Calculator.power(int exponent) |
Takes this
Calculator ´s accumulator to the integer power of exponent ,
then stores the result in the accumulator. |
Calculator |
Calculator.reciprocal() |
Calculates the multiplicative inverse value of this
Calculator ´s accumulator,
then stores the result in the accumulator. |
Calculator |
Calculator.subtract(Number number) |
Subtracts
number from this Calculator ´s accumulator,
then stores the result in the accumulator. |
Copyright © 2005–2020 Units of Measurement project. All rights reserved.