illclinf.m
来自「一个很好用的摄像机标定程序」· M 代码 · 共 10 行
M
10 行
function f=illclinf(x)
% Usage:
% f=illclinf(x)
% Returns value <f> of the exact penalty function
% at a point <x> for the Ill-conditioned Linear Programing problem.
global matrA vectB vectC
if size(x,2)>1, x=x';end
n=size(x,1);
f=vectC'*x + 2*n*max([0;matrA*x-vectB;-x]);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?