inf
Array of Inf values.
Syntax
Section titled “Syntax”B = infB = inf(n)B = inf(m, n)B = inf(…, classname)Description
Section titled “Description”Creates an array filled with Inf (positive infinity). Use -inf(…) for the negative-infinity counterpart. Same class-name conventions as nan.
Examples
Section titled “Examples”inf % scalar +Infinf(3) % 3×3 of +Inf-inf(1, 5) % five -Inf values