Re: [firedrake] Matrix multiplication in bilinear form
Yes, Lawrence was writing what you wrote, but in quantum physics notation. You can't take the physics out of the boy. --cjc On 19 October 2015 at 19:43, Anna Kalogirou <a.kalogirou@leeds.ac.uk> wrote:
I am not familiar with this expression |Q1> <Q2|. What I really want is Q1*Q2^T, where Q1 and Q2 and vectors defined in my previous email.
Actually I think it's easier if I just provide you with the actual equation I need to solve, please see attached.
Anna.
On 19/10/15 14:15, Lawrence Mitchell wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 19/10/15 14:00, Anna Kalogirou wrote:
Dear Lawrence,
Yes, I have a term where the test function and the basis function are evaluated in separate integrals, this is why I wrote Q*mu*dx. Can I assemble them separately? E.g.
Q1 = assemble(v*dx) Q2 = assemble(mu*dx) The resulting values aren't unknowns (either test or trial functions) so I still don't quite understand.
Q1 is a Co-Function (living in the dual space of V) and Q2 is a Function in V. You can certainly point-wise multiply the values together, but I don't think that's what you want, since that still doesn't give you an operator mapping from the trial to the test space.
Do you want the rank-1 operator formed by:
|Q1> <Q2|
?
Cheers,
Lawrence -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux)
iQEcBAEBAgAGBQJWJO0GAAoJECOc1kQ8PEYvtfIIAOsepbX3x0TCCrJYl3PXr3Vz 2AckYTLSiiUgYYFQ5IPhEOXd4yoDlBtzA9DIo6oyotwa9JltE0KpP45ZK/b0oaAO iAB6s73pcNKkZ328GoiT6/Jp5zu5pCQI+2X2Zhjj6EmYzEpu9J5oAGrLSKHy0nbC Z6gyvG72LFDHcTgNauStl+1yC2D6bTD2JOk9e5ph5ySdLbXL1kegTBt+RHYhfdI3 TsiHLaPZzBp7rRUQ4EGq6pDikS+qTU3IEhKz1onEuWOnHqwHCO14zaRSsiFDBDS9 5ALN9kiqz1rW8XHykWrhZec0MZhxjqZ6akDbCUmdMlwdXje6nYTaYjpQrTgvyko= =Vvc4 -----END PGP SIGNATURE-----
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
--
Dr Anna Kalogirou Research Fellow School of Mathematics University of Leeds
-- http://www.imperial.ac.uk/people/colin.cotter www.cambridge.org/9781107663916
participants (1)
- 
                
                Colin Cotter