算法介绍 矩阵求逆在程序中很常见,主要应用于求Billboard矩阵。按照定义的计算方法乘法运算,严重影响了性能。在需要大量Billboard矩阵运算时,矩阵求逆的优化能极大提高性能。这里要介绍的矩阵求逆算法称为全选主元高斯-约旦法。 高斯-约旦法(全选主元)求逆的步骤如下: 首先,对于 k 从 0 到 n - 1 作如下几步: 从第 k 行、第 k 列开始的右下角子阵中选取绝对值最大的元素,并记住次元素所在的行号和列号,在通过行交换和列交换将它交换到主元素位置上。这一步称为全选主元。 m(k, k) = 1 / m(k, k) m(k, j) = m(k, j) * m(k, k),j = 0, 1, ..., n-1;j != k m(i, j) = m(i, j) - m(i, k) * m(k, j),i, j = 0, 1, ..., n-1;i, j != k m(i, k) = -m(i, k) * m(k, k),i = 0, 1, ..., n-1;i != k 最后,根据在全选主元过程中所记录的行、列交换的信息进行恢复,恢复的原则如下:在全选主元过程中,先交换的行(列)后进行恢复;原来的行(列)交换用列(行)交换来恢复。-algorithm introduced in the matrix inversion process is very common, which are mainly used for Billboard matrix. In accordance with the definition of the method of calculating multiplication, seriously affecting the performance. The need for a large number of Billboard matrix operations, matrix inversion optimization can significantly improve performance. Here we introduce the matrix inversion algorithm called full-elected PCA Gauss-Jordan and France. Gauss-Jordan and France (all elected PCA) inversion of the following steps : First, for k from 0 to n-1 for the following steps : from the first trip k, k started out the bottom right corner Subarray largest absolute selected elements, and element remember meeting the line and out, the adoption OK exchange and the exchange out of its exchange 下载
symbian animation 静态库与动态库的区别 汇编 语言 数值 运算 gps解码程序 oracle function 系统函数 pcsc driver develop oscar协议 html网页分析源代码 st16c554 串口 透明按钮 vc 北电 ‘ 网管 使用 delphi最小程序 ace 程序员指南 下载 屏幕 vc jpg bmp rgb565工具 bmp到dicom unicode chinese c kwp2000协议下载 matlab时序信号图 ib1000 驱动下载 基于symbian os 的手机开发与应用 下载 x.264源代码 oracle 工具 繁体 vc通过odbc连接sql server数据库 ttf to bdf 下载 vc 台球 代码 minigui 2.0下载 opencv 图像增强 vb 医院管理 utf-8转中文 xiorkflow fir滤波 dsp 杀人游戏源代码 运动控制卡驱动程序 toad 中文 windows驱动开发 教程 siftpp 电机控制matlab仿真 java透明背景 数据库选用 insight 使用手册 php 框架 比较 vc 颜色选择控件 linux 客户 服务器 多线程 实例 滤波器源代码 fpga 单片机实现modbus协议 asp课件上传下载系统 串口调试助手源码 统计histogram matlab 嵌入式linux应用程序开发详解 代码