代码搜索:Householder
找到约 168 项符合「Householder」的源代码
代码结果 168
www.eeworm.com/read/411330/7083305
householder
Householder变换2007-07-16 18:33#include
#include
using namespace std;
#define n 5 //输入一个5维的向量,n的值可更改
int sign(float x) //定义符号函数
{
if(x
www.eeworm.com/read/431346/8687165
m householder.m
function [M,f1,eig1]=householder(A,n)
%%%%%%%%%%%%把一个对称矩阵化为三对角矩阵
%n=5;
%A_{1}=[5,4,3,2,1;4,4,2,2,1;3,2,3,2,1;2,2,2,2,1;1,1,1,1,1];
A_{1}=A;
eig1=zeros(n,1);
for m=1:n-2
f(m)=0;
for i=m+1:n
www.eeworm.com/read/179705/9343909
c householder.c
/* linalg/householder.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the
www.eeworm.com/read/169112/9880458
c householder.c
#include
#include
#include
void main()
{
int Householder(double a[],int m,int n,double b[],double q[]);
int i,j,m,n;
static double a[30]={-544.20625,1,
www.eeworm.com/read/424281/10473459
c householder.c
/* linalg/householder.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004, 2007 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it unde
www.eeworm.com/read/468235/6995139
txt householder.txt
public class Leasttg {
private static void Householder(int n, int m, double[][] a, double[] x,
double[] y) {
// 声明 a 为(m*n)矩阵的增广矩阵
System.out.println("请输入参数x:");
for (int d = 0; d < m;
www.eeworm.com/read/297087/8053496
m householder.m
function A=householder(A)
[m,n]=size(A);
for k=1:n
x=A(k:m,k);
y=x'*x;
y=sqrt(y);
v(k:m,k)=x;
if x(1)>=0
v(k,k)=y+x(1);
else v(k,k)=x(1)-y;
end
r=v(k:m,k)'*v(k:m,k);
r=sqrt(r);
v(k:m,k)=v(k:m,k)/r;
www.eeworm.com/read/389070/6353171
m householder.m
function [M,f1,eig1]=householder(A,n)
%%%%%%%%%%%%把一个对称矩阵化为三对角矩阵
%n=5;
%A_{1}=[5,4,3,2,1;4,4,2,2,1;3,2,3,2,1;2,2,2,2,1;1,1,1,1,1];
A_{1}=A;
eig1=zeros(n,1);
for m=1:n-2
f(m)=0;
for i=m+1:n
www.eeworm.com/read/124283/14581124
c householder.c
/* linalg/householder.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the
www.eeworm.com/read/212605/15151914
m householder.m
% 一个matlab的(Householder变换):
function [A,d]=HouseholderQR(A)
[m,n]=size(A);
I=diag(ones(m,1));
d=zeros(n,1);
for j=1:n
[v,b]=Householder(A(j:m,j));
A(j:m,j:n)=(I(j:m,j:m)-b*v*v')*A(j:m,j:n);