📄 lu_cp.m
字号:
function [A, ipivtr, ipivtc, iflag] = lu_pc( A );% % LU_CP computes the LU--decomposition with complete% pivoting of a matrix A % % Usage% [A, ipivt, iflag] = lu_pp( A )% % input:% A: the n by n matrix A% % output:% A: the LU-decomposition of A% % ipivtr: information on row exchanges% ipivtr(k) = i means that in step k % (entries k:n of) rows k and i were interchanged%% ipivtc: information on column exchanges% ipivtc(k) = i means that in step k columns% k and i were interchanged% % iflag: error flag% iflag = 0 Row reductions could be performed,% A is upper triangular% iflag = 1 dimension of A or of b is not correct% %% Your name% Jan 10, 2008%%%%% insert code%end of lu_cp.m
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -