登录
首页 » c,c++ » 矩阵求逆C程序

矩阵求逆C程序

于 2023-02-22 发布 文件大小:1.03 kB
0 94
下载积分: 2 下载次数: 1

代码说明:

#include  #include  #include     #define MAX 20  #define E 0.000000001     /**  * 计算矩阵src的模  */ double calculate_A( double src[][MAX], int n )  {      int i,j,k,x,y;      double tmp[MAX][MAX], t;      double result = 0.0;             if( n == 1 )      {          return src[0][0];      }             for( i = 0; i < n; ++i )      {          for( j = 0; j < n - 1; ++j )          {              for( k = 0; k < n - 1; ++k )      &

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Cable Master ACM问题
    The first line of the input file contains two integer numb ers N and K, separated by a space. N (1 = N = 10000) is the number of cables in the stock, and K (1 = K = 10000) is the number of requested pieces. The first line is followed by N lines with one number per line, that specify the length of each cable in the stock in meters. All cables are at least 1 meter and at most 100 kilometers in length. All lengths in the input file are written with a centimeter precision, with exactly two digits after a decimal point. Write to the output file the maximal length (in meters) of the pieces that Cable Master may cut from the cables in the stock to get the requested number of pieces. The number must be written with a centimeter precision, with exactly two digits after a decimal point. If it is not possible to cut the requested number of pieces each one being at least one centimeter long, then the output file must contain the single number "0.00" (without quotes).
    2022-08-21 00:51:34下载
    积分:1
  • D9820AISingleBufferCheck
    凌华科技数字化仪C#编程实例,AI采集,双BUFFER(Adlink Technology digitizers example C# programming, AI Acquisition, double BUFFER)
    2021-01-06 11:18:53下载
    积分:1
  • irrlicht-1.71引擎 已编译
    irrlicht轻量级引擎,入门上手快,具体使用方法可参照网上相关源码并将文件夹中"include"和"bin/对应操作系统版本"文件夹添加到包含文件夹和库文件夹中,同时将程序中引用的相关dll拷贝到项目文件夹下即可使用
    2022-03-20 20:22:05下载
    积分:1
  • 19、录音室预定系统(源码+数据库)-北大青鸟机试模拟题.zip
    19、录音室预定系统(源码+数据库)-北大青鸟机试模拟题.zip
    2019-08-05下载
    积分:1
  • 采用c#编程的人机对战的五子棋程序,AI智能采用贪心算法和极大极小值算法,程序有详尽的注释,适合参考...
    采用c#编程的人机对战的五子棋程序,AI智能采用贪心算法和极大极小值算法,程序有详尽的注释,适合参考-C# programming using the man-machine war of Gobang procedures, AI algorithms and intelligent use of greedy algorithm for max-min value, the program has detailed notes for reference
    2023-06-18 08:30:04下载
    积分:1
  • DataMatrix.net
    C#开发DM的开源库,能迅速编码解码DM,很有参考价值(DM code, .net C#)
    2013-11-06 12:53:27下载
    积分:1
  • 2022-04-07 03:13:45下载
    积分:1
  • DS18B20_1602
    基于msp430g2553的用DS18B20进行温度检测,并用LCD1602进行显示,代码完整可用。
    2022-10-15 19:50:03下载
    积分:1
  • 基于linux的多线程udp传输
    在linux下,很多多线程tcp的例子,但是很少udp的例子。大家可以参考一下我的例子。在linux下的多线程udp下。app1客服端向app2服务端发送数据,服务端接收到数据。
    2022-04-15 19:23:13下载
    积分:1
  • 西门子PPI VB代码
    这是西门子PLC的PPI通信VB代码,是PC机和西门子PLCS7-200的通信代码,可对西门子PLC的寄存器的读写任意操作。可以嵌入式到Linux操作系统中进行某种设备的开发。谢谢!
    2022-02-10 11:29:27下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载