-
矩阵运算模板类
应用背景本代码主要用于矩阵与矩阵的运算,可为高等数学、科学实验等用到矩阵运算的工程和项目提供方便快捷的运算方法和代码,本代码用C++语言写成,核心数据定义为模板类,通用性强,可移植性高,实现了矩阵运算的常见功能。关键技术利用C++的模板类技术实现了矩阵之间的行列构造函数,如M m(5,3),拷贝构造函数,如M m1(m2)
,下标操作符,将M转化成V并设置其当前行行标,赋值操作符,如m1=m2,赋值操作符,如m=5,将矩阵元素设为5,+操作符,如m1+m2,矩阵点和,非法操作时返回零阵,+操作符,如m+5,矩阵元素+5
,-操作符,如m1-m2,矩阵点差,非法操作时返回零阵,-操作符,如m-5,矩阵元素-5,*操作符,如m1*m2,矩阵相乘,非法操作时返回零阵,*操作符,如m*5,矩阵元素*5, /操作符,如m1/m2,矩阵点除,非法操作时返回零阵, /操作符,如m/5,矩阵元素/5,类型自动转换为int,类型自动转换为float
,类型自动转换为double,矩阵点乘,非法操作时返回零阵,矩阵转置,根据参数创建单位阵
,根据行数创建单位阵,根据列数创建单位阵,常义逆(方阵的逆),非法操作时返回零阵,矩阵秩亏时返回无穷大阵,化为赫尔默特矩阵(行最简型矩阵),/获取列满秩矩阵,获取行满秩矩阵,广义逆
- 2022-05-23 05:18:15下载
- 积分:1
-
用BP网络解决异或问题
用BP网络解决异或问题-BP network or problems to resolve differences
- 2022-02-03 15:47:52下载
- 积分:1
-
Least Soft-thresold Squares Tracking
we propose a generative tracking method based on a novel robust linear regression algorithm. In con-
trast to existing methods, the proposed Least Soft-thresold Squares (LSS) algorithm models the error term with the
Gaussian-Laplacian distribution, which can be solved ef- ficiently. Based on maximum joint likelihood of parameters,
we derive a LSS distance to measure the difference between an observation sample and the dictionary. Compared with
the distance derived from ordinary least squares methods, the proposed metric is more effective
- 2022-03-22 17:30:20下载
- 积分:1
-
切比雪夫滤波器设计,JAVA编写,VJ编译
切比雪夫滤波器设计,JAVA编写,VJ编译-a design of Chebyschev filter, written by JAVA and compiled by VJ
- 2022-02-06 20:01:59下载
- 积分:1
-
用matlab编写的线性规划之单纯型方法用来求解一些简单的线性规划问题...
用matlab编写的线性规划之单纯型方法用来求解一些简单的线性规划问题-using Matlab prepared by the linear planning simple method for solving some simple linear programming problem
- 2022-10-16 09:30:03下载
- 积分:1
-
自己做的一个支持加减乘的大数类
自己做的一个支持加减乘的大数类-own support of a majority of the Modified by category
- 2023-01-31 03:55:03下载
- 积分:1
-
灰色预测模型matlab程序
灰色模型预测是在数据不呈现一定规律下可以采取的一种建模和预测方法,其预测数据与原始数据存在一定的规律相似性,下面程序是灰色模型GM(1,1)程序二次拟合和等维新陈代谢改进预测程序, 程序能够运行出正确的结果,希望对各位有帮助。
- 2023-03-12 21:30:04下载
- 积分:1
-
线段与凸多边行的是否相交的判断
线段与凸多边行的是否相交的判断-line with the convex multilateral OK to judge whether the intersection
- 2023-09-07 11:35:03下载
- 积分:1
-
use GA to deal with the problem fuzzy expectations model example
use GA to deal with 模糊期望值模型问题例题-use GA to deal with the problem fuzzy expectations model example
- 2022-04-21 03:08:10下载
- 积分:1
-
一个简单的计算器,用的是vb制作,能完成简单 的四则运算.
一个简单的计算器,用的是vb制作,能完成简单 的四则运算.-A simple calculater,written in VB,and can realize simple four-arithmetic operations.
- 2022-02-05 14:59:47下载
- 积分:1