Changeset 536 for library/bdm/math/square_mat.cpp
- Timestamp:
- 08/16/09 18:13:31 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/math/square_mat.cpp
r495 r536 64 64 65 65 ldmat::ldmat ( const mat &V ) : sqmat ( V.cols() ) { 66 //TODO check if correct!! Based on heuristic observation of lu()67 66 68 67 it_assert_debug ( dim == V.rows(), "ldmat::ldmat matrix V is not square!" ); 69 68 70 69 // L and D will be allocated by ldform() 71 72 70 //Chol is unstable 73 71 this->ldform ( chol ( V ), ones ( dim ) ); 74 // this->ldform(ul(V),ones(dim));75 72 } 76 73