Saturday, October 28, 2006

Testing, take 2

Testing....

This is a test to see if the following Mimsi code to evaluate a polynomial posts correctly.

evaluate : Polynomial p -> Number x -> Number {
(+)//0 ' (*) << reverse p.coeffs <> ( xVals = (x*) << 1 : xVals )
}

Not terribly important in the grand scheme of things, but the last method I tried failed miserably, and one day I'll need to post info as to how the language actually works (when it's more than a gleam in it's nerd's eye, that is).

Blog Archive