Skip to main content

pamoja_trend_capacity

Function pamoja_trend_capacity 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_trend_capacity( trend: *const PamojaTrend, ) -> usize
Expand description

Returns how many readings a trend estimator keeps.

§Returns

The capacity, or 0 if trend is null.

§Safety

trend must be a live handle from a trend constructor, or null.