Inf
inf
Inf(n)
Inf(n, m)
Inf(n, classname)
Inf(n, m, classname)
Inf(classname)
| Parameter | Description |
|---|---|
| n | a scalar integer: number of rows (and columns if m is omitted). |
| m | a scalar integer: number of columns. |
| classname | a string: 'double' (default) or 'single'. |
Inf returns the IEEE symbol Inf (Infinity).
Inf(n) returns an n-by-n matrix filled with Inf.
Inf(n, m) returns an n-by-m matrix filled with Inf.
The optional classname argument selects the class of the result and must be either 'double' (default) or 'single'.
Inf
-Inf + Inf
1.e1000
| Version | Description |
|---|---|
| 1.0.0 | initial version |