Back to Aurora Vision Library Lite websiteYou are here:
Start »
All Functions »
Conditional Processing »
GroupByCase
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Header: |
STD.h
|
Namespace: |
avl |
Groups the elements of the input array into output arrays, depending on the associated array of case indices.
Syntax
void avl::GroupByCase
(
const atl::Array<Type>& inArray,
const atl::Array<int>& inCaseIndices,
atl::Array<atl::Array<Type> >& outGroupedElements,
atl::Array<atl::Array<int> >& outGroupedIndices
)
Parameters
|
Name |
Type |
Default |
Description |
|
inArray |
const Array<Type>& |
|
Elements to be grouped |
|
inCaseIndices |
const Array<int>& |
|
Reference values corresponding to the input array elements |
|
outGroupedElements |
Array<Array<Type> >& |
|
List of input elements for each case |
|
outGroupedIndices |
Array<Array<int> >& |
|
List of input element indices for each case |
Errors
List of possible exceptions:
Error type |
Description |
DomainError |
Inconsistent array lengths on input in GroupByCase. |