Dynamic-Calibration/utils/YALMIP-master/extras/@ndsdpvar/sqrt.m

5 lines
92 B
Mathematica
Raw Normal View History

2019-12-18 11:25:45 +00:00
function X = abs(X)
% sqrt (overloaded)
X = reshape(sqrt(reshape(X,prod(X.dim),1)),X.dim);