zonopy.cos_sin_cartprod#
- zonopy.cos_sin_cartprod(pz: PZType | BPZType, order: int = 6) PZType | BPZType [source]#
Cosine and sine cartesian product
This function computes the cartesian product of the cosine and sine functions for zonopy continuous set types. The order of the Taylor expansion can be specified. The default is 6. Currently only works for 1D polyZonotopes.
- Parameters:
pz – The set to compute the cosine and sine cartesian product for.
order – The order of the Taylor expansion.
- Returns:
The result of the cosine and sine cartesian product for the set.