householder_matrix.m

来自「四元数matlab工具包」· M 代码 · 共 9 行

M
9
字号
function [h] = householder_matrix(a, v)% h = householder_matrix(a, v) returns the Householder matrix that% will zero all elements of a except those corresponding to (any)% non-zero elements of v. If v has zero norm, an identity matrix is% returned. The matrix returned is either a left or right Householder% matrix dependent on whether the input parameters are column or row% vectors respectively.% Copyright 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?