MCPcopy Create free account
hub / github.com/microsoft/SandDance / identity

Function identity

docs/app/js/sanddance-app.js:71626–71637  ·  view source on GitHub ↗
(out)

Source from the content-addressed store, hash-verified

71624 return out;
71625}
71626function identity(out) {
71627 out[0] = 1;
71628 out[1] = 0;
71629 out[2] = 0;
71630 out[3] = 0;
71631 out[4] = 1;
71632 out[5] = 0;
71633 out[6] = 0;
71634 out[7] = 0;
71635 out[8] = 1;
71636 return out;
71637}
71638function transpose(out, a) {
71639 // If we are transposing ourselves we can skip a few steps but have to cache some values
71640 if (out === a) {

Callers 1

lookAtFunction · 0.70

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected