madadivad

16 Reputation

2 Badges

18 years, 285 days

MaplePrimes Activity


These are questions asked by madadivad

I am working on a project in Maple 10 that was originally designed for Maple 9.5. I am trying to define the weighting function wt. The problem is that the instructions say to type the following command line: wt := n -> if n=0 then 1 elif n=NInts then 1 else 2 end if; However, when I do, the following error message shows up with the phrase "n -> if" highlighted in a red box. "Error, invalid inline function wt := n ->if n=0 then 1 elif n=NInts then 1 else 2 end if;" Thank you for your help. Adam
Page 1 of 1