Skip to content

Commit

Permalink
Version 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lmendo committed Dec 26, 2015
1 parent cdad3ac commit 9150028
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Binary file modified MATL_spec.pdf
Binary file not shown.
Binary file modified funDef.mat
Binary file not shown.
9 changes: 5 additions & 4 deletions funDef.txt
Original file line number Diff line number Diff line change
Expand Up @@ -510,15 +510,15 @@ Xo 1 1 1 1 1 1 true true out{1} = uint64(in{1}); convert to unsigned 64-bit inte
Yo 1 3 1 1 1 1 true true out{1} = round(in{:}); round towards nearest decimal or integer \matlab+round+
Zo 1 1 1 1 1 1 true true out{1} = fix(in{:}); round to nearest integer towards zero \matlab+fix+
p 1 3 1 1 1 1 true true out{1} = prod(in{:}); product of elements \matlab+prod+
Xp 1 3 1 1 1 1 true true out{1} = cumprod(in{:}); cumulative product \matlab+cumprod+
Yp 1 1 1 1 1 1 true true out{1} = primes(in{1}); prime numbers up to a given value \matlab+primes+
Xp 1 3 1 1 1 1 true true out{1} = prod(in{1},1,in{2:end}); product along first dimension \matlab+prod(..., 1, ...)+. \sa \matl+p+
Yp 1 3 1 1 1 1 true true out{1} = cumprod(in{:}); cumulative product \matlab+cumprod+
Zp 1 1 1 1 1 1 true true out{1} = isprime(in{1}); true for prime numbers \matlab+isprime+
q 2 6 2 1 1 1 true true if numel(in)>=4, if in{4}(1)~='@' && any(in{4}=='('), in{4} = ['@(x)' in{4}]; end construct array by accumulation \matlab+accumarray+
in{4} = str2func(in{4}); end
out{1} = accumarray(in{:});
Xq 2 3 2 1 1 1 true true out{1} = quantile(in{:}); quantiles of a sample \matlab+quantile+
Yq 1 1 1 1 1 1 true true N = max(in{1}(:)); p = primes(max(11,ceil(N*log(N*log(N))))); out{1} = reshape(p(in{1}), size(in{1})); clear N p find n-th prime Finds the $n$-th prime for each value $n$ in the input array
Zq
Zq 1 1 1 1 1 1 true true out{1} = primes(in{1}); prime numbers up to a given value \matlab+primes+
r 0 inf 0 1 1 1 true true out{1} = rand(in{:}); uniformly distributed pseudorandom numbers \matlab+rand+
Xr 0 inf 0 1 1 1 true true if numel(in)==0, in{1} = 1; end; out{1} = randn(in{:}); normally distributed pseudorandom numbers \matlab+randn+
Yr 1 inf 1 1 1 1 true true if numel(in)==1, in{2} = 1; end; out{1} = randi(in{:}); pseudorandom integers from uniform discrete distribution \matlab+randi+. If $1$ input: \matlab+randi(...,1)+
Expand Down Expand Up @@ -571,4 +571,5 @@ Z} 1 1 1 0 inf numel(in{1}) true true outall = mat2cell(in{1}(:), ones(1,numel(i
~ 1 1 1 1 1 1 true true out{1} = ~in{1}; logical 'not' (element-wise) \matlab+~+ (\matlab+not+)
X~ 2 4 2 1 3 1 true true [out{:}] = setxor(in{:}); set exclusive-or \matlab+setxor+
Y~ 2 2 2 1 1 1 true true out{1} = bsxfun(@xor, in{1}, in{2}); logical 'xor' (element-wise, singleton expansion) \matlab+xor+, element-wise with singleton expansion
Z~ 2 3 2 1 1 1 true true out{1} = bitxor(in{:}); bit-wise logical 'xor' \matlab+bixtor+
Z~ 1 3 2 1 1 1 true true if numel(in)>=2 && isnumeric(in{2}), out{1} = bitxor(in{:}); bit-wise logical 'xor' or complement bits \matlab+bitxor+. With $1$ numeric input (and optionally a second string input): \matlab+bitcmp+
else out{1} = bitcmp(in{:}); end
Binary file modified help.mat
Binary file not shown.

0 comments on commit 9150028

Please sign in to comment.