zonopy.cos#
- zonopy.cos(zpset: IType | PZType | BPZType, order: int = 6) IType | PZType | BPZType [source]#
Cosine function
This function computes the cosine function for zonopy continuous set types. The order of the Taylor expansion can be specified. The default is 6.
- Parameters:
zpset – The set to compute the cosine function for.
order – The order of the Taylor expansion.
- Returns:
The result of the cosine function for the set.