You are here: Start » AVL.NET » AVL.ShrinkProfileNTimes Method

AVL.ShrinkProfileNTimes Method

Reduces the length of the profile by averaging its elements.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ShrinkProfileNTimes(
	AvlNet.Profile inProfile,
	int inN,
	out AvlNet.Profile outProfile
)

Parameters

Name Type Range Default Description
inProfileAvlNet.ProfileInput profile.
inNint<1, INF>2The scaling coefficient. Default value: 2.
outProfileAvlNet.ProfileOutput profile.

Errors

Error type Description
DomainError Input profile size must be greater then 2 in ShrinkProfileNTimes!

See also