Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Topic: How to find a bounding line?
Replies: 39   Last Post: Jul 12, 2013 5:39 AM

 Messages: [ Previous | Next ]
 Peter Percival Posts: 2,543 Registered: 10/25/10
Re: How to find a bounding line?
Posted: Jul 7, 2013 6:59 PM

bethy wrote:
> <ols6000@sbcglobal.net> wrote in message

>> I have a N points (x_i, y_i). I want to find a bounding line y = ax + b,
>> such that y_i - y(x_i) >= 0. x_i and y_i are positive integers; a, b and y
>> are real,and x is an integer.
>>
>> y_i = i, and x_{i+1} > x_i for all i<N
>>
>> N is very large (100,000 - 1,000,000), so I'm looking for a method that is
>> O(N) (or better).
>>
>> An ideas on how this line could be found, i e, how to determine a and b
>> efficiently from the N data points?

>
>
>
> you state N is two dimentional, then you have it as one dimentional ("for
> all i<N").
> Which is it ?
>

N has no dimension, it is a number, viz the number of points.

--
I think I am an Elephant,
Behind another Elephant
Behind /another/ Elephant who isn't really there....
A.A. Milne

Date Subject Author
7/7/13 Woody
7/7/13 Scott Berg
7/7/13 Peter Percival
7/7/13 Woody
7/7/13 quasi
7/7/13 quasi
7/8/13 quasi
7/8/13 Woody
7/8/13 quasi
7/8/13 LudovicoVan
7/8/13 LudovicoVan
7/10/13 Woody
7/10/13 quasi
7/8/13 Leon Aigret
7/8/13 Woody
7/10/13 Leon Aigret
7/10/13 Leon Aigret
7/10/13 Woody
7/10/13 RGVickson@shaw.ca
7/10/13 Woody
7/10/13 quasi
7/7/13 quasi
7/7/13 quasi
7/7/13 quasi
7/8/13 William Elliot
7/8/13 Peter Percival
7/8/13 quasi
7/11/13 Woody
7/11/13 quasi
7/11/13 LudovicoVan
7/11/13 quasi
7/11/13 Leon Aigret
7/11/13 Woody
7/11/13 Leon Aigret
7/12/13 Woody
7/12/13 Leon Aigret
7/11/13 Woody
7/12/13 quasi
7/12/13 Woody
7/12/13 quasi