Skip to main content

pamoja_trend_new

Function pamoja_trend_new 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_trend_new() -> *mut PamojaTrend
Expand description

Creates an empty trend estimator over PAMOJA_WINDOW_CAPACITY readings.

§Returns

A handle the caller must release with pamoja_trend_free.

§Safety

The returned handle must be freed exactly once.