From help-request at octave dot org Tue Feb 1 09:43:51 2005 Subject: ND arrays again From: Brian Blais To: help at octave dot org Date: Tue, 01 Feb 2005 10:47:28 -0500 Hello, I've been trying to decypher the octave class code for this, but I am having trouble. Would someone be able to send me a simple example of C++ code to do the following: pass in a 3 dimensional matrix, and return a 2-dimensional matrix with the value comparable to the octave line: var(5:15,3:8,3) this would help me a lot! thanks in advance, Brian Blais -- ----------------- bblais at bryant dot edu http://web.bryant.edu/~bblais ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------