MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / scalarMult

Method scalarMult

nodejs_package/brainflow/complex.ts:95–98  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected