- 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))
推薦閱讀
- 工業(yè)機(jī)器人虛擬仿真實(shí)例教程:KUKA.Sim Pro(全彩版)
- 大數(shù)據(jù)專業(yè)英語(yǔ)
- Mobile DevOps
- Learning Apache Cassandra(Second Edition)
- 21天學(xué)通Java Web開(kāi)發(fā)
- 運(yùn)動(dòng)控制器與交流伺服系統(tǒng)的調(diào)試和應(yīng)用
- 數(shù)據(jù)掘金
- 傳感器與新聞
- Visual FoxPro數(shù)據(jù)庫(kù)基礎(chǔ)及應(yīng)用
- 精通LabVIEW程序設(shè)計(jì)
- 網(wǎng)絡(luò)脆弱性掃描產(chǎn)品原理及應(yīng)用
- Linux Shell Scripting Cookbook(Third Edition)
- WOW!Photoshop CS6完全自學(xué)寶典
- 步步驚“芯”
- 簡(jiǎn)明學(xué)中文版Flash動(dòng)畫制作