Öznur Tastan wrote:

> I am sure it will but I would rather to ask smaller bits (how to push into a
> row of a matrice)

Actually, the problem is here, I think.  You are mixing programming and
mathematical terms.  A matrix is not a Perl structure.  To the best of my
knowledge, push is not a mathematical operation on a matrix.  Unfortunately,
that simply does not have any meaning.

Here is where you can benefit by stepping back from abstraction, and describing
the issue in as concerete of terms as possible.

At the beginning of this thread, you indicated that you needed to store
alignments.  You said this in a way that assumed there was some standard for
what an alignment is.  There are an infinite number of alignments arrangements
in the world, and each might take a somewhat different treatment.  Alignment of
what with what, in what cooridnate system?

It is very important that you express these things carefully outside of code
first.  I suspect that you are using an inappropriate data structure for the
type of data and relationships among the data, that you are dealing with.



> I didn't know that was a problem.

I think you are right in trying to keep the focus narrow.  We need better
understanding of the real-world situation that you are trying to describe,
though.

Can we step back a bit, focus on one problem at a time, and you tell us:

What information you have going into the problem
What you want out of the data

Start from this simple base, without presuming in advance what data structures
should hold the data.

I think we can get rolling productively pretty quickly if you can do this.

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to