- Machine Learning with Spark(Second Edition)
- Rajdeep Dua Manpreet Singh Ghotra Nick Pentreath
- 107字
- 2021-07-09 21:07:50
Determinant
The tr M denotes the trace of a matrix M; it is the sum of the elements along the diagonal. The trace of a matrix is normally used as a measure of the "size" of a matrix. The determinant is known as the product of the elements along its diagonal.

The determinant is majorly used in the system of linear equations; it indicates if the columns are linearly related, and it also helps to find the inverse of a matrix. For large matrices, the determinant is calculated using laplace expansion.
val detm: Matrix = Matrices.dense(3, 3, Array(1.0, 3.0, 5.0, 2.0,
4.0, 6.0, 2.0, 4.0, 5.0))
print(det(detm))
推薦閱讀
- 腦動力:Linux指令速查效率手冊
- Practical Ansible 2
- 輕松學Java Web開發
- PHP開發手冊
- 自動化控制工程設計
- Mastering Elastic Stack
- iClone 4.31 3D Animation Beginner's Guide
- 單片機技術一學就會
- 突破,Objective-C開發速學手冊
- Photoshop CS5圖像處理入門、進階與提高
- 空間機器人智能感知技術
- Visual Basic項目開發案例精粹
- Oracle 11g Anti-hacker's Cookbook
- Advanced Deep Learning with Keras
- Microsoft System Center Data Protection Manager Cookbook