Revision 7ba95550c2066826c77bc78b974b7cb8cd416301 authored by Hans W. Borchers on 11 January 2017, 00:43:13 UTC, committed by cran-robot on 11 January 2017, 00:43:13 UTC
1 parent 00dcc24
Raw File
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))
back to top