Back to Adaptive Vision Library website

You are here: Start » Function Reference » Array Transforms » AvsFilter_ResizeArray

AvsFilter_ResizeArray


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Add or removes elements at the end of an array until it reaches the requested new size.

Syntax

void avs::AvsFilter_ResizeArray
(
	const atl::Array<Type>& inArray,
	int inNewSize,
	const Type& inValue,
	atl::Array<Type>& outArray
)

Parameters

Name Type Range Default Description
inArray const Array<Type>&
inNewSize int 0 - 1
inValue const Type&
outArray Array<Type>&

Errors

Error type Description
DomainError inNewSize negative in ResizeArray.