8 lines
156 B
Mathematica
8 lines
156 B
Mathematica
|
|
function x = integer(x)
|
||
|
|
%INTEGER Overloaded
|
||
|
|
|
||
|
|
if isempty(x)
|
||
|
|
x = [];
|
||
|
|
else
|
||
|
|
error('INTEGER can only be applied to SDPVAR objects or empty doubles');
|
||
|
|
end
|