public static void rotate12(SMat3 vtav, Mat3 v) { if (vtav.m12 == 0) { return; } float c = 0, s = 0; Schur2.rot12(vtav, c, s); Givens.rot12_post(v, c, s); }
public static void rotate12(out SMat3 vtav, out Mat3 v, SMat3 ivtav, Mat3 iv) { vtav = ivtav; v = iv; if (vtav.m12 == 0) { return; } float c, s; rot12(out vtav, out c, out s, vtav, c, s); Givens.rot12_post(out v, c, s, v); }