Re: Finding maximum of an array
- From: "Q Correll" <qcorrell@xxxxxxxxxxxxx>
- Date: 21 Apr 2008 10:18:55 -0700
Richard,
| I may start with a 4000 x 4000 matrix, and reduce the dimension 3999
| times, every time looking at the maximum value and then removing the
| row and column.
You might try to set all the row and column elements to zero instead of
deleting rows and columns. It means iterating over the entire large
matrix for each elimination but that might be quicker that reducing the
entire matrix's size every iteration.
--
Q
04/21/2008 10:15:36
XanaNews Version 1.17.5.7 [Q's Salutation mod]
.
- References:
- Finding maximum of an array
- From: Richard Lavoie
- Re: Finding maximum of an array
- From: John Herbster
- Re: Finding maximum of an array
- From: Richard Lavoie
- Finding maximum of an array
- Prev by Date: Re: Finding maximum of an array
- Next by Date: Re: Finding maximum of an array
- Previous by thread: Re: Finding maximum of an array
- Next by thread: Re: Finding maximum of an array
- Index(es):
Relevant Pages
|