• TDUV%21474
    了解作者
  • Dev C++
    开发工具
  • 5KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 0
    下载次数
  • 2018-11-21 18:33
    上传日期
矩阵逆运算,轻松实现矩阵的求逆,应用于C++开发环境
18424446.zip
  • Lgdmatrix.doc
    39KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/627029597b37011214286524/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/627029597b37011214286524/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">#include&lt;iostream.h&gt;</div><div class="t m0 x2 h3 y3 ff1 fs0 fc0 sc0 ls0 ws0">#include&lt;iomanip.h&gt;</div><div class="t m0 x3 h3 y4 ff1 fs0 fc0 sc0 ls0 ws0">#include&lt;stdlib.h&gt;</div><div class="t m0 x4 h3 y5 ff1 fs0 fc0 sc0 ls0 ws0">#include&lt;math.h&gt;</div><div class="t m0 x5 h3 y6 ff1 fs0 fc0 sc0 ls0 ws0">double det(double **p,int n)</div><div class="t m0 x6 h3 y7 ff1 fs0 fc0 sc0 ls0 ws0">{</div><div class="t m0 x7 h3 y8 ff1 fs0 fc0 sc0 ls0 ws0">int i,j,k;</div><div class="t m0 x8 h3 y9 ff1 fs0 fc0 sc0 ls0 ws0">double m,max,detp=1;</div><div class="t m0 x9 h3 ya ff1 fs0 fc0 sc0 ls0 ws0">if(n==1)</div><div class="t m0 xa h3 yb ff1 fs0 fc0 sc0 ls0 ws0">return p[0][0];</div><div class="t m0 xb h3 yc ff1 fs0 fc0 sc0 ls0 ws0">else</div><div class="t m0 xc h3 yd ff1 fs0 fc0 sc0 ls0 ws0">{</div><div class="t m0 xd h3 ye ff1 fs0 fc0 sc0 ls0 ws0">for(i=0;i&lt;n;i++)</div><div class="t m0 xe h3 yf ff1 fs0 fc0 sc0 ls0 ws0">{ </div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐