百科问答小站 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    网友的相关建议: 
      




  

相关话题

  如图题,如何不用“强拆”的方式证明? 
  如何理解哈密顿-凯莱定理? 
  行列式等于 0,就一定有两行或两列相等吗? 
  是否存在多项式 f(x)、g(x)、m(y)、n(y),使得 (xy)²+xy+1=fm+gn? 
  线性代数从矩阵和行列式入门真的是最恰当的学习方法吗? 
  线性映射为什么那么重要? 
  为什么现代数学经常会关心整体性质?能不能举例详细说说? 
  n - r = 基础解系的个数,这是为什么? 
  如何证明Q[³√5]是域? 
  重数怎么理解? 

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





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