util/complex.sh

Complex number functions.

Complex()

Complex numbers.

Complex_conjugate()

Return a new number whose value is the conjugate of c.

Complex_eq()

Return true if the given numbers are equal.

Complex_minus()

Return a new number that is a difference.

Complex_plus()

Return a new number that is a sum of two numbers.

Complex_scale()

Return a new number whose value is (c * alpha)

Complex_times()

Return a new number whose value is (c * c2)

Complex_to_string()

Return string representation of this complex number.