* Scalar multiply a complex number, by a real number lambda * @param lambda - The real number scaling factor * @returns The scaled version of the complex number
(lambda: number)
| 93 | * @returns The scaled version of the complex number |
| 94 | */ |
| 95 | public scalarMult(lambda: number): complex |
| 96 | { |
| 97 | return new complex (lambda * this.real, lambda * this.img); |
| 98 | } |
| 99 | |
| 100 | /** |
| 101 | * Get the magnitude(absolute value) of the complex number |
nothing calls this directly
no outgoing calls
no test coverage detected