Linsolve doesn't check arguments



On 9/4/2013 9:11 AM, Robert Dodier wrote:
>
> Agreed -- any user-callable function should carry out whatever checking
> is needed to ensure it returns a valid result.
Probably impossible and maybe not a good idea.  The domain of
a command for which it can produce correct
responses may depend on the characteristics of functions it calls. Those 
functions
may change and become more capable.

For example, unless you can predict what "solve" can solve, you can't 
check adequately.

For linsolve, it is probably clear enough when an input is an explicit 
linear polynomial.

RJF