I have one matrix is y(M*K,N). How to express y^2?
Thank you for your reply!
In general, that is non-convex, and squaring doesn’t even make sense unless
y is a square matrix.
In some cases, such as if y is symmetric, and it appears as
X is psd, it can be reformulated per CVX’s rules as
If you mean elementwise power, for instance
.^2, then you can use
Thank you for your reply! I just missed some detail.
The matrix y is a variable, and I want to get the power of each element of the matrix.
p is the desired positive power.
OK, thank you very much!