Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!caen!news.cs.indiana.edu!ariel.unm.edu!news From: john@ghostwheel.unm.edu (John Prentice) Newsgroups: comp.lang.fortran Subject: Cray conditional vector merge Message-ID: <1991Feb24.050433.21694@ariel.unm.edu> Date: 24 Feb 91 05:04:33 GMT Organization: University of New Mexico, Albuquerque, NM Lines: 18 I have a question for the Cray guru's out there. When you execute a conditional vector merge in Cray Fortran, what is really happening? For example, consider: a=cvmgp(f(x),g(x),h(x)) where f,g, and h are some arithmetic functions. Does it compute both f(x) and g(x) and then return only one depending on what the value of h(x) is or does it only compute f(x) or g(x) as required depending on the value of h(x)? Appreciate any help. John -- John K. Prentice john@unmfys.unm.edu (Internet) Dept. of Physics and Astronomy, University of New Mexico, Albuquerque, NM, USA Computational Physics Group, Amparo Corporation, Albuquerque, NM, USA