[Scilab-users] Advice from Scilab community

Dang, Christophe Christophe.Dang at sidel.com
Tue Oct 22 15:28:42 CEST 2013


> In the second case, I'm afraid you'll have to sort the matrix...

Or you might generate a hashcode for every row, that is not sensitive
to the order of the elements.

You spend time computing this hashcode,
but it makes the search faster because you only have to scan one value,
and then discriminate the false results (collisions).

A very simple, and probably not so efficient, solution would be to 
compute the sum of every line.

You should investigate which solution is "less worse".

--
Christophe Dang Ngoc Chan
Mechanical calculation engineer

______________________________________________________________________

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
______________________________________________________________________



More information about the users mailing list