Vectorization and Numeric (Newbie)
- From: Ronny Mandal <ronnyma@xxxxxxxxxxx>
- Date: Tue, 28 Feb 2006 13:49:33 +0100
Assume you have a mathematical function, e.g. f(x) = x + 4
To calculate all the values from 1 to n, a loop is one alternative.
But to make this function work with vectors instead i.e
f(x_vector) = result_vector,
how should the function then be implemented?
Thanks
RM
--
Support bacteria - it's the only culture some people have!
.
- Follow-Ups:
- Re: Vectorization and Numeric (Newbie)
- From: johnzenger
- Re: Vectorization and Numeric (Newbie)
- From: Juho Schultz
- Re: Vectorization and Numeric (Newbie)
- Prev by Date: Multicolumn in Tix scrolledListBox
- Next by Date: compiled program input
- Previous by thread: Multicolumn in Tix scrolledListBox
- Next by thread: Re: Vectorization and Numeric (Newbie)
- Index(es):