代码搜索:协方差矩阵
找到约 10,000 项符合「协方差矩阵」的源代码
代码结果 10,000
www.eeworm.com/read/237598/13942942
m gauseidel.m
function [y,n]=gauseidel(A,b,x0,eps)
if nargin==3
eps=1.0e-6;
elseif nargin
www.eeworm.com/read/201668/15398975
m jacobi.m
function [y,n]=jacobi(A,b,x0,eps)
if nargin==3
eps=1.0e-6;
elseif nargin
www.eeworm.com/read/201668/15398988
m gauseidel.m
function [y,n]=gauseidel(A,b,x0,eps)
if nargin==3
eps=1.0e-6;
elseif nargin
www.eeworm.com/read/201353/15409625
m jacobi.m
function [y,n]=jacobi(A,b,x0,eps)
if nargin==3
eps=1.0e-6;
elseif nargin
www.eeworm.com/read/201353/15409637
m gauseidel.m
function [y,n]=gauseidel(A,b,x0,eps)
if nargin==3
eps=1.0e-6;
elseif nargin
www.eeworm.com/read/201342/15409857
txt 06-10.txt
例6-10 魔术矩阵的生成。
解:在命令窗口中输入如下命令,并按Enter键确认。
>> magic(2)
ans =
1 3
4 2
>> magic(3)
ans =
8 1 6
3 5 7
4 9 2
>> magic(4)
ans =
16
www.eeworm.com/read/201037/15417890
cpp exam8-1.cpp
#include
#include
typedef char VerT; //定义邻接矩阵图类中的VerT
typedef char DataType; //定义顺序表类中的DataType
const int MaxVertices = 100; //定义最大顶点个数
const int MaxWeight =
www.eeworm.com/read/201037/15417893
cpp exam8-2.cpp
#include
#include
typedef char VerT; //定义邻接矩阵图类中的VerT
typedef char DataType; //定义顺序表类中的DataType
const int MaxVertices = 100; //定义最大顶点个数
const int MaxQueueSize
www.eeworm.com/read/113740/15449177
h vfunc.h
#ifndef VFUNC_H
#define VFUNC_H
#include
#include "matrix.h"
class valgo // 矩阵算法类
{
private:
DOUBLE yfactor; // 乘因子,初始化为1
DOUBLE xfactor; // x轴放大因子,初始化为1
DOUBLE addconst;
www.eeworm.com/read/113740/15449191
cpp cmatrix.cpp
#include "stdio.h"
#include "string.h"
#include "complex.h"
#include "cmatrix.h"
#include "fstream.h"
// 缺省的构造函数,产生0行0列空复矩阵
cmatrix::cmatrix(cbuffer * b): rownum(0),colnum(0),
isneg(0),istra