matlab iterator Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: iterator.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Peter Rydesater (View more)

matlab iterator script description:




Publisher review:
iterator compiles MATLAB expression/m-files to fast MEX files. If you need to speed up your matlab code this is this something for you. This is NOT a replacement for the "MATLAB Compiler" but a great complement. It can do some optimizations that MATLAB compiler or JIT does not by compiling m-files or MATLAB expressions. Expressions that operates element by element on large arrays can be much faster if it operates more local. By compiling the expression with a C-compiler it can perform all operation on each element before going to next element.

MATLAB normally executes one operation at a time on all elements before going on to next operator. ITERATOR generates (and compiles) c-source with the expression and all interfacing between MATLAB and the expression. ITERATOR supports converting a MATLAB expression with scalar only operations, "SCALARLAB", but it lets that expression iterate over all elements in all arrays and thereby getting it vectorized. This makes ITERATOR excellent to vectorize algorithms which that normally is impossible to vectorize in an efficient way.

As the operation works more localy the bad effect of memory bandwidth limitation (in ordinary MATLAB) is decreased and the performances of the CPU is better used. This makes it succesfull to use threads and multiple CPUs on at least the more complex expressions. With options to ITERATOR you can use multiple CPUs mostly without any changes to your expressions.Example:iterator R=mypyt(A,B) R=sqrt(A.*A B.*B)And you can then use it with:X=rand(512,512);Y=rand(512,512);Z=mypyt(X,Y);Multi cpu support are also simple, example:iterator -cpu 4 R=mypyt(A,B) R=sqrt(A.*A B.*B) Gives a function that used 4 CPUs with help of threads for large arrays.Put the iterator line in beginning of your scripts. It will only re-compile the function if its changed. Requirements: ยท MATLAB Release: R12.1
matlab iterator is a Matlab script for Development Tools scripts design by Peter Rydesater. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
iterator compiles MATLAB expression/m-files to fast MEX files.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

The new Firefox 37 comes with improved HTTP / 2 and superior HMTL5 compatibility with YouTube

The new Firefox 37 comes with improved HTTP / 2 and superior HMTL5 compatibility with YouTube

The popular browser Firefox reached version 37, bringing a series of news but not as significant as other versions.

Posted on: 03 Apr 2015 11:11 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Google Chrome version 42 comes with implementation of interesting options for software developers who want to turn their websites into complex Web applications: Push notification system which is permanently active.

Posted on: 17 Mar 2015 07:57 by A. Brown

Gamers, Microsoft presents the advantages of DirectX 12 and 11.3 platforms used by new games for Windows 10

Gamers, Microsoft presents the advantages  of DirectX 12 and 11.3 platforms used by new games for Windows 10

The Windows 10 preview event brought also to the attention of gamers a demonstration of the advantages of the new DirectX 12 API by Microsoft, which announced several technologies providing integration with Xbox One game consoles.

Posted on: 27 Jan 2015 09:15 by A. Brown

Android devices now have access to Google Chrome 40

Android devices now have access to Google Chrome 40

Finally was officially released version 40 of Chrome browser for Android devices, iOS and Windows PCs, coming up with an interesting range of bug fixes and optimizations.

Posted on: 23 Jan 2015 13:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 1.5 out of 5
Based on 2 ratings. 2 user reviews.

  • Currently 1.50 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5