Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!s19g2000prg.googlegroups.com!not-for-mail
From: Phil Winder <philipwinder@googlemail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Matlab Vectorisation Speed - How is it done in c++?
Date: Sun, 16 Dec 2007 16:05:32 -0800 (PST)
Organization: http://groups.google.com
Lines: 9
Message-ID: <eb177713-6655-4454-bbf6-92d2c91bb6a6@s19g2000prg.googlegroups.com>
NNTP-Posting-Host: 87.102.34.197
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1197849933 22594 127.0.0.1 (17 Dec 2007 00:05:33 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 17 Dec 2007 00:05:33 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: s19g2000prg.googlegroups.com; posting-host=87.102.34.197; 
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.8.1.11) 
Xref: news.mathworks.com comp.soft-sys.matlab:442693



Hi,
Im currently porting some matlab algorithms to c++ code.  The test
code I have is testing the vector math capabilities and how fast they
can go.  I have found that it can be very, very fast and I am
strugglling to reproduce the speed in c++. How does matlab do it? And
how can it be reproduced in c++?

Thanks,
Phil Winder