Toshinari Kamakura asked: > is it possible to make subtotals of other > variables based on the X variable? > > interval X: x0 x1 x2 xn > Y:(length m1) > Z:(matrix m1*m2) > > We would like to make subtotal matrix based on the Y > variables with interval X.
Could you elaborate on your question a bit? If you mean Z is just a set of vectors like Y, then try sbt"1 Z . But if Z is the desired output, then I'm confused. How is Z related to X and Y? If x1 x1 ... xn means that there are N numbers in X, then did you mean that Z is a m1 ? N matrix? If so, what is the definition of each element? Perhaps you could supply an example input and output; that would be the most helpful. -Dan ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
