s_m_p: Computing linear segments for a specified error norm value.

Description Usage Arguments Value

Description

Segments the data in x,y into the intervals given in the output array A. The data in each interval can be linearly fitted within an error, given by r2b(), less than eps.

Usage

1
s_m_p(eps, x, y)

Arguments

eps

[real] error norm

x

[real] input x-axis array, should be an increasing function of index

y

[real] input y-axis array

Value

[integer] array A of indices giving data segments. A[i] start of interval; A[i+1] end of interval, for any i<length(A)


boshek/limnotools documentation built on May 13, 2019, 12:36 a.m.