summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e77e2e0)
raw | patch | inline | side by side (parent: e77e2e0)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 12 Jun 2008 20:35:18 +0000 (20:35 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 12 Jun 2008 20:35:18 +0000 (20:35 +0000) |
src/libnr/nr-matrix.cpp | patch | blob | history |
index eb1f21d4793ff9c1528802bda0f76e578d154181..c7948a96edd1f66ab935fa4e862635560c8d9484 100644 (file)
--- a/src/libnr/nr-matrix.cpp
+++ b/src/libnr/nr-matrix.cpp
/**
- *
+ * test whether the matrix is the identity matrix (true). (2geom's Matrix::isIdentity() does the same)
*/
bool Matrix::test_identity() const {
return matrix_equalp(*this, NR_MATRIX_IDENTITY, NR_EPSILON);
/**
- *
+ * calculates the descriminant of the matrix. (Geom::Coord Matrix::descrim() does the same)
*/
double expansion(Matrix const &m) {
return sqrt(fabs(m.det()));