MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/Imath / add22T

Function add22T

src/python/PyImath/PyImathMatrix22.cpp:404–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402
403template <class T>
404static Matrix22<T>
405add22T(Matrix22<T> &mat, T a)
406{
407 MATH_EXC_ON;
408 Matrix22<T> m(mat.x);
409 for(int i = 0; i < 2; ++i)
410 for(int j = 0; j < 2; ++j)
411 m.x[i][j] += a;
412
413 return m;
414}
415
416template <class S, class T>
417static Matrix22<T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected