Getting the transpose of a Generic Matrix
Asked by
Douglas Brinkerhoff
Hi,
I was wondering if there was a way to get the transpose of a Generic Matrix ( particularly the stiffness matrix that would be output by using assemble() on a bilinear form)? I can get the entries in a numpy array, but I'd rather keep the sparse format and be able to use it in the Dolfin LA framework. I'm looking for the adjoint of the stiffness matrix for use in implementing the discrete adjoint method.
Thanks in advance.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Douglas Brinkerhoff for more information if necessary.
To post a message you must log in.