Qu

bandwidth

Builtin index · Core maths

bandwidth(A)

Input: A · Output: no output

What it is

The bandwidth of A as a record {lower, upper}: how far from the main diagonal the farthest nonzero lies below and above it ({lower: 1, upper: 1} for a tridiagonal matrix, {lower: 2, upper: 2} for a full 3×3, {lower: 0, upper: 0} for a diagonal or all-zero one). Any shape. A NaN counts as nonzero.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
bandwidth(A)
A matrixnot documented yet
not documented yetAny shape.

Examples

No documentation example calls this form yet. The Core maths chapter is where one belongs.