PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::source::SeriesLinreg Class Reference

#include <pine_ta_series_ma.hpp>

Public Member Functions

 SeriesLinreg ()
 
 SeriesLinreg (WindowCacheCapacity cache)
 
double compute (double source, double offset, double current_length)
 
double recompute (double source, double offset, double current_length)
 
void observe_owned_storage (OwnedStorage &out) const noexcept
 

Detailed Description

Definition at line 493 of file pine_ta_series_ma.hpp.

Constructor & Destructor Documentation

◆ SeriesLinreg() [1/2]

pineforge::source::SeriesLinreg::SeriesLinreg ( )
inline

Definition at line 495 of file pine_ta_series_ma.hpp.

References SeriesLinreg(), and pineforge::window_cache_capacity().

Referenced by SeriesLinreg().

◆ SeriesLinreg() [2/2]

pineforge::source::SeriesLinreg::SeriesLinreg ( WindowCacheCapacity cache)
inlineexplicit

Definition at line 496 of file pine_ta_series_ma.hpp.

Member Function Documentation

◆ compute()

double pineforge::source::SeriesLinreg::compute ( double source,
double offset,
double current_length )
inline

Definition at line 497 of file pine_ta_series_ma.hpp.

◆ recompute()

double pineforge::source::SeriesLinreg::recompute ( double source,
double offset,
double current_length )
inline

Definition at line 500 of file pine_ta_series_ma.hpp.

◆ observe_owned_storage()

void pineforge::source::SeriesLinreg::observe_owned_storage ( OwnedStorage & out) const
inlinenoexcept

Definition at line 503 of file pine_ta_series_ma.hpp.


The documentation for this class was generated from the following file: