Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Basic fraction manipulation functions? (neophyte question)

Somewhere I thought I saw a sage function that splits fractions, e.g.

(a + b)/c to a/c + b/c

I haven't been able to find anything like this in the online documentation. If this exists, does anyone know the function name?

In general, I'm having a hard time finding documentation on basic expression manipulation. E.g. I've used expr.collect(x) but I can't find documentation on it. Similarly for expr.op[0], x.substitute(a == b) and simplify(expr) I'd appreciate any suggestions re finding documentation on these sort of operations.

thanks