python中矩阵坐标范围
The range of a matrix can be defined as the difference between the maximum and minimum among the elements of the matrix. In NumPy, we have provided with an inbuilt function for this operation i.e. numpy.ptp(). It returns the range of the matrix by calculating maximum-minimum.
矩阵的范围可以定义为矩阵元素之间的最大值和最小值之差。 在NumPy中,我们为此操作提供了一个内置函数,即numpy.ptp() 。 它通过计算最大最小值返回矩阵的范围。

Python代码查找矩阵范围 (Python code to find range of a matrix)
# Linear Algebra Learning Sequence
# Range of a Matrix
import numpy as np
a = np.array([[14,5,3], [7,8,9], [4,2,-6]])