Sets this matrix to be the identity matrix of the current size. */
| 309 | inline void setZero(Index size) { m_diagonal.setZero(size); } |
| 310 | /** Sets this matrix to be the identity matrix of the current size. */ |
| 311 | EIGEN_DEVICE_FUNC |
| 312 | inline void setIdentity() { m_diagonal.setOnes(); } |
| 313 | /** Sets this matrix to be the identity matrix of the given size. */ |
| 314 | EIGEN_DEVICE_FUNC |
| 315 | inline void setIdentity(Index size) { m_diagonal.setOnes(size); } |
no outgoing calls
no test coverage detected