Difference between revisions of "Category:Array-reducing functions"

 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:Array Functions]]
 
[[Category:Array Functions]]
  
An '''''array-reducing function''''' operates across a dimension of an array and returns a result that has one dimension less than the number of dimensions of its input array. When applied to an array of n dimensions, a reducing function produces an array that contains n-1 dimensions.
+
An '''''array-reducing function''''' operates over an index of an array and returns a result without that index.  For example, if x is indexed by i, j, and k, Sum(x, k) sums x over  k, so its result is indexed by i and j, but not k. Most array-reducing functions can operate over multiple indexes. For example, Sum(x, i, j) sums x over i and j, returning a result indexed only by k.  
  
The function [[Sum]] is a very-commonly used array reducing function, and is a good example of a function in this category.
+
See [[Array-reducing functions]] and the commonly-used function [[Sum]] as an example for more details.

Latest revision as of 01:42, 27 January 2016


An array-reducing function operates over an index of an array and returns a result without that index. For example, if x is indexed by i, j, and k, Sum(x, k) sums x over k, so its result is indexed by i and j, but not k. Most array-reducing functions can operate over multiple indexes. For example, Sum(x, i, j) sums x over i and j, returning a result indexed only by k.

See Array-reducing functions and the commonly-used function Sum as an example for more details.

Pages in category "Array-reducing functions"

The following 15 pages are in this category, out of 15 total.