Documentation


MLinExpr.getValue()

getValue ( )

Compute the value of a linear matrix expression using the current solution.

Return value:

Value of expression (1-D array).

Example usage:

  expr = A @ x + b
  expr.getValue()