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 |
![](../img/in.png) | inProfile | AvlNet.Profile | | | Input profile. |
![](../img/in.png) | inN | int | <1, INF> | 2 | The scaling coefficient. Default value: 2. |
![](../img/out.png) | outProfile | AvlNet.Profile | | | Output profile. |
Errors
Error type |
Description |
DomainError |
Input profile size must be greater then 2 in ShrinkProfileNTimes! |
See also