[Trilinos-Users] PyTrilinos: Setting multiple entries in pyMatrix

Karim Khayrat kkhayrat at gmail.com
Tue Nov 1 10:35:35 EDT 2016


Hello Trilinos users.
I was wondering if it is possible to insert multiple entries into a
PyMatrix object. For an Epetra CrsMatrix one can call the method
InsertGlobalValues with arguments (row indices, column indices, values) and
avoid writing loops in Python.
Is there such an equivalent for PyMatrix. Alternatively is there a way to
convert an Epetra CrsMatrix into a PyMatrix?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20161101/cd805e71/attachment.html>


More information about the Trilinos-Users mailing list