Infinite number of parameters - how?

September 21 2011 by danishmath 5
false

1


How do I allow an infinite amount of parameters (...rest parameters don't seem to exist in Maple) such as the ones in the piecewise procedure (except for the optional parameter)?

piecewise(cond_1, f_1, cond_2, f_2, ..., cond_n, f_n, f_otherwise)

 
Loading Comments & Answers

You must be logged into your MaplePrimes account in order to post a comment. If you don't have an account, you can create an account here.

     

Forgot Your Password? Create an Account