search for: irulan

Displaying 1 result from an estimated 1 matches for "irulan".

2005 Jan 05
7
count element in column
Hi, I 've a matrix n*1 (thus a column) and I would like to count the number of negative element inside. Can you help me? Thanks! eg: res[,1]= 1 -3 -1 How obtain the number 2 (number of negative-element)?