Home | History | Annotate | Download | only in dist

Lines Matching full:froot

3805         var fRoot;
3809 fRoot = Math.sqrt(fTrace + 1.0); // 2w
3810 out[3] = 0.5 * fRoot;
3811 fRoot = 0.5/fRoot; // 1/(4w)
3812 out[0] = (m[7]-m[5])*fRoot;
3813 out[1] = (m[2]-m[6])*fRoot;
3814 out[2] = (m[3]-m[1])*fRoot;
3825 fRoot = Math.sqrt(m[i*3+i]-m[j*3+j]-m[k*3+k] + 1.0);
3826 out[i] = 0.5 * fRoot;
3827 fRoot = 0.5 / fRoot;
3828 out[3] = (m[k*3+j] - m[j*3+k]) * fRoot;
3829 out[j] = (m[j*3+i] + m[i*3+j]) * fRoot;
3830 out[k] = (m[k*3+i] + m[i*3+k]) * fRoot;