You can’t in general, but there are limited circumstances in which it is possible. For instance, matrix_frac(x,Y)
for x'*inv(Y)*x
for psd Y
. Also trace_inv
and det_inv
.
Please carefully read Why isn't CVX accepting my model? READ THIS FIRST! and CVX Users’ Guide - you will not find inv
or pinv
in there.