Eeek, a very shrewd observation. I am still imvestigating Where it came from.
--- Original Message --- From: "Raul Miller" <rauldmil...@gmail.com> Sent: July 18, 2014 1:28 PM To: "Programming forum" <programm...@jsoftware.com> Subject: Re: [Jprogramming] Discarding unneeded dimensions As you've noticed, ,/ is a great way to combine the two leading dimensions. But perhaps the best way is to go in and find where that 1 came from, and fix the issue there. Thanks, -- Raul On Fri, Jul 18, 2014 at 12:12 AM, Jon Hough <jgho...@outlook.com> wrote: > If I have an array of shape 1 3 6, for example, but I want to discard the 1, > to give shape 3 6, what is the best way to do so? > I found that doing ,/ on the array works. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm