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.332.322 Times

Robust Sparse data types 1.0

  Date Added: August 18, 2013  |  Visits: 367

Robust Sparse data types

Report Broken Link
Printer Friendly Version


Product Homepage
Download (44 downloads)



The main file in this package, rsparse.m, creates a sparse array object that is a subclass of MATLAB's native sparse data type, but which is robust against certain bugs and errors (present as of R2009b). S=rsparse(varargin) The I/O syntax and options for rsparse() are identical to that of sparse(). Where sparse() would return a double sparse matrix, rsparse() will return a matrix of class RobustSparseDouble, a class defined in this package. Similarly, wherever sparse() would return a logical sparse matrix, rsparse() will return a matrix of user-defined class RobustSparseLogical. %%%%%%%%% EXAMPLE 1: Indexing robustness - this utilizes the sparse-sub-access package by Bruno Luong. >> A=sparse(100000,100000,1), %native MATLAB sparse matrix A = (100000,100000) 1 >> B=rsparse(A), %convert to robust type B= (100000,100000) 1 >> whos A B Name Size Bytes Class Attributes A 100000x100000 400016 double sparse B 100000x100000 400072 RobustSparseDouble >> A(logical(A))=2, %Wrong result due to indexing bug A = (65408,14101) 2 (100000,100000) 1 >> B(logical(B))=2, %RIGHT!!! B= (100000,100000) 2 %%%%%%%%% EXAMPLE 2: Robustness to mixed data type operations. For some reason, MATLAB decides to issue an error when a mathematical operation involving sparse and non-double numeric data is attempted: A=speye(3); x=single([1;2;3]); >> y=A*x, %ANNOYING.... ??? Error using ==> mtimes Sparse single arrays are not supported. The RobustSparse types, however, will silently pre-convert the foreign data to doubles: B=rsparse(A); >>y=B*x, %BETTER!!! y = 1 2 3 %%%%%%%%%%%%%%%%%%%%%% I'm hoping that TMW will fix these problems soon, rendering this package obsolete. Once they do, simply replace the code in rsparse.m with the following, and rsparse() will become equivalent to sparse() function S=rsparse(varargin) S=sparse(varargin{:}); end The package also includes "robustified" versions of other common sparfun toolbox routines: rspeye, rsprand, rsprandn, rprandsym,... They too will revert to their native MATLAB versions when the above replacement is made.%%%%%%%% CAUTIONARY NOTES: (1) Because this package uses various M-coded wrappers for built-in sparse routines, there is obviously some compromise in speed. (2) I've overloaded all math operators (+ , - , .* , >=,

Requirements: No special requirements
Platforms: Matlab
Keyword: Doubles Foreign Gtgty Dbx Hoping Preconvert Silently Simply Types
Users rating: 0/10

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


ROBUST SPARSE DATA TYPES RELATED
Business  -  MySQL Database Converter 2.0.1.5
MySQL to MSSQL database converter software can accurately convert huge number of database records created in MySQL to MSSQL database server without any data loss. Automatic database converter tool migrate database from MySQL to MSSQL and helps you...
1.39 MB  
Network & Internet  -  UberGallery 2.2.5
UberGallery is an easy to use, simple to manage, web photo gallery written in PHP and dual licensed under the MIT License and GNU General Public License (GPL) Version 3. UberGallery does not require a database and supports JPEG, GIF and PNG file...
40.96 KB  
Inventory Systems  -  My Barcode Software 1.0
My Barcode Software creates Code 39 barcodes and save them as Portable Network Graphics (PNG) image files. The software features an extremely easy user interface where the user simply types in the Data to encode and click the Save button to...
91 KB  
E-Mail Tools  -  Repair DBX Files Tool 1.0
Repair DBX Files Tool is the market leading tool for how to repair Outlook dbx files and get your emails and information back fast! Repair DBX Files Tool is powered by our cutting edge error detection algorithm combined with our comprehensive...
1.1 MB  
Book Collection Managers  -  Export DBX to EML 3.4
Forthcoming DBX to EML Converter tool is your awaiting device, so discontinue to search more for DBX to EML Conversion software & get full details of your query how to Export DBX to EML or how to convert DBX to EML with our expedient .DBX to .EML...
3.83 MB  
Utilities  -  Repair DBX Folder 3.0
Repair DBX Folder – Repair damage DBX file and repair Outlook Express 6 DBX files with the help of SysTools Outlook Express Restore software. Using this DBX mailbox data recovery you will able to restore deleted emails from Outlook Express and...
1.22 MB  
Utilities  -  Betavare DBX Converter 1.0
BetaVare DBX Converter - The software BetaVare Export DBX File is able of performing the conversion of Outlook Express DBX files into more file formats. DBX File Converter software provides a dual option to select multiple DBX files at once. Also,...
2.17 MB  
FTP Clients  -  Simply COOL FTP! 1.1
Simply COOL FTP is a powerful FTP client for all your FTP needs. The program is extremely easy to use. All you need to do is enter the FTP address and your username and password and Voila! Now you can upload and download any file you want! It also...
1.8 MB  
Windows Software  -  Real-time Foreign Exchanger 2.11
The software is a break-through in the field of Foreign Exchange Rate software. Unlike those, users are obliged to download the everyday exchange rate to his or her computer, the software does not download anything, instead, presents the...
599 KB  
E-Mail Tools  -  ABC Amber DBX Converter 1.03
ABC Amber DBX Converter is intended to help you convert Outlook Express databases (DBX files) to DBF or CSV format easily and quickly. All you have to do is select required messages, choose format to convert and click Save As button. Currently...
1008 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