Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SensorRead ¶
type SensorRead struct {
// contains filtered or unexported fields
}
func NewSensorRead ¶
func NewSensorRead(reads []int) *SensorRead
func (*SensorRead) Compute ¶
func (sr *SensorRead) Compute() error
Performs the substractions unti a sequence is all zero
func (SensorRead) ExtrapolateBackward ¶
func (sr SensorRead) ExtrapolateBackward() int
func (SensorRead) ExtrapolateForward ¶
func (sr SensorRead) ExtrapolateForward() int
Click to show internal directories.
Click to hide internal directories.