百科问答小站 logo
百科问答小站 font logo



有什么答案为5201314的高阶行列式(四阶以上)? 第1页

  

user avatar   zxh178 网友的相关建议: 
      

】给出 阶矩阵的行列式:

那么则易知, .


】给出这个 阶矩阵的行列式:

那么易知, .



】给出这个 阶矩阵的行列式:

我们让 , , , , , ,其它 .

则可以计算出, .



】这是一个 阶矩阵的行列式( ):

从而可以知道,对于任何一个这样的 ,都有 .



】给出一个 阶矩阵的行列式:

其中 ,这样的话,那么则易知, .



】最后给出一个 阶矩阵的行列式:

那么就易知 .


user avatar   supersodasea 网友的相关建议: 
      

容易验证:


代码:(因为是随便写的所以不要在意细节啦~

       #include <cstdlib> #include <algorithm> #include <iostream> #include <mutex> #include <vector> #include <thread>  using i64 = long long;  template <typename T> T solve(const T* data, std::size_t n) {     std::vector<std::size_t> v(n);     for(std::size_t i = 0; i < n; ++i)         v[i] = i;     T result = 0;     do {         T x = 1;         for(std::size_t i = 0; i < n; ++i)             x *= data[i * n + v[i]];         bool sign = false;         for(std::size_t i = 0; i < n - 1; ++i)             for(std::size_t j = i + 1; j < n; ++j)                 sign ^= v[i] > v[j];         if(sign) result -= x;         else result += x;     } while(std::next_permutation(v.begin(), v.end()));     return result; }  const int N = 4; const int TABLE[] = {1, 11, 114, 5, 51, 514};  std::mutex mutex;  void dfs(int depth, i64* arr) {     if(depth == N * N) {         if(solve(arr, N) == 5201314) {             std::lock_guard<std::mutex> lock(mutex);             std::cout << ">=======
";             for(int i = 0; i < N * N; ++i)                 std::cout << arr[i] << " 
"[i % N == N - 1];             std::cout << "<=======
";             std::cout << std::endl;         }         return;     }     if(arr[depth] != 0) dfs(depth + 1, arr);     else         for(int x : TABLE) {             arr[depth] = x;             dfs(depth + 1, arr);             arr[depth] = 0;         } }  int main() {     std::vector<std::thread> threads;     for(int x : TABLE)         threads.emplace_back([=]() {             i64 arr[N * N] = {                 x, 0, 0, 0,                 0, 0, 0, 0,                 0, 0, 0, 0,                 19, 19, 8, 10,             };             dfs(0, arr);         });     for(auto&& thread : threads)         thread.join(); }      


user avatar    网友的相关建议: 
      




  

相关话题

  线性映射为什么那么重要? 
  如何证明:A*=A,则A的特征根为实数? 
  如果把行列式定义中的(-1)^(逆序数)去掉,这种新的运算能用在哪里呢? 
  如何既保证时间又保证质量地读一本数学书? 
  很好奇,如何证明行列式就是高维多边形体积? 
  如何理解矩阵特征值? 
  希尔伯特空间、内积空间的定义有什么关系和区别? 
  如何理解矩阵特征值? 
  特征值和特征向量怎么求,最好有例题可以看看? ? 
  微积分与线性代数有关系吗? 

前一个讨论
如何证明这个结果?
下一个讨论
如何看待教育部发布中华优秀传统文化进教材指南,要求高中历史课要让学生了解中医理论和武术武德?





© 2024-09-19 - tinynew.org. All Rights Reserved.
© 2024-09-19 - tinynew.org. 保留所有权利