Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

np.linalg.eigvals positive check python

import numpy as np

def is_pos_def(x):
    return np.all(np.linalg.eigvals(x) > 0)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #positive #check #python
ADD COMMENT
Topic
Name
6+7 =