登录
首页 » 算法 » 矩阵运算

矩阵运算

于 2022-04-07 发布 文件大小:1.51 kB
0 190
下载积分: 2 下载次数: 1

代码说明:

// 矩阵乘法: C=AB, A[m×v],  B[v×n],  C[m×n] ... for row-major matrices   // 允许A,B,C 带入相同参数. double* matr_x(double*C, const double*Ao, const double*Bo, const int m,const int v, const int n){ if(!Ao || !Bo) return 0;    if(!C) C=new double[m*n];  double* A=new double[m*v], * B=new double[v*n];  memcpy(A,Ao,m*v*sizeof(double)); memcpy(B,Bo,v*n*sizeof(double));  请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

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

发表评论

0 个回复

  • 改进后的bp 实现.\并给出一些实例子进行模拟用vc实现...
    改进后的bp 算法实现.\并给出一些实例子进行模拟算法用vc实现-bp improve the algorithm. And gives some examples for simulation algorithm to achieve vc
    2022-05-14 08:27:10下载
    积分:1
  • 蒙特卡洛方求PI
    using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Drawing.Drawing2D; using System.Threading;  namespace WinRandomPI {     public partial class GetPIValue : Form
    2022-03-13 01:46:26下载
    积分:1
  • STEP_MOTOR_AVR446
    资源描述 STEP  MOTOR  AVR446 STEP  MOTOR  AVR446 STEP  MOTOR  AVR446 STEP  MOTOR  AVR446 STEP  MOTOR  AVR446
    2022-07-01 17:45:55下载
    积分:1
  • 大量数值计
    大量数值计算的算法-large numerical algorithm
    2022-09-03 21:25:03下载
    积分:1
  • 一个魔方图的程序,希望大家给予支持!
    一个魔方图的程序,希望大家给予支持!-a Rubik"s cube map procedures in the hope that we can give support!
    2022-12-14 18:30:03下载
    积分:1
  • is "commonly used computer numerical algorithms and procedures C version,&q...
    是《计算机常用数值计算算法与程序 C++版》一书的配套代码,每个源程序文件的文件扩展名都使用.cpp形式。这些C++程序已经在微软公司Windows 平台下的Virsual C++ 6.0环境下通过-is "commonly used computer numerical algorithms and procedures C version," a book supporting code, each source document file extensions are used. Cpp form. These procedures have been in C Microsoft Windows platform under the Virsual C 6.0 environment through
    2023-03-01 22:00:04下载
    积分:1
  • Monte Carlo simulation
    Monte Carlo simulation
    2022-04-09 05:11:01下载
    积分:1
  • vc prepared with a scheduling algorithm procedures
    一个用vc编写的调度算法程序-vc prepared with a scheduling algorithm procedures
    2023-09-05 16:35:04下载
    积分:1
  • 竞争性市场均衡
    Competitive Market Equilibrium for Overlay Cognitive Radio
    2022-04-10 20:44:46下载
    积分:1
  • 地震勘探频率-波数域波动方程正演相移加插值正演程序
    资源描述地震勘探中,频率-波数域PSPI波动方程正演模拟C语言程序,适合与初学正演的人,其在相移法的基础上利用插值提高了算法精度,同时相比时域有限差分运算更快,但仍然不能适应横向速度变化过大的速度模型。
    2022-07-08 04:53:42下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载