I occasionally use seq to extract terms from equations so I can manipulate them individually. I noticed that it substitutes a value into my equation if a variable in my equation matches a variable in the seq command.
Is this a bug? I have not been able to check other commands for similar behavior. I am worried as I use the programming in xcas extensively and this occurs with local variables also.
Matt
Bug in seq comand? (no bug)
Modérateur : xcasadmin
-
- Messages : 146
- Inscription : mer. janv. 13, 2010 3:20 pm
Bug in seq comand? (no bug)
Dernière modification par XcasEngGuy le sam. juin 10, 2023 11:42 pm, modifié 1 fois.
Re: Bug in seq comand?
You can run op(eq) to extract all the arguments of the root-operator of eq in a sequence (or [op(eq)] in a list).
-
- Messages : 146
- Inscription : mer. janv. 13, 2010 3:20 pm
Re: Bug in seq comand?
That's what I needed.
Thanks again,
Matt
Thanks again,
Matt