Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Maple and modulo

Name: Anonymous 2006-07-24 21:34

modulo is supposed to give the rest that cannot be devided by an integer. 7 mod 3 = 1.

but wtf is maple10 doing to plot(`mod`(ceil(t), 2), t = 0 .. 7) ?
shouldnt the result be 1,0,1,0...?

how do i get this?

Name: Anonymous 2006-07-25 14:14

Wow, you're right. I also get a plot of just ceil(t); it ignores the modulus entirely. That's fucking wierd.

Name: Anonymous 2006-07-25 18:15 (sage)

I've never used Maple, but all programming languages I know implement mod as a binary operator, not a function.

Name: Anonymous 2006-07-25 18:51

Maple sucks levelling takes forever after 20

Don't change these.
Name: Email:
Entire Thread Thread List