![]() |
programmer's documentation
|
Dot product vava
= .
More...
Functions/Subroutines | |
subroutine | prodsc (ncel, isqrt, va, vb, vavb) |
Dot product vava
= .
The flag isqrt
can be used to compute the square root of the dot product or the normed residual of two extensive vectors:
isqrt
= 0:
isqrt
= 1:
isqrt
= 10:
isqrt
= 11:
subroutine prodsc | ( | integer | ncel, |
integer | isqrt, | ||
double precision, dimension(*) | va, | ||
double precision, dimension(*) | vb, | ||
double precision | vavb | ||
) |
[in] | ncel | number of cells |
[in] | isqrt | flag:
|
[in] | va | first vector to multiply |
[in] | vb | second vector to multiply |
[out] | vavb | dot product |