関数sequence_power2_summation マニュアル
(The documentation of function
sequence_power2_summation
)
Last Update: 2021/12/8
◆機能・用途
(Purpose)
時系列データのサンプルの値の2乗和を計算する。
Calculate the square summation of the sample values of a time series data.
◆形式
(Format)
#include <sequence/statistics.h>
inline double sequence_power2_summation(struct sequence seq)
◆引数
(Arguments)
seq
計算に用いる時系列データを表す構造体。
A structure to represent the time series data used for the computation.
◆戻り値
(Return value)
seq.valueの配列要素の2乗和。
The square summation of the array components of
seq.value
.
◆使用例
(Example)
struct sequence seq;
double sqsum=sequence_power2_summation(seq);