MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / getMinMax

Function getMinMax

python/webgui.py:19–25  ·  view source on GitHub ↗
( vals, fmin=None, fmax=None )

Source from the content-addressed store, hash-verified

17 return pmima_new
18
19def getMinMax( vals, fmin=None, fmax=None ):
20 funcmin,funcmax = ngs.Vector(vals, copy=False).MinMax(True)
21 if fmin is not None:
22 funcmin = min(funcmin, fmin)
23 if fmax is not None:
24 funcmax = max(funcmax, fmax)
25 return funcmin, funcmax
26
27
28def _make_trig(N, x0=0, y0=0, dx=1, dy=1):

Callers 1

BuildRenderDataFunction · 0.85

Calls 1

VectorMethod · 0.45

Tested by

no test coverage detected