Browsing Wiremod's section
← Back to ACE
🔁

Mirrored article

This page is synced automatically from the wiremod/wire GitHub wiki (last synced 1 hour ago). Edits made here will be overwritten on the next sync — contribute on the source wiki instead.

e2 docs complex

📁 MathUpdated 1 hour ago•0 views
Complex = comp() Returns complex zero (2 ops) = comp( A) Converts a real number to complex (returns complex number with real part N and imaginary part 0) (2 ops) = comp( A, B) Returns a + b*i (2 ops)

Jump to table of contents

Complex
= comp()
Returns complex zero (2 ops)

= comp( A)
Converts a real number to complex (returns complex number with real part N and imaginary part 0) (2 ops)

= comp( A, B)
Returns a + b*i (2 ops)

= i()
Returns the imaginary unit i (2 ops)

= i( B)
Returns N*i (2 ops)

= abs( Z)
Returns the absolute value of C (2 ops)

= arg( Z)
Returns the argument of C (2 ops)

= conj( Z)
Returns the conjugate of C (2 ops)

= real( Z)
Returns the real part of C (2 ops)

= imag( Z)
Returns the imaginary part of C (2 ops)

= exp( Z)
Raises Euler's constant e to the power of C (2 ops)

= log( Z)
Calculates the natural logarithm of C (2 ops)

= log( Base, Z)
Calculates the logarithm of C2 to a complex base C (2 ops)

= log( Base, Z)
Calculates the logarithm of C to a real base N (2 ops)

= log2( Z)
Calculates the logarithm of C to base 2 (2 ops)

= log10( Z)
Calculates the logarithm of C to base 10 (2 ops)

= sqrt( Z)
Calculates the square root of C (2 ops)

= csqrt( N)
Calculates the complex square root of the real number N (2 ops)

= sin( Z)
Calculates the sine of C (3 ops)

= cos( Z)
Calculates the cosine of C (3 ops)

= sinh( Z)
Calculates the hyperbolic sine of C (3 ops)

= cosh( Z)
Calculates the hyperbolic cosine of C (3 ops)

= tan( Z)
Calculates the tangent of C (3 ops)

= cot( Z)
Calculates the cotangent of C (3 ops)

= asin( Z)
Calculates the inverse sine of C (5 ops)

= acos( Z)
Calculates the inverse cosine of C (5 ops)

= atan( Z)
Calculates the inverse tangent of C (5 ops)

= atan2( Z)
Calculates the principle value of C (2 ops)

= tanh( Z)
Calculates the hyperbolic tangent of C (4 ops)

= coth( Z)
Calculates the hyperbolic cotangent of C (4 ops)

= sec( Z)
Calculates the secant of C (3 ops)

= csc( Z)
Calculates the cosecant of C (3 ops)

= sech( Z)
Calculates the hyperbolic secant of C (3 ops)

= csch( Z)
Calculates the hyperbolic cosecant of C (3 ops)

= toString( Z)
Formats C as a string (15 ops)

= :toString()
The same as toString(C) (15 ops)

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.