最近几天学习高等代数老师说要写个程序算行列式的结果,闲来无事就简单写了一下. 不多说了,上代码 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Nrow_culmn { class Program { //计算行列式 计算复杂度为O(n的3次方) ; static void Main(string[] args) { //double[,] row_cu…
1.数学定义 n阶行列式定义如下: 2.算法实现 函数名: GetValue() 功能:返回一个行列式的值 Private Function GetValue() Dim gValue As Double Dim tempResultList As New List(Of Array) ) As Integer '要进行全排列的序列 tempNumArray(i) = i Next GetFullPerm(tempNumArray, , tempResultList) Dim temp As…