CVXPY how to make a complex variable out of a cvx variable and a constant array?


I’m trying to do this:

import numpy as np
import cvxpy as cvx

x = cvx.Variable((1,3))

B = np.array([5,6,4])

A = B + x*j

what’s the most efficient way to code/implement A?

Thank you.

This forum addresses CVX. Your question pertains to CVXPY, which is a different tool. Please seek help in a CVXPY venue.