Changeset 438 for library/tests/square_mat_test.cpp
- Timestamp:
- 07/28/09 15:53:00 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/square_mat_test.cpp
r437 r438 45 45 res = A + w * outer_product(v, v); 46 46 CHECK_CLOSE(res, sqmat2.to_mat(), epsilon); 47 48 TMatrix invmat(sz); 49 sqmat.inv(invmat); 50 mat invA = inv(A); 51 CHECK_CLOSE(invA, invmat.to_mat(), epsilon); 47 52 48 53 double d = det(A);