Ask Your Question

# Revision history [back]

### simplify_full - is the documentation wrong or the source code?

Looking at the simplify_full documentation in Sage 6.0, it says that it

Applies simplify_factorial, simplify_trig, simplify_rational,
simplify_radical, simplify_log, and again simplify_rational to
self (in that order).


However the source code is

def simplify_full(self):
x = self
x = x.simplify_factorial()
x = x.simplify_trig()
x = x.simplify_rational()
x = x.simplify_log('one')
x = x.simplify_rational()
return x


So which is wrong? Should simplify_radical be added to the source code or removed from the documentation?

### simplify_full - is the mistake in the documentation wrong or the source code?

Looking at the simplify_full documentation in Sage 6.0, it says that it

Applies simplify_factorial, simplify_trig, simplify_rational,
simplify_radical, simplify_log, and again simplify_rational to
self (in that order).


However the source code is

def simplify_full(self):
x = self
x = x.simplify_factorial()
x = x.simplify_trig()
x = x.simplify_rational()
x = x.simplify_log('one')
x = x.simplify_rational()
return x


So which where is wrong? the mistake? Should simplify_radical be added to the source code or removed from the documentation?

### simplify_full - is the mistake in the documentation or the source code?

Looking at the simplify_full documentation in Sage 6.0, it says that it

 Applies simplify_factorial, simplify_factorial,
simplify_trig, simplify_rational,
simplify_radical, simplify_log, and and
again simplify_rational to
to self (in (in
that order).

order).

However the source code is

def simplify_full(self):
x = self
x = x.simplify_factorial()
x = x.simplify_trig()
x = x.simplify_rational()
x = x.simplify_log('one')
x = x.simplify_rational()
return x


So where is the mistake? Should simplify_radical be added to the source code or removed from the documentation?

 4 retagged tmonteil 27283 ●31 ●201 ●514 http://wiki.sagemath.o...

### simplify_full - is the mistake in the documentation or the source code?

Looking at the simplify_full documentation in Sage 6.0, it says that it

Applies simplify_factorial, simplify_trig, simplify_rational, simplify_radical, simplify_log, and again simplify_rational to self (in that order).

However the source code is

def simplify_full(self):
x = self
x = x.simplify_factorial()
x = x.simplify_trig()
x = x.simplify_rational()
x = x.simplify_log('one')
x = x.simplify_rational()
return x


So where is the mistake? Should simplify_radical be added to the source code or removed from the documentation?

 5 retagged FrédéricC 5114 ●3 ●42 ●111

### simplify_full - is the mistake in the documentation or the source code?

Looking at the simplify_full documentation in Sage 6.0, it says that it

Applies simplify_factorial, simplify_trig, simplify_rational, simplify_radical, simplify_log, and again simplify_rational to self (in that order).

However the source code is

def simplify_full(self):
x = self
x = x.simplify_factorial()
x = x.simplify_trig()
x = x.simplify_rational()
x = x.simplify_log('one')
x = x.simplify_rational()
return x


So where is the mistake? Should simplify_radical be added to the source code or removed from the documentation?

 6 retagged FrédéricC 5114 ●3 ●42 ●111

### simplify_full - is the mistake in the documentation or the source code?

Looking at the simplify_full documentation in Sage 6.0, it says that it

Applies simplify_factorial, simplify_trig, simplify_rational, simplify_radical, simplify_log, and again simplify_rational to self (in that order).

However the source code is

def simplify_full(self):
x = self
x = x.simplify_factorial()
x = x.simplify_trig()
x = x.simplify_rational()
x = x.simplify_log('one')
x = x.simplify_rational()
return x


So where is the mistake? Should simplify_radical be added to the source code or removed from the documentation?

 7 retagged tmonteil 27283 ●31 ●201 ●514 http://wiki.sagemath.o...

### simplify_full - is the mistake in the documentation or the source code?

Looking at the simplify_full documentation in Sage 6.0, it says that it

Applies simplify_factorial, simplify_trig, simplify_rational, simplify_radical, simplify_log, and again simplify_rational to self (in that order).

However the source code is

def simplify_full(self):
x = self
x = x.simplify_factorial()
x = x.simplify_trig()
x = x.simplify_rational()
x = x.simplify_log('one')
x = x.simplify_rational()
return x


So where is the mistake? Should simplify_radical be added to the source code or removed from the documentation?