Tk Library Source Code

View Ticket
Login
Ticket UUID: 481022
Title: new matrix related methods requested
Type: RFE Version: None
Submitter: lvirden Created on: 2001-11-12 19:52:03
Subsystem: struct :: matrix Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2001-11-24 09:25:06
Resolution: Closed By: andreas_kupries
    Closed on: 2001-11-24 02:25:06
Description:
1. Ability to tell matrix to print itself out (ala
parray)

2. Ability to give matrix a term to search for, with
ability to either search any column of a row, or
particular columns (or column ranges)
User Comments: andreas_kupries added on 2001-11-24 09:25:06:
Logged In: YES 
user_id=75003

Committed to head.

andreas_kupries added on 2001-11-24 09:23:12:

File Added - 13734: 481022.diff

Logged In: YES 
user_id=75003

Enclosed an implementation of the FR.

nobody added on 2001-11-20 19:32:54:
Logged In: NO 

Re: searching of matrix

I would envision the mechanism to work like this.

If given no restrains, a matrix would return a list of
paired coordinates matching the (regular expression) term
being sought.

If given a range of columns and/or rows restraining the search,
the list returned would be those items only in the
restricted area.

In other words, the default would be the entire matrix, but
one could if they so desired, restrict the search to some subset of the matrix.

andreas_kupries added on 2001-11-20 07:16:12:
Logged In: YES 
user_id=75003

Ad 2, question: What is expected as result of the search ? 
The row,col index of the cell containing the value ? The 
indices for all cells in the search range containing the 
value, ...

Attachments: