special values of lesser hyperbolic functions
Even though Maxima can evaluate sech(0)
, Sage does this:
sage: cosh(0)
1
sage: sech(0)
sech(0)
It seems reasonable to fix this. Part of this is probably that sech
is not a !GiNaC function.
Change History (14)
Milestone: 
sage5.11 →
sage5.12

Milestone: 
sage6.1 →
sage6.2

Milestone: 
sage6.2 →
sage6.3

Milestone: 
sage6.3 →
sage6.4

Summary: 
Improve lessused hyperbolic functions →
special values of lesser hyperbolic functions

Branch: 
→ u/rws/improve_less_used_hyperbolic_functions

Authors: 
→ Ralf Stephan

Commit: 
→ b1833cb5e3f2e204e4ec966e404a42835a82f418

Status: 
new →
needs_review

Status: 
needs_review →
needs_work

Commit: 
b1833cb5e3f2e204e4ec966e404a42835a82f418 →
507dc57324d5cdada41940aa9d61120c0846f95a

Status: 
needs_work →
needs_review

Branch: 
u/rws/improve_less_used_hyperbolic_functions →
public/ticket/10074

Commit: 
507dc57324d5cdada41940aa9d61120c0846f95a →
e064ff3a8cc50f28ccdac848c4eab688875d26e8

Reviewers: 
→ Frédéric Chapoton

Status: 
needs_review →
positive_review

Branch: 
public/ticket/10074 →
e064ff3a8cc50f28ccdac848c4eab688875d26e8

Resolution: 
→ fixed

Status: 
positive_review →
closed

Is there a way of initializing a Ginac / Pynac function using a symbolic expression? It would be nice to be able to initialize
sech
by calling simply:And the result would behave just like defining
sech(z) = 1/cosh(z)
in Sage. Then we'd get (as in sage5.0.beta9):Maybe this is naive...