MQuadExpr.getValue ()


MQuadExpr.getValue ()

getValue( )

使用当前解计算二次矩阵表达式的值。

返回值:

表达式的值(标量)。

使用示例:

qexpr = x @ A @ x qexpr. getvalue ()