***PURPOSE Weighted root-mean-square vector norm. ***TYPE DOUBLE PRECISION (SVNORM-S, DVNORM-D) ***AUTHOR Hindmarsh, Alan C., (LLNL) ***DESCRIPTION This function routine computes the weighted root-mean-square norm of the vector of length N contained in the array V, with weights contained in the array W of length N: DVNORM = SQRT( (1/N) * SUM( V(i)*W(i) )**2 ) ***SEE ALSO DLSODE ***ROUTINES CALLED (NONE) ***REVISION HISTORY (YYMMDD) 791129 DATE WRITTEN 890501 Modified prologue to SLATEC/LDOC format. (FNF) 890503 Minor cosmetic changes. (FNF) 930809 Renamed to allow single/double precision versions. (ACH) ***END PROLOGUE DVNORM **End ***FIRST EXECUTABLE STATEMENT DVNORM
Constructor | Description |
Full Usage:
DVNORM()
|
|
Instance member | Description |
Full Usage:
this.Run
Parameters:
int
V : float[]
offset_v : int
W : float[]
offset_w : int
Returns: float
|
***PURPOSE Weighted root-mean-square vector norm. ***TYPE DOUBLE PRECISION (SVNORM-S, DVNORM-D) ***AUTHOR Hindmarsh, Alan C., (LLNL) ***DESCRIPTION This function routine computes the weighted root-mean-square norm of the vector of length N contained in the array V, with weights contained in the array W of length N: DVNORM = SQRT( (1/N) * SUM( V(i)*W(i) )**2 ) ***SEE ALSO DLSODE ***ROUTINES CALLED (NONE) ***REVISION HISTORY (YYMMDD) 791129 DATE WRITTEN 890501 Modified prologue to SLATEC/LDOC format. (FNF) 890503 Minor cosmetic changes. (FNF) 930809 Renamed to allow single/double precision versions. (ACH) ***END PROLOGUE DVNORM **End ***FIRST EXECUTABLE STATEMENT DVNORM
|