help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: loops vs vectorization


From: Robert A.Macy
Subject: Re: loops vs vectorization
Date: Wed, 05 Jul 2006 16:09:24 -0700

Would somebody be kind enough to refresh my memory how to
avoid a "for" loop when there are a lot of conditional
adjustments going on?

for example, the simple act of replacing every item that is
less than negative with the value zero.  

Can't remember all the nuances on writing 'vectorized'
versions of those types of conversions.

             - Robert -


reply via email to

[Prev in Thread] Current Thread [Next in Thread]