関数imsequence2_standard_deviation マニュアル

(The documentation of function imsequence2_standard_deviation)

Last Update: 2021/12/8


◆機能・用途(Purpose)

フーリエスペクトルのサンプルの値の標準偏差を計算する。
Calculate the standard deviation of the sample values of a Fourier spectral data.


◆形式(Format)

#include <sequence/statistics.h>
inline double imsequence2_standard_deviation(struct imsequence2 seq)


◆引数(Arguments)

seq 計算に用いるフーリエスペクトルを表す構造体。
A structure to represent the Fourier spectral data used for the computation.


◆戻り値(Return value)

seq.valueの配列要素の標準偏差。
The standard deviation of the array components of seq.value.


◆使用例(Example)

struct imsequence2 seq;
double sigma=imsequence2_standard_deviation(seq);


◆計算方法 (Computation method)

関数imsequence2_dispersion (sequence/statistics.h) を用いて分散を計算した後、 その\(\sqrt{\hspace{0.5em}}\)を計算することで標準偏差を求める。
The dispersion is calculated with function imsequence2_dispersion (sequence/statistics.h), and then the square root of the dispersion is calculated and returned.