Sorry, I meant that this form of matrix multiplication was done with .* not +/.*
> Hi all, > > Greatly appreciate the comments about boxing last week. > It solved my problem. > > I have one more question ( maybe too simple) about a > certain form of matrix multiplication ( i think its point > to point?) > > Anyway say I have data matrix dat > where: > > dat= > > 0 1 > 1 0 > 0 0 > 1 1 > > how can I multiply say 3 2 by every row. Resulting in the > following matrix: > > dat = > 0 2 > 3 0 > 0 0 > 3 2 > > I thought that this form of multiplication was done with > +/.* but I am getting domain errors. > > Apologies about the simplcity of this question but its > driving me mad!! > > Thanks in advance, > > Neil > ---------------------------------------------------------- > ------------ For information about J forums see > http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
