Kombatant said:suicuique said:What is piecewise linear about "If X < Threshold return A" ?
As you may know, constant functions (though representable by a "line") are not considered linear.
So a piecewise fuction of constant and linear functions, is *not* piecewise linear in any means of the word.
/nitpicking mode off
regards, alex
Ahh... mathematics Allow me to play too. Linear functions have the form of:
f(x) = a*x + b
and we call them linear because a) they are a straight line b) the 'x' is in the power of 1.
So, as you can see, if you have a=0 and b=A, you have the function:
f(x) = A
That function is a subcase of the linear functions. So it is STILL a linear function
edit: Here's one of the links that google got me, I am sure you can find a lot more : http://people.hofstra.edu/faculty/Stefan_Waner/RealWorld/tutorialsf0/frames1_3.html
Thanks for the link but i have studied Maths for 6 years in college, so i should be comfortable with polynoms
And the "order" of the polynom is called after the highest NonZero coeffecient.
If you would not do this that way, something like y = 3*x+5 could be called a polynom of second order, 5th order etc . Where to stop?
Hence it makes perfect sense, to impose the constraint that a=!0 in the general formula y=a*x+b to call that function linear.
Looking forward to your reply
Edit Addendum:
Kombatant said:Linear functions have the form of:
f(x) = a*x + b
and we call them linear because a) they are a straight line b) the 'x' is in the power of 1.
Linear functions (respective functionals) are called this way because they are linear in their argument, so f(x) is linear in x if and only if f(a*x)=a*f(x).
I dont see this condition being served for the constant functions (=!0 .
Note: That strict definition would not even allow offsets (read: affine Transformations), but as this would really become way too OT I will stop here. I still stand by my assertion, that constant functions are in now way considered "linear" in mathematics.
regards, alex