文件名称:matrix
-
所属分类:
- 标签属性:
- 上传时间:2014-04-24
-
文件大小:3.64kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
矩阵类模板Matrix<Type>是专门为线性代数中矩阵而设计的一个模板类,具体的函数声明与定义可以参见“matrix.h。见测试文件 matrix_test.cpp,功能如下:
Matrix<Type> m 创建一个空矩阵
Matrix<Type> m2(m1) 创建矩阵 m2的拷贝 m1
Matrix<Type> m(r,c,x) 创建常数矩阵
Matrix<Type> m(r,c,a) 通过数组创建矩阵
m.~Matrix<Type> () 销毁矩阵并释放空间
矩阵运算:
A += x 矩阵自身加常数
A -= x 矩阵自身减常数
A *= x 矩阵自身乘常数
A /= x 矩阵自身除以常数
A1 += A2 矩阵自身加矩阵
A1 -= A2 矩阵自身减矩阵
A1 *= A2 矩阵自身乘矩阵(逐元素)
A1 /= A2 矩阵自身除以矩阵(逐元素)
x + A 常数与矩阵之和
A + x 矩阵与常数之和
A1 + A2 矩阵与矩阵之和
A - x 矩阵与常数之差
x - A 常数与矩阵之差
A1 - A2 矩阵与矩阵之差 -Matrix Matrix class template <Type> Is a template class specifically for linear algebra and matrix design, the specific function declarations and definitions can be found in " matrix.h see test file matrix_test.cpp, functions as follows:. Matrix <Type> Create an empty matrix Matrix m <Type> m2 (m1) to create a copy of the matrix m2 m1 Matrix <Type> m (r, c, x) to create a constant matrix Matrix <Type> m (r, c, a) create a matrix m through the array. ~ Matrix <Type> () Destroy the matrix and release space matrix calculation: A+ = x matrix itself plus the constant A- = x matrix itself less constant A* = x matrix itself by a constant A/= x matrix itself is divided by the constant A1+ = A2 matrix itself plus Matrix A1- = A2 matrix itself reduced matrix A1* = A2 matrix multiplication matrix itself (by elements) A1/= A2 matrix itself divided by the matrix (by elements) x+ A matrix of constants and A+ x matrix with constants and A1+ A2 matrix and matrix
Matrix<Type> m 创建一个空矩阵
Matrix<Type> m2(m1) 创建矩阵 m2的拷贝 m1
Matrix<Type> m(r,c,x) 创建常数矩阵
Matrix<Type> m(r,c,a) 通过数组创建矩阵
m.~Matrix<Type> () 销毁矩阵并释放空间
矩阵运算:
A += x 矩阵自身加常数
A -= x 矩阵自身减常数
A *= x 矩阵自身乘常数
A /= x 矩阵自身除以常数
A1 += A2 矩阵自身加矩阵
A1 -= A2 矩阵自身减矩阵
A1 *= A2 矩阵自身乘矩阵(逐元素)
A1 /= A2 矩阵自身除以矩阵(逐元素)
x + A 常数与矩阵之和
A + x 矩阵与常数之和
A1 + A2 矩阵与矩阵之和
A - x 矩阵与常数之差
x - A 常数与矩阵之差
A1 - A2 矩阵与矩阵之差 -Matrix Matrix class template <Type> Is a template class specifically for linear algebra and matrix design, the specific function declarations and definitions can be found in " matrix.h see test file matrix_test.cpp, functions as follows:. Matrix <Type> Create an empty matrix Matrix m <Type> m2 (m1) to create a copy of the matrix m2 m1 Matrix <Type> m (r, c, x) to create a constant matrix Matrix <Type> m (r, c, a) create a matrix m through the array. ~ Matrix <Type> () Destroy the matrix and release space matrix calculation: A+ = x matrix itself plus the constant A- = x matrix itself less constant A* = x matrix itself by a constant A/= x matrix itself is divided by the constant A1+ = A2 matrix itself plus Matrix A1- = A2 matrix itself reduced matrix A1* = A2 matrix multiplication matrix itself (by elements) A1/= A2 matrix itself divided by the matrix (by elements) x+ A matrix of constants and A+ x matrix with constants and A1+ A2 matrix and matrix
(系统自动生成,下载前可以参看下载内容)
下载文件列表
matrix/matrix.h
matrix/matrix_test.cpp
matrix
matrix/matrix_test.cpp
matrix
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.