Actually, I should have specified that I was looking for general information before starting writing useless code. The message was not meant as a request of a free coding service. My APOLOGIES!!! Thanks for the references I will study them and try to write some code before writing to the list again.
Hector On Mon, 22 Nov 2004 13:59:21 -0500 (EST), Chris Devers <[EMAIL PROTECTED]> wrote: > On Mon, 22 Nov 2004, Hector Ayala-del-Rio wrote: > > > > > I have a data matrix that represents the similarities between a > > group of items > > > > A B C D E F G > > A 1 > > B 1 > > C 1 > > D 1 > > E 1 > > F 1 > > G 1 > > > > > > I will like to extract all the similarity values for one particular > > item. Let say I will like to extract the similarity values of item C > > against all the other items. I will have to extract the values on C > > horizontaly until you reach the diagonal and then the values down. > > How can I do this in perl considering that the position of C could > > vary depending on the dataset. I have to do this extraction many > > times, this is why I am thinking on a perl script. > > Splendid. > > Have you started writing it yet? > > Do you need help with it or something? > > This list isn't a free script writing service, so if you don't have any > code to demonstrate, we really can't help you. > > You may want to take a look at the book _Mastering Algorithms with > Perl_; chapter seven deals with matrices, and sample code for the book > is available on O'Reilly's web site: > > <http://www.oreilly.com/catalog/maperl/> > <http://examples.oreilly.com/maperl/> > > You may also want to look at modules like Math::Matrix: > > <http://search.cpan.org/~ulpfr/Math-Matrix-0.4/Matrix.pm> > <http://search.cpan.org/search?query=matrix&mode=all> > > If you have specific questions, feel free to ask the list. > > -- > Chris Devers > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>