Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

special values of lesser hyperbolic functions #10074

Closed
kcrisman opened this issue Oct 5, 2010 · 14 comments
Closed

special values of lesser hyperbolic functions #10074

kcrisman opened this issue Oct 5, 2010 · 14 comments

Comments

@kcrisman
Copy link
Member

kcrisman commented Oct 5, 2010

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.

Component: symbolics

Keywords: sech, coth, csch

Author: Ralf Stephan

Branch/Commit: e064ff3

Reviewer: Frédéric Chapoton

Issue created by migration from https://trac.sagemath.org/ticket/10074

@kcrisman kcrisman added this to the sage-5.11 milestone Oct 5, 2010
@benjaminfjones
Copy link
Contributor

comment:1

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:

GinacExpression.__init__(self, '1/cosh', ... 

And the result would behave just like defining sech(z) = 1/cosh(z) in Sage. Then we'd get (as in sage-5.0.beta9):

sage: sech(z) = 1/cosh(z)
sage: sech(0)
1

Maybe this is naive...

@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@rwst rwst changed the title Improve less-used hyperbolic functions special values of lesser hyperbolic functions Dec 29, 2014
@rwst
Copy link

rwst commented Dec 29, 2014

@rwst
Copy link

rwst commented Dec 29, 2014

Commit: b1833cb

@rwst
Copy link

rwst commented Dec 29, 2014

Author: Ralf Stephan

@rwst
Copy link

rwst commented Dec 29, 2014

New commits:

b1833cb10074: special values of coth, sech, csch

@fchapoton
Copy link
Contributor

comment:9

badly formatted doc

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Dec 30, 2014

Changed commit from b1833cb to 507dc57

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Dec 30, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

507dc5710074: cosmetics

@fchapoton
Copy link
Contributor

Changed commit from 507dc57 to e064ff3

@fchapoton
Copy link
Contributor

Reviewer: Frédéric Chapoton

@fchapoton
Copy link
Contributor

@fchapoton
Copy link
Contributor

comment:12

Looks good to me, if you agree with my small changes, you can set that to pos.rev.


New commits:

16323a3Merge branch 'u/rws/improve_less_used_hyperbolic_functions' into 6.5.b6
e064ff3trac #10074 review commit

@rwst
Copy link

rwst commented Jan 26, 2015

comment:13

OK. Thanks.

@vbraun
Copy link
Member

vbraun commented Jan 29, 2015

Changed branch from public/ticket/10074 to e064ff3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants