Difference between set and add functions of the Matrix class
Asked by
Alejandro Ortiz-Bernardin
on 2013-02-15
Hi guys,
Short question: what is the difference between set and add functions of the matrix class?
Thank you!
Alejandro
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Anders Logg
- Solved:
- 2013-02-15
- Last query:
- 2013-02-15
- Last reply:
- 2013-02-15
|
#1 |
On Fri, Feb 15, 2013 at 11:45:51AM -0000, Alejandro Ortiz-Bernardin wrote:
> New question #221946 on DOLFIN:
> https:/
> Hi guys,
> Short question: what is the difference between set and add functions of the matrix class?
'set' will set entries. 'add' will add to entries (+=).
--
Anders
Thanks Anders Logg, that solved my question.
To post a message you must log in.