Signal Processing Extensions.Discrete Cosine Transform Method
Computes the discrete cosine transform of a vector.
Definition
Namespace: Numerics.NET.SignalProcessing
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.6
C#
The discrete cosine transform (DCT) of x.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.6
public static Vector<double> DiscreteCosineTransform(
this Vector<double> x,
bool orthonormal = true
)
Parameters
- x Vector<Double>
- The vector to transform.
- orthonormal Boolean (Optional)
- Optional. Specifies whether the transform should be orthogonal/unitary. The default is true.
Return Value
Vector<Double>The discrete cosine transform (DCT) of x.