* Get the sine of the complex number * @returns The sine of the complex number
()
| 158 | * @returns The sine of the complex number |
| 159 | */ |
| 160 | public sin(): complex |
| 161 | { |
| 162 | return new complex ( |
| 163 | Math.cosh(this.img) * Math.sin(this.real), Math.sinh(this.img) * Math.cos(this.real)); |
| 164 | } |
| 165 | |
| 166 | /** |
| 167 | * Get the cosine of the complex number |