Complex trig functions (z = 0)¶
Complex valued special functions about a point.
- boring_math.special_functions.ctrig0.csin0(z: complex, /, n: int = 20) complex¶
Partially factored Taylor expansion of sine about
z = 0.Note
Best if
|z| <= 2πandn >= 20.- Parameters:
z – independent variable
n – terms in expansion, must have
2 <= n <= 84
- Returns:
Taylor series expansion of sine(x) centered at
z = 0.
- boring_math.special_functions.ctrig0.ccos0(z: complex, /, n: int = 20) complex¶
Partially factored Taylor expansion of cosine about
z = 0.Note
Best if
|z| <= 2πandn >= 22.- Parameters:
z – independent variable
n – terms in expansion, must have
2 <= n <= 84
- Returns:
Taylor series expansion of cosine(z) centered at
z = 0
- boring_math.special_functions.ctrig0.ctan0(z: complex, /, n: int = 20) complex¶
Tangent centered about
z = 0.Note
Best if
|z| <= πandn >= 20.- Parameters:
z – Independent variable.
n – Terms in expansion, must have
2 <= n <= 84.
- Returns:
The value
csin0(z)/ccos0(z).