is_array? command
Publié : jeu. nov. 29, 2018 7:09 pm
Is there a command in xcas programming to test if a variable contains an array or a single value? I would like to write functions that can operate on a single equation or multiple equations in an array. For example:
function(z=x+y)
or
function([z=x+y,z=3*x+4*y])
I would like to be able to determine inside the function whether there is one equation or an array of equations.
Thank you
Matt
function(z=x+y)
or
function([z=x+y,z=3*x+4*y])
I would like to be able to determine inside the function whether there is one equation or an array of equations.
Thank you
Matt