Skip to content
Snippets Groups Projects
Commit f4b8f694 authored by Van Dung Nguyen's avatar Van Dung Nguyen
Browse files

get determinant of tensor3

parent 5b20dc34
No related branches found
No related tags found
No related merge requests found
......@@ -305,6 +305,12 @@ class STensor3 {
return prod;
}
double determinant() const{
fullMatrix<double> m(3,3);
getMat(m);
double det = m.determinant();
return det;
};
void print(const char *) const;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment