vmult function

29 views
Skip to first unread message

Muhammad Adil

unread,
Nov 8, 2019, 1:18:04 AM11/8/19
to deal.II User Group
Hi Everyone,
If someone used the function of vmult, will you please tell me what is A in this function as explained in the documentation? 
If(not adding)
{
  W = A*v
A = ?

Thank
Muhammad Adil

deal 1.png

Praveen C

unread,
Nov 8, 2019, 1:27:50 AM11/8/19
to Deal. II Googlegroup
Here is an example of vmult

int n = 10;
FullMatrix<double> A(n,n);
// Fill A
Vector<double> v(n), w(n);
// Fill v
A.vmult(w, v);  

This implements

 w = A*v

Best
praveen

Muhammad Adil

unread,
Nov 8, 2019, 3:35:05 AM11/8/19
to dea...@googlegroups.com
Thanks for the explanation Praveen.

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/2720B8E8-E6D8-4734-BBEC-F28C8F310357%40gmail.com.
Reply all
Reply to author
Forward
0 new messages