MCPcopy Create free account
hub / github.com/geekcomputers/Python / scaling

Function scaling

linear-algebra-python/src/Transformations2D.py:8–9  ·  view source on GitHub ↗
(scaling_factor)

Source from the content-addressed store, hash-verified

6
7
8def scaling(scaling_factor):
9 return scaling_factor * (np.identity(2)) # This returns a scaling matrix
10
11
12def rotation(angle):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected