Group Abstract Group Abstract

Message Boards Message Boards

0
|
9K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Pick the elements of a matrix in increasing numerical values for loop op?

Posted 9 years ago
Attachments:
POSTED BY: S G
2 Replies
Anonymous User
Anonymous User
Posted 9 years ago

I might try Sort[], and it does allow a function to decide order (thus, you could compare another matrix to determine the ordering given arguments)

POSTED BY: Anonymous User

I do not understand what you really want to do. I attach a notebook that does "something" to H by comparing matrix-elements. But you will notice in the printout that your condition G[i,j] > A[i,j] is often matched for low values of i and j, so higher elements of H are left alone.

Further you can see the condition often is fulfilled for i = j , so {j-> hj+hi, i-> 0 translates to j -> j + i = 2 i and j -> 0. Is it this what you want?

Perhaps you could describe your problem a bit more lucid, or write down the actions you think of "by hand".

Regards HD

Attachments:
POSTED BY: Hans Dolhaine
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard