MCPcopy Create free account
hub / github.com/Singular/Singular / complexNumber

Function complexNumber

kernel/linear_algebra/linearAlgebra.cc:541–545  ·  view source on GitHub ↗

* Creates a new complex number from real and imaginary parts given * by doubles. * * @return the new complex number **/

Source from the content-addressed store, hash-verified

539 * @return the new complex number
540 **/
541number complexNumber(const double r, const double i)
542{
543 gmp_complex* n= new gmp_complex(r, i);
544 return (number)n;
545}
546
547/**
548 * Returns one over the exponent-th power of ten.

Callers 2

tenToTheMinusFunction · 0.85
realSqrtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected