Difference between revisions of "Error Messages/41092"
m (→Cause) |
|||
Line 1: | Line 1: | ||
− | + | [[Category: Error messages]] | |
− | The Function Random is not a valid conglomeration function | + | == Error message examples == |
− | cannot be used for the | + | <pre style="background:white; border:white; margin-left: 1em; font-style:italic"> |
+ | The Function Random is not a valid conglomeration function, and thus | ||
+ | cannot be used for the «type» parameter to Function Aggregate. | ||
+ | </pre> | ||
− | = Cause = | + | == Cause == |
− | The | + | The «type» parameter to [[Aggregate]] can be passed to specify the [[:Category:Array-reducing_functions|array reducing function]] to use for aggregation. The following functions may be passed as the «type» parameter to [[Aggregate]]: |
[[Sum]](default), [[Max]], [[Min]], [[Average]] or [[Mean]], [[Product]], [[Median]], [[SDeviation]], [[Variance]], [[Skewness]], [[Kurtosis]], and [[Join]]. | [[Sum]](default), [[Max]], [[Min]], [[Average]] or [[Mean]], [[Product]], [[Median]], [[SDeviation]], [[Variance]], [[Skewness]], [[Kurtosis]], and [[Join]]. | ||
− | For User-Defined | + | For [[User-Defined Function]]s, the aggregating function must have parameters of the form <code>F(A: Array[I]; I: Index)</code> |
− | The function you have passed as the | + | The function you have passed as the «type» parameter does not qualify as an [[:Category:Array-reducing_functions|array reducing function]]. Please visit the following page to learn more about the [[Aggregate#Aggregation_types|«type» parameter]] and to see examples. |
− | = Remedies = | + | == Remedies == |
− | Correct the | + | Correct the «type» parameter passed to the [[Aggregate]] function to be a valid [[:Category:Array-reducing_functions|array reducing function]] name or [[handle]]. |
− | + | ==See Also== | |
+ | * [[Aggregate]] | ||
+ | * [[Array-reducing functions]] | ||
+ | * [[Function calls and parameters]] | ||
+ | * [[Handle]] |
Latest revision as of 00:11, 17 March 2016
Error message examples
The Function Random is not a valid conglomeration function, and thus cannot be used for the «type» parameter to Function Aggregate.
Cause
The «type» parameter to Aggregate can be passed to specify the array reducing function to use for aggregation. The following functions may be passed as the «type» parameter to Aggregate: Sum(default), Max, Min, Average or Mean, Product, Median, SDeviation, Variance, Skewness, Kurtosis, and Join.
For User-Defined Functions, the aggregating function must have parameters of the form F(A: Array[I]; I: Index)
The function you have passed as the «type» parameter does not qualify as an array reducing function. Please visit the following page to learn more about the «type» parameter and to see examples.
Remedies
Correct the «type» parameter passed to the Aggregate function to be a valid array reducing function name or handle.
See Also
Comments
Enable comment auto-refresher