helper.expr_as_np_array¶
Converts a Cvxpy expression into a np.array.
Functions¶
|
Convert cvxpy expression into a numpy array. |
Module Contents¶
- 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