You are here: Start » AVL.NET » AVL.ShrinkProfileNTimes(AvlNet.Profile, int, AvlNet.Profile)

AVL.ShrinkProfileNTimes(AvlNet.Profile, int, AvlNet.Profile)

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

inProfile
Type: AvlNet.Profile
Input profile
inN
Type: System.Int32
The scaling coefficient
outProfile
Type: AvlNet.Profile
Output profile

Errors

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

See also