is_negative_definite 函数
判断方阵是否为负定矩阵。
语法
is_negative_definite(matrix)IsNegativeDefinite(matrix)
参数与选项
matrix | 表示矩阵的嵌套列表。 |
|---|
示例
- 负定矩阵判断
IsNegativeDefinite([[-2, 0], [0, -3]])返回 true。
判断方阵是否为负定矩阵。
is_negative_definite(matrix)IsNegativeDefinite(matrix)matrix | 表示矩阵的嵌套列表。 |
|---|
IsNegativeDefinite([[-2, 0], [0, -3]])返回 true。