I have this mtx file:
%%MatrixMarket matrix coordinate integer general
%
5 5 10
1 1 11
1 5 15
2 3 23
2 4 24
3 2 32
3 5 35
4 1 41
5 2 52
5 4 54
5 5 55
i want to make a function that counts which coloumn am i in.
also i need a fuction so i can ignore the line with '%' charecter
and the first entry as it represent dimensions and the entries of the matrix.
(the one i poste is a 5x5 matrix with 10 entrees)
my apologies ill delete this