AbstractWindowCompute(Double, Int32, Int32, Boolean) Method |
Computes the window values into a sub-range of the provided array.
Namespace: Altaxo.Calc.Fourier.WindowsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic void Compute(
double[] array,
int startidx,
int count,
bool periodic
)
Parameters
- array Double
- The array that receives the window values.
- startidx Int32
- The start index in array to begin writing values.
- count Int32
- The number of values to write.
- periodic Boolean
- If set to true the window is computed in periodic mode.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown when array is null. |
| ArgumentException |
Thrown when array has length zero, when startidx is negative,
when count is less than one, or when startidx + count exceeds the array length.
|
See Also