- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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?
- Balises:
- Intel® Fortran Compiler
Lien copié
2 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thanks Tim,it works>I need this for some weighting coefficients.
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable