1
double precision function vmnorm (n, v, w)
3
c-----------------------------------------------------------------------
4
c this function routine computes the weighted max-norm
5
c of the vector of length n contained in the array v, with weights
6
c contained in the array w of length n..
7
c vmnorm = max(i=1,...,n) abs(v(i))*w(i)
8
c-----------------------------------------------------------------------
10
double precision v, w, vm
14
10 vm = dmax1(vm,dabs(v(i))*w(i))
17
c----------------------- end of function vmnorm ------------------------