Creates an instance of a correlation filter with the given coefficients.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public CorrelationFilter( DoubleVector coefficients ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ coefficients As DoubleVector _ ) |
| Visual C++ |
|---|
public: CorrelationFilter( DoubleVector^ coefficients ) |
Parameters
- coefficients
- Type: CenterSpace.NMath.Core..::.DoubleVector
Vector of filtering coefficients
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | The number of coefficients much be greater than zero. |