Companion

object Companion

Properties

Link copied to clipboard

Value of i, in polar form a complex number with magnitude of 1 and phaseAngle of 90°.

Link copied to clipboard

Value of 1, in polar form a complex number with magnitude of 1 and phaseAngle of 0°.

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

Functions

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

Returns the absolute value of the specified complex number.

Link copied to clipboard

Returns the arc cosine of the specified complex number.

Link copied to clipboard

Returns the arc sine of the specified complex number.

Link copied to clipboard

Returns the arc tangent 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 natural logarithm (base E) of the specified complex number.

Link copied to clipboard
fun log(value: ComplexF, base: Float): ComplexF

Returns the logarithm of the specified complex number to the given base.

Link copied to clipboard

Returns the common logarithm (base 10) of the specified complex number.

Link copied to clipboard

Returns the binary logarithm (base 2) of the specified complex number.

Link copied to clipboard

Returns a normalized linear interpolation of two rotations a and b with interpolator value of t.

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 a spherical linear interpolation of two rotations a and b with interpolator value of t.

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.