Skip to content

Deprecate cotangent methods named "cotan" to "cot" #29412

@DaveWitteMorris

Description

@DaveWitteMorris

Most of sage uses cot for the cotangent function 1/tan(x), but the classes ComplexNumber and MPComplexNumber have methods that are called cotan, instead. To eliminate a bug caused by this inconsistency, ticket #29409 renames these methods to cot.

For backward compatibility, ticket #29409 defines cotan as an alias for cot in these two classes. This ticket deprecates those aliases.

FWIW, Maple uses cot and Mathematica uses Cot.

Depends on #29409

Component: numerical

Keywords: cotangent, complex

Author: Dave Morris

Branch/Commit: b78b409

Reviewer: Markus Wageringel

Issue created by migration from https://trac.sagemath.org/ticket/29412

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions