COPASI API  4.16.103
Functions
dmnorm.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double dmnorm_ (C_INT *, double *, double *)
 

Function Documentation

double dmnorm_ ( C_INT ,
double *  ,
double *   
)

Definition at line 35 of file dmnorm.cpp.

Referenced by CInternalSolver::dprja_(), CInternalSolver::dstoda_(), CLSODA::operator()(), and CLSODAR::operator()().

36 {
37  double vm = 0.0, tmp;
38  double *tv = v, *tw = w, *end = tv + *n;
39 
40  while (tv != end)
41  if ((tmp = fabs(*tv++) * *tw++) > vm) vm = tmp;
42 
43  return vm;
44 }