Code covered by the BSD License  

Highlights from
COMBINATOR -combinations AND permutations

image thumbnail

COMBINATOR -combinations AND permutations

by

 

02 Jun 2009 (Updated )

Returns 1 of 4 different samplings on the set 1:N, taken K at a time.

cumsumall.m
%CUMSUMALL cumulative sum of integer elements 
%   For vectors, CUMSUMALL(X) is a vector containing the cumulative sum of
%   the elements of X. For matrices, CUMSUM(X) is a matrix the same size
%   as X containing the cumulative sums over each column.  
% 
% Class suport:
%     int8, int16, int32
%
% Keep in mind that the usefullness of this MEX-File is limited because of
% saturation for most problems outside of use with COMBINATOR.
%
%   See also cumsum, CUMPROD, SUM, PROD.

Contact us