← Back to team overview

aesthete-team team mailing list archive

Re: mpmath related diffs

 

Phil Weir wrote:


Yes, that seems to work.

Here's one more patch to review - this one allows me to type exciting
expressions like -1 and 𝛑/2 into aesthete and not get an error.


Works fine for me - was that a 0.7 specific error? sec(-1) worked fine for
me anyhow with 0.6


I think probably due to 0.7, since (I think) they worked fine before.

I've also attempted uploading some defs to the downpatrick branch - let me
know if that's caused any problems.


Seems to have worked perfectly. Are there any other standard functions to
explicitly define in XML that are generally written without brackets (or,
in Aesthete terms, auto-bracketing) or otherwise wouldn't come across right
using the standard Ctrl+( syntax? Functions with Greek letter names, or
other unicode symbols, for a start but it seems 0.6 has a relatively small
core library (at least compared to 0.7).

P

There's cot, cosec (and their inverses), and all the hyperbolic versions of the standard trigonometric functions. They're all in mpmath. There may be other trig functions (most notably sinc) we could add.

I see there's some recognition of log - does that need a XML file? What about the square root function - I notice sqrt works, but do we need an XML for that one too? (I guess that's a unicode symbol, yeah?) Of course if we type sqrt we probably _do_ want the brackets, unless that gets converted to the correct symbol on the fly.

If you want to expand Ctrl+( to send aesthete into function detection (you may have already done so!), it could also be used for exponentiation...

Chris.



Follow ups

References