Skip to main content

pamoja_trend_push

Function pamoja_trend_push 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_trend_push( trend: *mut PamojaTrend, reading: f32, )
Expand description

Adds a reading to a trend estimator.

Passing null is a no-op.

ยงSafety

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