Constants and Test Matrices

Pi, Not-a-Number, infinity; Hadamard, Companion, Pascal, and other specialized matrices

Functions

eps Floating-point relative accuracy
flintmax Largest consecutive integer in floating-point format
i Imaginary unit
j Imaginary unit
Inf Infinity
pi Ratio of circle's circumference to its diameter
NaN Not-a-Number
isfinite Array elements that are finite
isinf Array elements that are infinite
isnan Array elements that are NaN
compan Companion matrix
gallery Test matrices
hadamard Hadamard matrix
hankel Hankel matrix
hilb Hilbert matrix
invhilb Inverse of Hilbert matrix
magic Magic square
pascal Pascal matrix
rosser Classic symmetric eigenvalue test problem
toeplitz Toeplitz matrix
vander Vandermonde matrix
wilkinson Wilkinson's eigenvalue test matrix

Examples and How To

Was this topic helpful?