householder_vector.m

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

M
10
字号
function [u, zeta] = householder_vector(a, v)% [u, zeta] = householder_vector(a, v) calculates a Householder vector,% u, with a norm of sqrt(2), and a value zeta, from the vectors a and v. The% results may be used to construct a left or right Householder matrix and they% depend on whether the input parameters are column or row vectors respectively.% The result returned in u has the same type (row, column) as the parameter a.% zeta will be real, complex or quaternion, depending on the type of a.% The parameter v must be real (mathematical limitation).% Copyright 

⌨️ 快捷键说明

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