helper.expr_as_np_array
¶
Cvxpy expression as np.array.
Module Contents¶
Functions¶
|
Convert cvxpy expression into a numpy array. |
- helper.expr_as_np_array.expr_as_np_array(cvx_expr)¶
Convert cvxpy expression into a numpy array.
- Parameters:
cvx_expr (cvxpy.expressions.expression.Expression) – The cvxpy expression to be converted.
- Returns:
The numpy array of the cvxpy expression.
- Return type:
numpy.ndarray