You are here: Start » FIL.NET » FIL.ProfileCorrelation
Computes the correlation between two sub-profiles.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void ProfileCorrelation ( FilNet.Profile inProfile1, int inStart1, FilNet.Profile inProfile2, int inStart2, int? inLength, out float outCorrelation, FilNet.Profile diagProfile1, FilNet.Profile diagProfile2 )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inProfile1 | FilNet.Profile | First input profile. | ||
![]() | inStart1 | int | <0, INF> | Start of the first sub-profile of interest. | |
![]() | inProfile2 | FilNet.Profile | Second input profile. | ||
![]() | inStart2 | int | <0, INF> | Start of the second sub-profile of interest. | |
![]() | inLength | int? | <0, INF> | Length of the sub-profiles of interest. Default value: ftl::NIL. | |
![]() | outCorrelation | float | Pearson correlation coefficient. | ||
![]() | diagProfile1 | FilNet.Profile | First sub-profile of interest. | ||
![]() | diagProfile2 | FilNet.Profile | Second sub-profile of interest. |
Hardware Acceleration
This operation is optimized for AVX2 technology.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | At least two element sub-profiles are required in ProfileCorrelation. |
DomainError | Empty profiles on input in ProfileCorrelation. |
DomainError | First sub-profile is out of range in ProfileCorrelation. |
DomainError | Second sub-profile is out of range in ProfileCorrelation. |
Function Overrides
- ProfileCorrelation(Profile, Int32, Profile, Int32, Single)
- ProfileCorrelation(Profile, Int32, Profile, Int32, Single, NullableValue<Single>)
- ProfileCorrelation(Profile, Int32, Profile, Int32, Nullable<Int32>, Single)
- ProfileCorrelation(Profile, Int32, Profile, Int32, Single, Profile, Profile)
- ProfileCorrelation(Profile, Int32, Profile, Int32, Nullable<Int32>, Single, NullableValue<Single>)
- ProfileCorrelation(Profile, Int32, Profile, Int32, Single, NullableValue<Single>, Profile, Profile)
- ProfileCorrelation(Profile, Int32, Profile, Int32, Nullable<Int32>, Single, Single, Profile, Profile)
- ProfileCorrelation(Profile, Int32, Profile, Int32, Nullable<Int32>, Single, NullableValue<Single>, Profile, Profile)