swh:1:snp:81eadaa089e8253d8469bcef66aa332632c6c669
Tip revision: d57c14d79af36feb7376258875e720ceffcc1312 authored by Hans W. Borchers on 11 October 2014, 00:00:00 UTC
version 1.7.3
version 1.7.3
Tip revision: d57c14d
meshgrid.R
##
## m e s h g r i d . R Test suite
##
meshgrid <- pracma::meshgrid
identical(meshgrid(1:3, 10:14)$X,
matrix(rep(c(1:3), each = 5), nr = 5, nc = 3))
identical(meshgrid(1:3, 10:14)$Y,
matrix(rep(10:14, times = 3), nr = 5, nc = 3))