関数sequence_rmean_rtrend マニュアル

(The documentation of function sequence_rmean_rtrend)

Last Update: 2025/4/8


◆機能・用途(Purpose)

時系列データから平均値と線形トレンドを差し引く。
Subtract the mean and linear trend of a time series data.


◆形式(Format)

#include <sequence/operation.h>
inline struct sequence sequence_rmean_rtrend(const struct sequence original)


◆引数(Arguments)

original 平均値と線形トレンドを差し引く前の時系列データ。
The original time series data before subtracting the average and linear trend.


◆戻り値(Return value)

引数originalが表す時系列データから平均値と線形トレンドを差し引いた時系列データ。
A time series data obtained by subtracting the mean and the linear trend from a time series data given by argument original.


◆使用例(Example)

struct sequence old,new;
new=sequence_rmean_rtrend(old);