-
Notifications
You must be signed in to change notification settings - Fork 74
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
incorrect dot methods #110
Comments
That's my fault. I wanted a unicode operation for printing, so I could copy and paste the printed output of polynomials. I noticed, \cdot could be used if I overloaded these. I'll fix to print with |
Thanks! I noticed this in my class when we were covering orthogonal polynomials, and I wanted to show some examples with Polynomials.jl by defining a proper dot product. |
Another thing I noticed is that it would be nice to have a |
I put in a PR with a simple minded implementation. If you know of a more
performant approach, can you let me know?
…On Tue, Mar 21, 2017 at 4:52 PM, Steven G. Johnson ***@***.*** > wrote:
Another thing I noticed is that it would be nice to have a polyint(p, a,
b) method to compute the definite integral on [a,b].
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#110 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAZvTMktEY4ohmVHB0kpAOhEEywavUtZks5roDiEgaJpZM4MiVHp>
.
--
John Verzani
Chair, Department of Mathematics
College of Staten Island, CUNY
verzani@math.csi.cuny.edu
|
The module defines three dot methods:
which make no sense to me.
dot
should define an inner product, which means that it should return a number (or whatever the coefficient type of the polynomial is). For polynomials, you would normally define the dot product to be some kind of integral. But since there are many such definitions and no single canonical choice, it would be better to leave this undefined.The text was updated successfully, but these errors were encountered: