Companion

object Companion

Functions

Link copied to clipboard
inline fun abs(value: ComplexF): Float

Returns the absolute value of the specified complex number.

Link copied to clipboard
inline fun conjugate(value: ComplexF): ComplexF

Returns the conjugate of the specified complex number.

Link copied to clipboard

Returns the cosine of the specified complex number.

Link copied to clipboard
inline fun cosh(value: ComplexF): ComplexF

Returns the hyperbolic cosine of the specified complex number.

Link copied to clipboard

Returns the E constant to the power of specified complex number.

Link copied to clipboard
inline fun fromAngle(angle: AngleF): ComplexF

Creates a new complex number using the specified angle.

Link copied to clipboard
inline fun fromPolar(magnitude: Float, phase: Float): ComplexF

Creates a new complex number using the specified polar coordinates.

Link copied to clipboard

Returns the sine of the specified complex number.

Link copied to clipboard
inline fun sinh(value: ComplexF): ComplexF

Returns the hyperbolic sine of the specified complex number.

Link copied to clipboard

Returns the square root of the specified complex number.

Link copied to clipboard

Returns the tangent of the specified complex number.

Link copied to clipboard
inline fun tanh(value: ComplexF): ComplexF

Returns the hyperbolic tangent of the specified complex number.

Properties

Link copied to clipboard

Value of i

Link copied to clipboard

Value of 1

Link copied to clipboard
const val SIZE_BITS: Int = 64

The number of bits used to represent an instance of ComplexF in a binary form.

Link copied to clipboard
const val SIZE_BYTES: Int = 8

The number of bytes used to represent an instance of ComplexF in a binary form.

Link copied to clipboard

Value of 0