I’d like to define an inner product, and I’m wondering if it’s possible to call it using the angle brackets.
using QuadGK
# "Definition" (quote-unquote)
⟨u, v⟩ = quadgk(x -> u(x)*v(x), 0, 1, rtol = 1e-3)
# Usage
u(x) = x^2
v(x) = x^3
M = ⟨u, v⟩
I’ve seen that there is a list of supported symbols but with the linked file provided it was hard to browse/find the angle brackets.
I haven’t been able to find if anyone has tried/done this before.