Dynamic-Calibration/utils/YALMIP-master/extras/@logdet/uminus.m

7 lines
95 B
Mathematica
Raw Normal View History

2019-12-18 11:25:45 +00:00
function Z = uminus(P)
%display Overloaded
Z = P;
Z.cx = - Z.cx;
Z.gain = -Z.gain;