pg.scalars.Cosine¶ Accessible via pg.scalars.Cosine, pg.scalars.cos. class Cosine(x)[source]¶ Bases: pg.scalars.UnaryOp Cosine that works for scalars. Methods: operate(x) Implementation of the operation on a computed value. operate(x)[source]¶ Implementation of the operation on a computed value. Return type: float