関数imsequence_power2_summation マニュアル

(The documentation of function imsequence_power2_summation)

Last Update: 2021/12/8


◆機能・用途(Purpose)

フーリエスペクトルのサンプルの値の絶対値2乗和を計算する。
Calculate the square summation of the absolute values of the sample values of a Fourier spectral data.


◆形式(Format)

#include <sequence/statistics.h>
inline double imsequence_power2_summation(struct imsequence seq)


◆引数(Arguments)

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


◆戻り値(Return value)

seq.valueの配列要素の絶対値2乗和。
The square summation of the absolute values of the array components of seq.value.


◆使用例(Example)

struct imsequence seq;
double sqsum=imsequence_power2_summation(seq);