百科问答小站 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是一个3阶行列式,aij=1或-1,1≤i,j≤3,如何证明det(A)≤4? 
  这个矩阵怎么求啊?求各位大佬解答? 
  有什么答案为5201314的高阶行列式(四阶以上)? 
  行列式等于 0,就一定有两行或两列相等吗? 
  工程数学四阶行列式有什么技巧算法吗? 
  怎么证明分块矩阵(A B -B A)行列式非负,我感觉这是对的 但又说不清为什么? 
  二次型的惯性定理中「惯性」是什么意思? 
  请简单地表述结合律和交换律的区别和联系。结合律为什么那么普遍? 
  n阶实方阵矩阵的换位子问题? 

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





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