Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.475.410 Times

XSum 1.0

  Date Added: July 23, 2013  |  Visits: 205

XSum

Report Broken Link
Printer Friendly Version


Product Homepage
Download (46 downloads)



XSum - SUM with error compensationThe accuracy of the sum of floating point numbers is limited by the truncation error. E.g. SUM([1e16, 1, -1e16]) replies 0 instead of 1 and the error of SUM(RANDN(N, 1)) is about EPS*(N / 10).Kahan, Knuth, Dekker, Ogita and Rump (and others) have derived some methods to reduce the influence of rounding errors, which are implemented here as fast C-Mex: XSum(RANDN(N, 1), 'Knuth') is exact to all 15 digits.Y = XSum(X, N, Method)INPUT: X: Double array of any size. N: Dimension to operate on. Method: String: 'Double', 'Long', 'Kahan', 'Knuth', 'KnuthLong', 'Knuth2'.OUTPUT: Y: Double array, equivalent to SUM, but with compensated error depending on the Method. The high-precision result is rounded to double precision.METHODS: (speed and accuracy compared to SUM)- Double: A thread-safe implementation of Matlab's SUM. At least in Matlab 2008a to 2009b the results of the multi-threaded SUM can differ slightly from call to call. 50% faster than single-threaded SUM (MSVC++ 2008), equivalent accuracy.- Long: Accumulated in a 80 bit long double, if the compiler support this (e.g. LCC v3.8). 3.5 more valid digits, 40% slower.- Kahan: The local error is subtracted from the next element. 1 to 3 more valid digits, 10% slower.- Knuth: As if the sum is accumulated in a 128 bit float: about 15 more valid digits. About the same speed (MSVC++2008 compiler). This is suitable for the most real world problems.- Knuth2: 30 more valid digits as if it is accumulated in a 196 bit float. 60% slower.- KnuthLong: As Knuth, but using long doubles to get about 21 more valid digits, if supported by the compiler. 2.5 times slower.

Requirements: No special requirements
Platforms: Matlab
Keyword: 2008a 2009b Differ Faster Matlab Matlabs Multithreaded Results Slightly
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


XSUM RELATED
Spreadsheets  -  Crystal Office 1.0
Crystal Office is is the essential office suite ideal for home and business users, delivering more tools that make your work go faster and your life go easier. Find all the essential office software to complete routine tasks faster and with better...
21.57 MB  
Multimedia  -  imageshiny 1.0
This program allows you to display an image with a shiny appearance, without using a directional light source like the MATLAB Material command does. The results often look good when overlain on the original data in 3D using the Surf command.
10 KB  
Development Tools  -  SFSK modulation implemented on MCU 1.0
This is a CCS project that implement Spread FSK modulation using Piccolo USB board from Texas Instruments. Matlab is used to verify the results using Embedded IDE Link for CCStudio.
1.09 MB  
Libraries  -  Blitz++ 0.9
The C++ programming language offers many features useful for tackling complex scientific computing problems: inheritance, polymorphism, generic programming, and operator overloading are some of the most important. Unfortunately, these advanced...
3.1 MB  
Audio Tools  -  sr-convert 0.8
sr-convert is a sample-rate conversion utility for WAV files. Its primary emphasis is on sound quality. It supports a wide variety of sampling rates and can convert from any of the supported rates to any other. It uses SSE instructions if they are...
92.16 KB  
File Converters  -  Cisdem PDFtoTextConverter for Mac 3.1.0
Cisdem PDFtoTextConverter for Mac is the right choice when you need to extract text from PDF files. It enables you to convert PDFs to Text with the original layout well kept -- hyperlinks, tables and fonts. Just drag-and-drop the PDFs to the...
7.1 MB  
Development Tools  -  VIDEO TUTORIAL: PUBLISHING MATLAB RESULTS TO HTML, WORD, LATEX, ETC 1.0
VIDEO TUTORIAL: PUBLISHING MATLAB RESULTS TO HTML, WORD, LATEX, ETC.(Narration in Spanish)
14.58 MB  
Development Tools  -  Run M-Lint on a directory tree and filter results 1.0
This function addresses two of the major shortcomings of the M-Lint report which is available in the MATLAB Directory Browser. Firstly, it will perform a recursive analysis, i.e. the current directory and its subdirectories and their...
10 KB  
Development Tools  -  KML-Matlab-Shapefile conversion 1.0
Matlab script to read KML files into a mapstruct structure array and offers the option of writing to a Shapefile. KML files must be of a uniform type: Point, LineString, LinearRing orPolygon. The output contains 5-6 fields, 'Geometry', 'X', 'Y',...
10 KB  
Development Tools  -  Hungarian Algorithm for Linear Assignment Problems (V2.2) 1.0
This is an extremely fast implementation of the famous Hungarian algorithm (aslo known as Munkres' algorithm). The new version (V2.2)is about 1.5 times faster than the old version (V2.1). It can solve a 1000 x 1000 problem in about 20 seconds in a...
10 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB