I'm wondering about on more little thing:
I have an expression like this:
(-bc)/((1/b -1) bc -1) + c /((1/b -1) bc -1) + (-1)/((1/b -1) bc -1) -1
which could be simplified by hand to (-2(bc +1)/(c-bc -1)
why do i get this complex expression, evne if I call simplify on it?
maybe this question is rel
I tried both attempts, but unfortunately both fail:
the first one (using the denominator function) leads to this error:
/TypeError: lcm function not defined for elements of the base ring/
Does this happen, because i have variables in my term?
In this case i would be enough to get a * b as result of
thnx, luis,
thats nearly what I'm looking for, but i missed something in my first post.
in my fractions i work with some variable (with are all integer, that's
why I missed this in the beginning)
I'd like to have something like this:
a,b = var('a,b')
v = vector([2/a, 1/ab])
and with the results:
v