8 Screenshots

About This File

The Eigen4AutoIt environment (thread is here:

online Help is here) allows you to do matrix I/O (memory & files), matrix arithmetic, transformation, and decomposition, solve systems of linear equations, and perform advanced statistics, all at either single or double precision. Most functions can act on real or complex matrices (or the latter's real/imaginary parts separately). Much of the actual complexity of using Eigen in its native C++ environment has been hidden for AutoIt users, through extensive bounds and error checks, an intuitive function-naming convention, a large help file, and detailed tutorials and test examples.

This library allows you to perform fast matrix operations on large numerical data sets, using special matrix variables and simple AutoIt wrapper functions. These wrappers call C++ wrappers in the dlls (also written by RTFC, source included). The dlls in turn re-map AutoIt memory and call one or more Eigen functions. All operations are memory pointer-based and act directly on the matrices created in your AutoIt script, obviating the need for data transfers. Both 32-bit and 64-bit environments are supported; in x64, matrices can be any size that fits into virtual memory.


What's New in Version 4.1

Released

  • Added: Linear Discriminant Analysis statistics functions _Eigen_LDA*, with new Tutorial.
  • Added: function _Eigen_CloneMatrix_Transposed.
  • Added: option to transpose array in _Eigen_CloneArray.
  • Added: functions _Eigen_CreateMatrix_FromAcols/Row_Mask.
  • Added: option to invert row/col selection in _Eigen_CreateMatrix_FromAcols/rows/_Transposed. Internal function _Eigen_Selection_ToTable now accepts a third, optional parameter to enable this.
  • Added: conditional bit mask functions _Eigen_ConditMask/_InPlace.
  • Added: matrix multiplication functions _Eigen_Multiply_AtBA/ABAt.
  • Added: _Eigen_Sort_Unique/Block/Col/Diag/Row, to return a colvector of the sorted unique values found in an input matrix or part thereof (treated as a vector).
  • Added: _Eigen_Freq/Block/Col/Diag/Row, to return a colvector of the frequencies of provided sorted unique values (as produced by _Eigen_Sort_Unique) found in (part of) a supplied input matrix.
  • Added: _Eigen_Sort_EigenVectors, to re-order both (unsorted) eigenvalues (absolute largest first) and their associated eigenvectors, as returned by EigenSolvers and decompositions; useful for dimensional reduction prior to reprojection into eigenspace.
  • Added: _Eigen_MatrixSpecs_Rowwise_Single/Colwise_Single now support obtaining the column/row index for the min/max value per row/col, as well as the value itself.
  • Added: optional flag $presetA (default: True) to _Eigen_ResetActiveMatrix, to enable explicit disabling of matA in the active matrices list.
  • Added: matrix-internal Copy functions _Eigen_Copy_Acol_ToAcol and _Eigen_Copy_Arow_ToArow.
  • Added: singular value decomposition function _Eigen_Decomp_BDCSVD (faster alternative to JacobiSVD for large inputs), with Test script.
  • Added: shared memory management functions (in x64-mode): _Eigen_GetMatrixAbsolute/RelativeAddress, _Eigen_Map/UnMap_ExternalMemory, _Eigen_UnMap_AllExternalMemory, and _Eigen_Obtain/Release_ExclusiveAccess, plus Test script.
  • Added:  x64-mode environment functions _Eigen_Set/ResetSharedAccess for default multi-processing without data transfers; these control new global variable $EIGEN_SHAREDACCESS.
  • Added: environment functions _Eigen_Set/ResetVerbose for status messages; these control global variable $EIGEN_VERBOSE.
  • Changed: auxiliary UDF library _HighMem (by yours truly), upgraded to beta version 0.9, now supports multi-process shared memory.
  • Changed: _Eigen_Copy_A_ToB now supports automatic transposition if the provided destination matrix's dimensions are a) different and B) swapped with respect to the source matrix (ergo, this excludes square matrices from being transposed-copied in  this manner). Internal function _Eigen_Check_SameDims now accepts a third, optional parameter to enable this.
  • Changed: _Eigen_Show_DecompSpecs now supports parsed flag $wipeFirst (default: True).
  • Changed: internal function _Eigen_CheckDllCallSuffix now uses faster _ArrayBinarySearch.
  • Changed: added optional parameters for _Eigen_CreateMatrix control shared access in multi-processing.
  • Changed: _Eigen_SaveMatrix/_Transposed now have an additional flag to force overwriting any existing file without warning, regardless of whether warning messages are enabled.
  • Fixed: _Eigen_LoadMatrix did not interpret file sizes exceeding 4 GB correctly.
  • Fixed: internal function _Eigen_SetActiveMatrix did not handle <space> correctly.
  • Fixed: various typos and examples in Help document.




User Feedback

You may only provide a review once you have downloaded the file.

There are no reviews to display.

  • Similar Content

    • RTFC
      By RTFC
      The Eigen C++ template library is a great environment for matrix computing; it is fast, reliable, extensive, and well-documented. It is also completely free, and does not rely on any external dependencies. Unfortunately for AutoIt users, the term “template library” implies that any functions you call are only instantiated upon compilation (in C++). That means there's nothing to hook into.
      To make Eigen ’s most important functionality directly accessible from within AutoIt scripts (version 3.3.12+, download it here), I developed the Eigen4AutoIt environment. It runs on Windows and under Wine also on Linux and Mac (Ubuntu, Debian, Fedora, and MacOS supported by WineHQ), and SUSE, Slackware, and FreeBSD supported by the distros).
      >Download the latest version

      It consists of:
      1) Eigen4AutoIt.au3
      an AutoIt library of wrapper functions that contain extensive bounds checks, matrix management, file I/O, type conversion, and precision control, and two-way data exchange with files and native AutoIt arrays;
      2) Eigen-wrapper dlls (EigenDense.dll, EigenDense_x64.dll)
      re-maps matrices created in AutoIt as Eigen Matrix objects, then calls Eigen’s powerful core functions; the single-precision part of the C++ source code I wrote is included in the bundle (the double-precision,, integer, and complex alternatives just duplicate this with different memory mappings and variable types). The basic functions consist of a single Eigen call; decompositions and statistics are more involved. 3) Additional materials:
      the user-interactive, animated Function Selector and MatrixViewer tools the MatrixFileConverter to read/write E4A matrices from/to .csv ASCII, Excel, and Xbase files. three libraries of scientific and mathematical constants online Help Large (.chm) Help file Quickstart Manual (11-page pdf, updated) Test suite Tutorials from Basics to Advanced Please note:
      none of this is part of Eigen's own distribution you only need this bundle; you do not need to install Eigen. How it works:
      No matrix content is ever transferred, only memory pointers, meaning computations in AutoIt are virtually as fast as in Eigen’s native environment, with the added advantage of not having to be compiled first. The drawback is that Eigen's native ad-hoc expression templates (and their internal optimisations) cannot be exploited here; you have to construct your operations with the basic building blocks. These provide matrix creation, I/O, cellwise operations, reduction, multiplication, transformation, decomposition (LU, Householder, Choleski, and Jacobi SVD; these include general linear solvers) and a small statistics module by yours truly.

      IMPORTANT: Posting Rules for this thread:
       
      1) Do not post or PM me any matrix-, maths-, or Eigen-related questions. Eigen has its own User Forum for that (or try math.stackExchange.com). I am not your maths guru! If you post such questions, I will either ignore your post or remind you of this rule.

      2) Do not post or PM me your data sets and/or non-working Eigen4AutoIt scripts; I will not analyse your data or fix your scripts for you! There are many reasons why a linear algebra procedure might fail to produce the answer you expect. You are wielding great mathematical power here, so exploit the fantastic internet resources at your fingertips and learn how to use it. To get you started, I've listed a few video tutorials and other helpful materials in the header remarks of Eigen4AutoIt.au3. Also check out the test scripts, the Tutorials, and the Help file.

      3) I do warmly welcome all of the following:
      remarks, advice, suggestions for improvements, encouragement, cash; bug reports re. the Eigen4AutoIt interface (individual functions that don't work the way they should) and/or the associated dll code (ditto); your own working Eigen4AutoIt templates of general use that you'd like to see implemented in a future release. Regarding that last item, have a look at my PCA tutorial. After the step-by-step stage, I summarise the entire procedure in a "mini script" of Eigen4AutoIt calls. Then I introduce the two internal PCA functions I developed, which replace that script with two simple calls. You can do the same thing, and submit your own functional Eigen4AutoIt script in this thread. If I consider it of general use and can implement it, it may become a new Eigen4AutoIt function in the next release (with source acknowledgement, of course). This means that you'd get a precompiled dll version of your script that will likely run faster and be simpler to call. Thereby this thread would become an Eigen4AutoIt Example Scripts mini forum. It's just a thought.
       
      >Download the latest version (uncompressed size: 29 MB)
       
      How to Install
      You need AutoIt version 3.3.12 or later. Extraction (with 7-zip) creates subdirectory Eigen4AutoIt, where you'll find Eigen4AutoIt.ini. Open it, find global variable $EIGEN_DLLPATH, and copy/paste the full absolute path (without trailing backslash) where the Eigen4AutoIt dlls are located on your machine. Save the ini file, open the first tutorial ("intro") in Scite, and start it. This shows basic matrix I/O and mode switching (single versus double precision). If that runs, you're in business.
    • AlecSadler
      By AlecSadler
      Hello friends! I have been working on an encryption algorithm in autoit as a proof of concept for some time now. Basically the algorithm uses a progressive recursion to encode data inside a matrix using a key that changes according to the date-time of the system, which is extracted from a larger key array. Recently after a drive failure, I lost the source and had to start from scratch, now I can't quite get it working the way it was before, and I can't see what I'm doing wrong, if anyone who understands matrix math or encryption could help I would much appreciate it. The problem is that the values returned by the decryption (extraction) process are way too big.
       
      I have figured out the solution to my problem, it was a typo, please disregard this thread.
      I will post my project into example scripts when it's ready.
       
       
       
    • wakillon
      By wakillon
      Pic2Vector permit to easily convert bitmap Images to clean Vector Art and save it result to jpg, png, bmp or gif format.
       
      See Topic for more details and examples.
       
    • wakillon
      By wakillon
      May be some of you know the shareware VectorMagic who permit to easily convert bitmap Images to clean Vector Art !
      Pic2Vector 1.0.1.4 is free, and can give similar effects ! 
       

      I was  interested by some effects added to a photo.
      I'm not using gdi for the vectorization, but 2 command line tools :
      Autotrace 0.27 with ILDA file support for converting bitmap to vector graphics
      Custom Version at : http://www.raycomposer.de/en/ressources/autotrace/
      More general infos : http://autotrace.sourceforge.net/
      GPL Ghostscript 9.07
      use here for converting vector graphics to Jpeg.
      More infos : http://www.ghostscript.com/doc/9.07/Use.htm#
       
      example 1
       
       
       
      example 2
       
       
       
      example 3
       
       
       
      example 4
       
       
       
      example 5
       
       
       
      example 6
       
       
       
      example 7
       
       
       
      example 8
       
       
       
       
      Free to you to play with settings for see changes.(Infos with tooltip added to each type of setting)
      If UAC Enable, use right click, execute as Admin.
      Click on vectorized Pic for display it in fullscreen with Windows picture Viewer.
      You can save result to jpg, png, bmp or gif format.
      Changes Version 1.0.1.4
      Settings can be saved by creating a profil.
      No more appcrash window for autotrace.exe.
      New buttons for display compatibility with xp.
      Externals files are embedded, no more downloads needed.
      Some minor improvements.
      Added new examples to topic.
      Tested with WinXp, Win7 and Win 8.1.
      previous downloads : 666
      source and executable are available in the Download Section
       
      Hope you like it !