MCPcopy Create free account
hub / github.com/cogentcore/core / Normalize

Method Normalize

plot/axis.go:23–23  ·  view source on GitHub ↗

Normalize transforms a value x in the data coordinate system to the normalized coordinate system.

(min, max, x float32)

Source from the content-addressed store, hash-verified

21 // Normalize transforms a value x in the data coordinate system to
22 // the normalized coordinate system.
23 Normalize(min, max, x float32) float32
24}
25
26// Axis represents either a horizontal or vertical

Callers 4

SetFromMatrixMethod · 0.65
NormalizeMethod · 0.65
NormMethod · 0.65
StepByAngVelMethod · 0.65

Implementers 6

Planemath32/plane.go
Quatmath32/quaternion.go
LinearScaleplot/axis.go
LogScaleplot/axis.go
InvertedScaleplot/axis.go
_cogentcore_org_core_plot_Normalizeryaegicore/symbols/cogentcore_org-core-

Calls

no outgoing calls

Tested by

no test coverage detected