mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Fixed a typo in det2() docs.
This commit is contained in:
parent
ce724d2691
commit
ccfed6b306
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ function mean(v) = sum(v)/len(v);
|
|||
// M = The 2x2 square matrix to get the determinant of.
|
||||
// Example:
|
||||
// M = [ [6,-2], [1,8] ];
|
||||
// det = det3(M); // Returns: 50
|
||||
// det = det2(M); // Returns: 50
|
||||
function det2(M) = M[0][0] * M[1][1] - M[0][1]*M[1][0];
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue