![]() |
| サイトマップ | |
|
関数 sqrt
は、指定した範囲の平方根を計算し、その結果を数値またはその範囲として返します。数値的には、{numbers }^0.5 と同じ結果になりますが、より高速なアルゴリズムで処理されます。
sqrt
(numbers)
引数 numbers には、スカラーまたは範囲として与えられた数値を指定します。範囲内に含まれる欠損値や文字列は無視され、文字列や欠損値として返されます。負の値に対しては、欠損値を生成します。
sqrt({-1,0,1,2})
は、{–-,0,1,1.414}
を返します。
The sqrt function returns a value or range of values consisting of the square root of each value in the specified range. Numerically, this is the same as {numbers}^0.5, but uses a faster algorithm.
sqrt(numbers)
The numbers argument can be a scalar or range of numbers. Any missing value or text string contained within a range is ignored and returned as the string or missing value. For numbers < 0, sqrt generates a missing value.
The operation sqrt({-1,0,1,2}) returns the range {--,0,1,1.414}.