関数imsequence_standard_deviation マニュアル

(The documentation of function imsequence_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 imsequence_standard_deviation(struct imsequence 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 imsequence seq;
double sigma=imsequence_standard_deviation(seq);


◆計算方法 (Computation method)

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