Ask Your Question

Elpimiento's profile - activity

2021-08-09 18:00:01 +0100 received badge  Nice Question (source)
2020-02-10 13:02:56 +0100 received badge  Famous Question (source)
2019-06-26 12:53:19 +0100 received badge  Notable Question (source)
2018-04-08 08:45:09 +0100 received badge  Popular Question (source)
2018-03-28 18:07:09 +0100 received badge  Student (source)
2017-12-13 00:02:31 +0100 asked a question Gram-Schmidt with arbitrary inner product?

Hi,

I'd like to find an orthonormal basis of polynomials using an arbitrary inner product. I know how to do this in Maxima:

ip(f, g) := integrate(f * g, x, -1, 1); /* for example */
y : gramschmidt([1, x, x^2], ip);

But is there a nice way to do this in sage?

Thanks! -Andrew