Skip to content

Commit

Permalink
#4
Browse files Browse the repository at this point in the history
  • Loading branch information
MrY-Cat committed Jun 6, 2023
1 parent 271be7b commit 4b8a1a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/main/kotlin/yyd/mrycat/math/data/Matrix.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package yyd.mrycat.math.data
/*✔[RFC-1]*/
import jdk.jfr.Experimental
import yyd.mrycat.math.exception.MathIllegalException
import yyd.mrycat.math.exception.MathIndexOutOfBoundsException
import java.math.BigDecimal
Expand Down Expand Up @@ -114,6 +115,8 @@ class Matrix<T:Number>(val row:Int, val col:Int, private val init:(Int, Int) ->

/**
* 计算矩阵的行列式.
*
* //目前det在某些情况下会导致计算异常
* @throws MathIllegalException 非方阵的矩阵进行该运算时.
*/
fun det():Double
Expand Down

0 comments on commit 4b8a1a6

Please sign in to comment.