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

Method constructor

nodejs_package/brainflow/complex.ts:14–18  ·  view source on GitHub ↗

* Construct a new complex number from two real numbers * @param real - The real component * @param imaginary - The imaginary component * @returns Complex number constructed from given parameters

(real: number, imaginary: number)

Source from the content-addressed store, hash-verified

12 * @returns Complex number constructed from given parameters
13 */
14 constructor(real: number, imaginary: number)
15 {
16 this._real = real;
17 this._img = imaginary;
18 }
19
20 /**
21 * Get the real component of the complex number

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected