summaryrefslogtreecommitdiffstats
path: root/awlsim/common/movingavg.pxd.in
blob: 4a6261e96945f6acf6ce833d353d3863ce12a054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from awlsim.common.cython_support cimport *


cdef class MovingAvg(object):
	cdef uint32_t __size
	cdef double *__items
	cdef uint32_t __nrItems
	cdef uint32_t __beginPtr
	cdef uint32_t __endPtr
	cdef double __avgSum

	cdef double calculate(self, double value)
bues.ch cgit interface