- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am having a lot of problems with this.I have calculated matrix(7,7),want to put in array(56,7) the rest are zeros.Is this possible with WHERE with ifort?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Maybe, but can't guess why you would do that. If something like
array(1:7,:) = matrix
array(8:56,:) = 0
is what you mean, that should work.
array(1:7,:) = matrix
array(8:56,:) = 0
is what you mean, that should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Tim,it works>I need this for some weighting coefficients.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page