Hello,
About this question, I test coefficient and collect.
Is it a bug ? or is there a reason ? collect and coefficient don't have
the same react :
I take a line equation
test = cos(a)*x+sin(a)*y-h # means ... == 0
test.coefficient(cos(a)) # are right
test.coefficient(x)
test.collect(x)
test.collect(cos(a)) #produce an error
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/home/fmy/.sage/temp/solen/9693/_home_fmy__sage_init_sage_0.py in <module>()
----> 1
2
3
4
5
AttributeError: 'SymbolicArithmetic' object has no attribute 'collect'
Is it a bug ? Where am I wrong ?
I use sage.4.1.2alpha4
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---