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

Method neg

nodejs_package/brainflow/complex.ts:122–125  ·  view source on GitHub ↗

* Get the negation of the complex number * @returns The negation of the complex number: -a + (-bi)

()

Source from the content-addressed store, hash-verified

120 * @returns The negation of the complex number: -a + (-bi)
121 */
122 public neg(): complex
123 {
124 return new complex (-this.real, -this.img);
125 }
126
127 /**
128 * Get the arguement of the complex number, the angle in radians with the x-axis in polar

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected