代码搜索结果
找到约 10,000 项符合
7 的代码
ex7_7.m
a=[1,2,-2;1,1,1;2,2,1];
b=[9;7;6];
[x,n]=jacobi(a,b,[0;0;0])
[x,n]=gauseidel(a,b,[0;0;0])
ch7_7.cpp
//*********************
//** ch7_7.cpp **
//*********************
#include
int maximum(int[][4],int,int);
void main()
{
int sg[3][4]={{68,77,73,86},
plot_7_7.m
% make figure 7.7
Z2=zeros(4,491);
load run2
tail=[0 5 8 66];
z=sum(real(E).^2,2);
[y ind]=sort(z);
newE=E(ind,:);
for i=1:4,
Z2(i,:)=sum((real(newE(1:400-tail(i),:)).^2))/(400-tail(i));
ex7_7.cpp
/* Code for exercise 7.7.
|
| "C++ Solutions--Companion to The C++ Programming Language, Third Edition"
| by David Vandevoorde; Addison-Wesley 1998; ISBN 0-201-30965-3.
|
| Permission to us
example7-7.vhd
LIBRARY IEEE;
USE IEEE.Std_Logic_1164.ALL;
ENTITY test5 IS
GENERIC (size : INTEGER := 2);
PORT (in1, in2 : IN Std_Logic;
in3, in4 : IN Std_Logic;
in5 : IN Std_Logic_Vector