eigenvalue.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:Matrix-Analysis 作者: kingofspace0wzz 项目源码 文件源码
def verSchur(A):
    '''
    a function that verifies Schur inequality
    test whether the sum of all square eigenValue is less than or equal to Frobenius norm of the matrix
    '''
    # initialize eigenValue
    eigenValue = la.eig(A)[0]

    if np.sum(eigenValue**2) <= la.norm(A, 'fro')**2:
        return True
    else:
        return False

# approximation of the upper bound of the absolute value of each eigenValue
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号