libpgplotxx.a (C++ interface to PGPLOT)

◆ absmax()

float pgplot::Trange::absmax ( ) const
inline

return absolute maximum

Definition at line 80 of file structs.h.

References max, and min.

80  {
81  float amin=(min < 0 ? -min : min);
82  float amax=(max < 0 ? -max : max);
83  return(amax > amin ? amax : amin);
84  }
float min
range [min....max]
Definition: structs.h:44
float max
Definition: structs.h:44