Cummulative (dim 2) products across all permutations of distinct columnindices 1.0 
Date Added: June 22, 2013  Visits: 216 


CUMmulative PRODucts across All Permutations of Distinct ColumnIndicesThis function returns the cumulative sum over products of column elementswith all permutations of unique and distinct columnindices.The sum excludes automatically products containing elements with commoncolumn index values. In addition, any user specified index values inignoredInd are excluded. (As all permutations of columns are summed, thepermutation of the columns of the input array is not important.)For example, cumprodapdci([a,b],[1 7]) for vectors a and b is the sum ofsum(a.*b) minus all contributions of a(2)b(2), a(3)b(3) and the userspecified ignoredInd of 1 and 7, i.e. all products involving the elementsa(1),a(7),b(1) and b(7) are not included in the sum.Example application:For a vector K represnting the input values of a multinomial expansion of (K(1)+K(2)+K(3))^n, the result can be expressed as: sum(sum(...sum(K)*K)*K)...)Alternatively, one can build up the expansion with product elements. For example, when n=4, the result is equal to the sum of all forms of:x^4 +4*(sum of all forms of a*b^3) +6*(sum of all forms of a^2*b^2) +12*(all combinations of the form a*b*c^2.)see http://www.wolframalpha.com/input/?i=expan...%2Bb%2Bc%29%5E4Hence, if one is interested at all contributions of the form a^2*b^4 for n=6 for example, the answer is given as the multinomial coefficient 6!/2!/4! * sum of all combinations of the form a^2*b^4.This can be performed by using this routine of cumproduei([K.^2,K^4]), where K is [a;b;c;d+...] as in the problem of (a+b+c+d+e+...)^6.If one wants to ignore contributions containing terms K(3)=c and K(5)=e, one may use cumproduei([K.^2,K^4],[3,5]).It is important to note that the result requires normalisation with the multinomial coefficient M, and the correction factor 1/prod(DoFs!). The implementation of M is available on file exchange from other authors. E.g. 6156multinomial, wheras the correction factor is described as follows:If there are common column vector with common power, such is the case when n = 4 and one would like to sum all instances of the form a*b*c^2. The result should be normalised by multiplying the result with M/(products of factorials of DoF). M is the multinomial coefficient as mentioned before, and the degree of freedom refers to the number of variables with a common power. In this example, the common order is a & b and there are 2 of them. For a more complicated case, for example, a*b*c^4*d^4*e^6*f^6*g^6, the normalisation factor should be M/2!2!3!=M/24. Here, the multinomial coefficient M=(6+6+6+4+4+2)!/(6!6!6!4!4!2!).

License: Shareware  Size: 10 KB 
Development Tools

space vector PWM for 2 leg inverter 1.0
twoleg inverters are the best option for high performance low power applications. It can be resolved by comparing the no of semiconductor switches usage in 2leg and 3leg inverters and moreover two leg inverters allow the asymmetrical voltages.... 
20.48 KB  
Network & Internet

Apache Pluto 1.0.1
Pluto is the Reference Implementation of the Java Portlet Specfication. The current version of this specification is JSR 168. Portlets are designed to run in the context of a portal. They are written to the Portlet API which are similar to the... 
11.6 MB  
Audio Tools

Picoxine 0.0.7
PicoXine is a (very small) XINE implementation for playing audio events as a replacement for ARTS. Picoxines extremely small (the source code is only 3.0KiB long!) It offers great response time, its faster than MPlayer upon startup, and it has... 
14.34 KB  
Libraries

Suffix tree implementation library 1.2
Suffix tree implementation library is a C library, an implementation of the suffix trees algorithm to store/retrieve key/data pairs. The main advantages are a linear indexing time, little memory usage, and very fast retrieving. It has been... 
15.36 KB  
Networking Tools

seppl 0.4
seppl is both a protocol definition and a software implementation of a new encryption layer for IPv4. seppl project makes use of symmetric cryptography for encrypting the whole traffic on a network. Its implementation is designed around Linux... 
327.68 KB  
Arcade Style Games

midi pong 0.1
midi pong is an implementation of the pong game that works as a MIDI instrument. Seen it before? As a MIDI instrument? As a VST plugin? When you play pong, you play music. You can try it here as an applet, though thats not half as cute as... 
36.86 KB  
Libraries

Regexp::Ignore 0.03
Regexp::Ignore is a Perl module that let us ignore unwanted parts, while parsing text. WARNING This is an alpha code. Really. It was written in the end of 2001. It is not yet checked much. The only reason I submit it to CPAN that early is to... 
71.68 KB  
Libraries

Bellagio OpenMAX IL Implementation 0.3.1
Bellagio is a sample implementation of OpenMAX IL for Linux. It enables software developers and ISVs to familiarize themselves with the OpenMAX IL API and to develop their own OpenMAX multimedia and streaming media components for mobile devices,... 
501.76 KB  
Libraries

Fast MD5 Implementation in Java 2.6.1
Fast MD5 Implementation in Java is a heavily optimized implementation of the MD5 hashing algorithm written in Java. Fast MD5 Implementation in Java includes an optional native method for even greater speed improvements. How Fast Is It? Short... 
74.75 KB  
Modules

Ignore User 1.0
This module allows a user to "ignore" content from other users that they do not wish to view.Node and comment content from an ignored user is hidden from view on a page. A message is displayed above the hidden block of content with a link to the... 
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). Signup 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

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 ModelViewController (MVC) pattern. It provides the basic functionality developers need, without... 
51.2 KB  
Development Tools

7Zip for Script 4.42
7Zip 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  
Development Tools

Barnardextest 1.0
This file, as the Fisher's exact test, performs the exact probability test for a table of frequency data crossclassified according to two categorical variables, each of which has two levels or subcategories (2x2). It is a nonparametric... 
10 KB 