https://github.com/cran/pracma
Raw File
Tip revision: d5bfb0e3b7a3211ff2bbe2926e5ba31aa24e4df6 authored by HwB on 09 March 2012, 00:00:00 UTC
version 1.0.1
Tip revision: d5bfb0e
wilkinson.R
###
### wilkinson.R  +++ Test suite +++
###

wilkinson <- pracma::wilkinson

identical(wilkinson(0), NULL)
identical(wilkinson(1), matrix(0, nrow=1, ncol=1))
identical(wilkinson(3), matrix(c(1,1,0, 1,0,1, 0,1,1), 3, 3))
back to top