Expand Globalfunctions #168

Merged
meggert merged 8 commits from expand-globalfunctions into develop 2024-02-27 12:50:30 +01:00
11 changed files with 244 additions and 18 deletions
Showing only changes of commit 90f3f8ef1f - Show all commits

View File

@@ -210,8 +210,6 @@ class MatrixOperations {
determinant = determinant + (mat[0][i] * (mat[1][(i + 1) % 3] * mat[2][(i + 2) % 3] -
mat[1][(i + 2) % 3] * mat[2][(i + 1) % 3]));
}
// cout<<"\n\ndeterminant: "<<determinant;
// cout<<"\n\nInverse of matrix is: \n";
for (i = 0; i < 3; i++) {
for (j = 0; j < 3; j++) {
output[i * 3 + j] = ((mat[(j + 1) % 3][(i + 1) % 3] * mat[(j + 2) % 3][(i + 2) % 3]) -