Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

Math Functions

Function

Description

double abs(double a)

Returns the absolute value of a double value.

float abs(float a)

Returns the absolute value of a float value.

int abs(int a)

Returns the absolute value of an int value.

long abs(long a)

Returns the absolute value of a long value.

double acos(double a)

Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.

double asin(double a)

Returns the arc sine of a value; the returned angle is in the range -pi/2 through pi/2.

double atan(double a)

Returns the arc tangent of a value; the returned angle is in the range -pi/2 through pi/2.

double atan2(double y, double x)

Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).

avg(d) Calculates average value from an array. Works with object and primitive arrays, e.g. double[], Double[], int[] int, Integer[], Number[], BigDecimal[] etc.

double cbrt(double a)

Returns the cube root of a double value.

double ceil(double a)

Returns the smallest (closest to negative infinity) double value that is greater than or equal to the argument and is equal to a mathematical integer.

double copySign(double magnitude, double sign)

Returns the first floating-point argument with the sign of the second floating-point argument.

float copySign(float magnitude, float sign)

Returns the first floating-point argument with the sign of the second floating-point argument.

double cos(double a)

Returns the trigonometric cosine of an angle.

double cosh(double x)

Returns the hyperbolic cosine of a double value.

double exp(double a)

Returns Euler's number e raised to the power of a double value.

double expm1(double x)

Returns ex -1.

double floor(double a)

Returns the largest (closest to positive infinity) double value that is less than or equal to the argument and is equal to a mathematical integer.

int getExponent(double d)

Returns the unbiased exponent used in the representation of a double.

int getExponent(float f)

Returns the unbiased exponent used in the representation of a float.

double hypot(double x, double y)

Returns sqrt(x2 +y2) without intermediate overflow or underflow.

double IEEEremainder(double f1, double f2)

Computes the remainder operation on two arguments as prescribed by the IEEE 754 standard.

double log(double a)

Returns the natural logarithm (base e) of a double value.

double log10(double a)

Returns the base 10 logarithm of a double value.

double log1p(double x)

Returns the natural logarithm of the sum of the argument and 1.

double max(double a, double b)

Returns the greater of two double values.

float max(float a, float b)

Returns the greater of two float values.

int max(int a, int b)

Returns the greater of two int values.

long max(long a, long b)

Returns the greater of two long values.

median(d)Calculates median from an array. Works with object and primitive arrays, e.g. double[], Double[], int[] int, Integer[], Number[], BigDecimal[] etc.

double min(double a, double b)

Returns the smaller of two double values.

float min(float a, float b)

Returns the smaller of two float values.

int min(int a, int b)

Returns the smaller of two int values.

long min(long a, long b)

Returns the smaller of two long values.

double nextAfter(double start, double dir)

Returns the floating-point number adjacent to the first argument in the direction of the second argument.

float nextAfter(float start, double dir)

Returns the floating-point number adjacent to the first argument in the direction of the second argument.

double nextUp(double d)

Returns the floating-point value adjacent to d in the direction of positive infinity.

float nextUp(float f)

Returns the floating-point value adjacent to f in the direction of positive infinity.

double pow(double a, double b)

Returns the value of the first argument raised to the power of the second argument.

double random()

Returns a double value with a positive sign, greater than or equal to 0.0 and less than 1.0.

double rint(double a)

Returns the double value that is closest in value to the argument and is equal to a mathematical integer.

long round(double a)

Returns the closest long to the argument.

int round(float a)

Returns the closest int to the argument.

double scalb(double d, int scaleFactor)

Return d × 2scaleFactor rounded as if performed by a single correctly rounded floating-point multiply to a member of the double value set.

float scalb(float f, int scaleFactor)

Return f × 2scaleFactor rounded as if performed by a single correctly rounded floating-point multiply to a member of the float value set

double signum(double d)

Returns the signum function of the argument; zero if the argument is zero, 1.0 if the argument is greater than zero, -1.0 if the argument is less than zero.

float signum(float f)

Returns the signum function of the argument; zero if the argument is zero, 1.0f if the argument is greater than zero, -1.0f if the argument is less than zero.

double sin(double a)

Returns the trigonometric sine of an angle.

double sinh(double x)

Returns the hyperbolic sine of a double value.

double sqrt(double a)

Returns the correctly rounded positive square root of a double value.

double tan(double a)

Returns the trigonometric tangent of an angle.

double tanh(double x)

Returns the hyperbolic tangent of a double value.

double toDegrees(double angrad)

Converts an angle measured in radians to an approximately equivalent angle measured in degrees.

double toRadians(double angdeg)

Converts an angle measured in degrees to an approximately equivalent angle measured in radians.

double ulp(double d)

Returns the size of an ulp of the argument.

float ulp(float f)

Returns the size of an ulp of the argument.

long factorial(int value)

Returns the factorial of passed value.

Regression functions

Function

Description

linereg(String indicatorCode)

Linear regression

polyreg(2, String indicatorCode)

Quadratic regression

polyreg(3, String indicatorCode)

General polynomial regression

Next Steps

Sv translation
languageja
計算機能

数学関数

 

 

関数

機能

説明

double abs(double a)

2倍の値の絶対値を返します。

float abs(float a)

浮動値の絶対値を返します。

int abs(int a)

int値の絶対値を返します。

long abs(long a)

ロング値の絶対値を返します。

double acos(double a)

値のコサインの逆関数を返します。戻された角度は0.0からπまでの範囲です。

double asin(double a)

値のサインの逆関数を返します。戻された角度は-π/2からπ/2までの範囲です。

double atan(double a)

値のタンジェントの逆関数を返します。戻された角度は-π/2からπ/2までの範囲です。

double atan2(double y, double x)

直角座標(x, y)から極座標(r, シータ)への変換から角度シータに返します。

double cbrt(double a)

2倍値の立方根に返します。

double ceil(double a)

引数以上で整数である最小(負の無限大に最も近い)2倍値を返します。 

double copySign(double magnitude, double sign)

最初の浮動小数点引数を2番目の浮動小数点引数の印とともに返します。

float copySign(float magnitude, float sign)

最初の浮動小数点引数を2番目の浮動小数点引数の印とともに返します。

double cos(double a)

三角法のコサインの角度を返します。

double cosh(double x)

2倍値の双曲線のコサインを返します。

double exp(double a)

2倍値になったオイラー数に返します。

double expm1(double x)

ex -1を返します。

double floor(double a)

引数以下で整数である最大(正の無限大に最も近い)2倍値を返します。

int getExponent(double d)

2倍表現に使用されている不偏ベキ指数を返します。

int getExponent(float f)

浮動表現に使用されている不偏ベキ指数を返します。

double hypot(double x, double y)

中間のオーバーフロー・アンダーフローなしで平方根(x2 +y2)を返します。

double IEEEremainder(double f1, double f2)

IEEE 754基準に指示されているような2つの引数の維持操作を計算します。

double log(double a)

2倍値の自然対数(base e)を返します。 

double log10(double a)

2倍値の10進法対数を返します。

double log1p(double x)

引数と1の合計の自然対数を返します。

double max(double a, double b)

2つの2倍値の大きい方を返します。

float max(float a, float b)

2つの浮動値の大きい方を返します。

int max(int a, int b)

2つのint値の大きい方を返します。

long max(long a, long b)

2つのロング値の大きい方を返します。

double min(double a, double b)

2つの2倍値の小さい方を返します。

float min(float a, float b)

2つの浮動値の小さい方を返します。

int min(int a, int b)

2つのint値の小さい方を返します。

long min(long a, long b)

2つのロング値の小さい方を返します。

double nextAfter(double start, double dir)

2番目の引数の方向にある最初の引数の隣にある浮動点数を返します。

float nextAfter(float start, double dir)

2番目の引数の方向にある最初の引数の隣にある浮動点数を返します。

double nextUp(double d)

正の無限大の方向のdの隣にある浮動点値を返します。

float nextUp(float f)

正の無限大の方向のfの隣にある浮動点値を返します。

double pow(double a, double b)

2番目の引数まで上げられた最初の引数値を返します。

double random()

0.0以上1.0より小さい正の符号で2倍値を返します。

double rint(double a)

引数に最も値が近く整数である2倍値を返します。

long round(double a)

引数に最も近いロングを返します。  

int round(float a)

引数に最も近いintを返します。

double scalb(double d, int scaleFactor)

正しく切り上げられた単一の浮動点×2倍値セットのメンバーのように切り上げられたd×2スケールファクターを返します。

float scalb(float f, int scaleFactor)

正しく切り上げられた単一の浮動点×フロー値セットのメンバーのように切り上げられたf×2スケールファクターを返します。

double signum(double d)

引数の符号関数機能を返します。引数が0の場合は00より大きい場合は1.00より小さい場合は-1.0です。

float signum(float f)

引数の符号関数機能を返します。引数が0の場合は00より大きい場合は1.00より小さい場合は-1.0です。

double sin(double a)

角度の三角法のサインを返します。

double sinh(double x)

2倍値の双曲線のサインを返します。

double sqrt(double a)

正確に切り上げられた2倍値の正の平方根を返します。

double tan(double a)

角度の三角法のタンジェントを返します。

double tanh(double x)

2倍値の双曲線のタンジェントを返します。

double toDegrees(double angrad)

弧度で図られた角度を度で図られた角度とおおよそ同等に変換します。

double toRadians(double angdeg)

度で図られた角度を弧度で図られた角度とおおよそ同等に変換します。

double ulp(double d)

引数のulpの大きさを返します。

float ulp(float f)

引数のulpの大きさを返します。

long factorial(int value)

パスされた値の階乗を返します。

回帰機能

回帰関数

機能関数

説明

linereg(String indicatorCode)

線形回帰

polyreg(2, String indicatorCode)

二次回帰

polyreg(3, String indicatorCode)

一般多項回帰一般多項式回帰

次に

正しく切り上げられた単一の浮動点×フロー値セットのメンバーのように切り上げられたf×2スケールファクターを返します。
Sv translation
languagede

Mathematische Funktionen

Funktion

Beschreibung

double abs(double a)

Liefert den absoluten Wert eines Doppelwertes.

float abs(float a)

Liefert den absoluten Wert eines Float-Wertes.

int abs(int a)

Liefert den absoluten Wert eines int Wertes.

long abs(long a)

Liefert den absoluten Wert eines langen Wertes.

double acos(double a)

Liefert den Arcus-Cosinus eines Wertes; der zurückgegebene Winkel liegt im Bereich von 0,0 bis pi.

double asin(double a)

Liefert den Arcus-Sinus eines Wertes; der zurückgegebene Winkel liegt im Bereich -pi/2 bis pi/2.

double atan(double a)

Liefert den Arcustangens eines Wertes; der zurückgegebene Winkel liegt im Bereich -pi/2 bis pi/2.

double atan2(double y, double x)

Liefert das Winkel-Theta aus der Umrechnung von Rechteckkoordinaten (x, y) in Polarkoordinaten (r, theta).

avg(d) Berechnet den Durchschnittswert aus einem Array. Arbeitet mit Objekt- und primitiven Arrays, z.B. double[], Double[], int[] int, Integer[], Number[], BigDecimal[] etc.

double cbrt(double a)

Liefert die Cube-Wurzel eines Double-Wertes.

double ceil(double a)

Liefert den kleinsten (der negativen Unendlichkeit am nächsten kommenden) Doppelwert, der größer oder gleich dem Argument ist und gleich einer mathematischen ganzen Zahl ist.

double copySign(double magnitude, double sign)

Liefert das erste Gleitkommaargument mit dem Vorzeichen des zweiten Gleitkommaarguments.

float copySign(float magnitude, float sign)

Liefert das erste Gleitkommaargument mit dem Vorzeichen des zweiten Gleitkommaarguments.

double cos(double a)

Liefert den trigonometrischen Kosinus eines Winkels.

double cosh(double x)

Liefert den hyperbolischen Kosinus eines doppelten Wertes.

double exp(double a)

Liefert die Zahl e von Euler, die auf die Stärke eines doppelten Wertes erhöht wurde.

double expm1(double x)

Liefert ex -1.

double floor(double a)

Liefert den größten (der positiven Unendlichkeit am nächsten kommenden) Doppelwert, der kleiner oder gleich dem Argument ist und gleich einer mathematischen ganzen Zahl ist.

int getExponent(double d)

Returns the unbiased exponent used in the representation of a double.

int getExponent(float f)

Liefert den unvoreingenommenen Exponenten, der bei der Darstellung eines Floats verwendet wird.

double hypot(double x, double y)

Liefert sqrt(x2 +y2) ohne Zwischenüberlauf oder Unterlauf.

double IEEEremainder(double f1, double f2)

Berechnet die verbleibende Operation mit zwei Argumenten, wie sie im IEEE 754-Standard vorgeschrieben sind.

double log(double a)

Liefert den natürlichen Logarithmus (Basis e) eines doppelten Wertes.

double log10(double a)

Liefert den Logarithmus der Basis 10 eines Doppelwertes.

double log1p(double x)

Liefert den natürlichen Logarithmus der Summe aus Argument und 1.

double max(double a, double b)

Liefert den größeren von zwei Doppelwerten.

float max(float a, float b)

Liefert den größeren von zwei Float-Werten.

int max(int a, int b)

Liefert den größeren von zwei int Werten.

long max(long a, long b)

Liefert den größeren von zwei langen Werten.

median(d)Berechnet den Median aus einem Array. Arbeitet mit Objekt- und primitiven Arrays, z.B. double[], Double[], int[] int, Integer[], Number[], BigDecimal[] etc.

double min(double a, double b)

Returns the smaller of two double values.

float min(float a, float b)

Returns the smaller of two float values.

int min(int a, int b)

Liefert den kleineren von zwei int Werten.

long min(long a, long b)

Returns the smaller of two long values.

double nextAfter(double start, double dir)

Liefert die Gleitkommazahl neben dem ersten Argument in Richtung des zweiten Arguments.

float nextAfter(float start, double dir)

Liefert die Gleitkommazahl neben dem ersten Argument in Richtung des zweiten Arguments.

double nextUp(double d)

Liefert den Gleitkommawert angrenzend an d in Richtung positive Unendlichkeit.

float nextUp(float f)

Liefert den Fließkommawert angrenzend an f in Richtung positive Unendlichkeit.

double pow(double a, double b)

Returns the value of the first argument raised to the power of the second argument.

double random()

Liefert einen Doppelwert mit einem positiven Vorzeichen, größer oder gleich 0,0 und kleiner als 1,0.

double rint(double a)

Liefert den doppelten Wert, der dem Argument am nächsten liegt und gleich einer mathematischen Ganzzahl ist.

long round(double a)

Liefert die dem Argument am nächsten liegende Länge.

int round(float a)

Gibt das dem Argument am nächsten liegende int zurück.

double scalb(double d, int scaleFactor)

Liefert d × 2scaleFactor gerundet, als ob es von einem einzelnen korrekt gerundeten Gleitkomma multipliziert mit einem Element des Doppelwertsatzes ausgeführt würde.

float scalb(float f, int scaleFactor)

Liefert f × 2scaleFactor gerundet, als ob es von einem einzelnen korrekt gerundeten Gleitkomma multipliziert mit einem Element des Float-Wertesatzes ausgeführt würde.

double signum(double d)

Liefert die signum-Funktion des Arguments; Null, wenn das Argument Null ist, 1.0, wenn das Argument größer als Null ist, -1.0, wenn das Argument kleiner als Null ist.

float signum(float f)

Liefert die signum-Funktion des Arguments; Null, wenn das Argument Null ist, 1.0f, wenn das Argument größer als Null ist, -1.0f, wenn das Argument kleiner als Null ist.

double sin(double a)

Liefert den trigonometrischen Sinus des Cangels.

double sinh(double x)

Liefert den hyperbolischen Sinus eines doppelten Wertes.

double sqrt(double a)

Liefert die korrekt gerundete positive Quadratwurzel eines Doppelwertes.

double tan(double a)

Liefert den trigonometrischen Tangens eines Winkels.

double tanh(double x)

Liefert den hyperbolischen Tangens eines Doppelwertes.

double toDegrees(double angrad)

Konvertiert einen in Bogenmaß gemessenen Winkel in einen annähernd gleichwertigen Winkel in Grad.

double toRadians(double angdeg)

Konvertiert einen in Grad gemessenen Winkel in einen annähernd gleichwertigen Winkel, der in Bogenmaß gemessen wird.

double ulp(double d)

Liefert die Größe einer ulp des Arguments.

float ulp(float f)

Liefert die Größe einer ulp des Arguments.

long factorial(int value)

Liefert die Fakultät des übergebenen Wertes.

Funktionen zur Regression

Funktion

Beschreibung

linereg(String indicatorCode)

Lineare Regression

polyreg(2, String indicatorCode)

Quadratische Regression

polyreg(3, String indicatorCode)

Allgemeine polynome Regression

Nächste Schritte