⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reflector.m

📁 This toolbox contains Matlab code for several graph and mesh partitioning methods, including geometr
💻 M
字号:
function [Q,r] = reflector(c)% REFLECTOR : Orthogonal transformation to put point on last axis.%% [Q,r] = reflector(c):% Given a point c in d-space (as a row vector),% return an orthogonal Q such that c*Q is on the last axis,% and has magnitude r.  Q is a Householder reflection.%% See GEOPART.%% John Gilbert and Shanghua Teng, 1992-1993.% Copyright (c) 1990-1996 by Xerox Corporation.  All rights reserved.% HELP COPYRIGHT for complete copyright and licensing notice.d = length(c);p = d:-1:1;[Q,r] = qr(c(p)');Q = Q(p,p);r = r(1);

⌨️ 快捷键说明

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