cupyx.scipy.linalg.bandwidth#

cupyx.scipy.linalg.bandwidth(a)[source]#

Return the lower and upper bandwidth of a 2D numeric array. :param a: Input array of size (M, N) :type a: ndarray

Returns:

  • lu (tuple) – 2-tuple of ints indicating the lower and upper bandwidth. A zero denotes no sub- or super-diagonal on that side (triangular), and, say for M rows (M-1) means that side is full. Same example applies to the upper triangular part with (N-1).