# Interface Imaginaryf

All Known Implementing Classes:
`Complexf`, `Quaternionf`

public interface Imaginaryf
Represents an imaginary number.
• ## Method Summary

Modifier and Type
Method
Description
`Imaginaryf`
`conjugate()`
Returns the conjugated imaginary number.
`Imaginaryf`
`div(float a)`
Divides the imaginary number by the given scalar.
`Imaginaryf`
`invert()`
Returns the inverts imaginary number.
`float`
`length()`
Returns the length of the imaginary number.
`float`
`lengthSquared()`
Returns the square of the length of the imaginary number.
`Imaginaryf`
`mul(float a)`
Multiplies the imaginary number by the given scalar.
`Imaginaryf`
`normalize()`
Normalizes the imaginary number.
`Imaginaryd`
`toDouble()`

`Imaginaryf`
`toFloat()`

• ## Method Details

• ### mul

Imaginaryf mul(float a)
Multiplies the imaginary number by the given scalar.
Parameters:
`a` - The scalar to multiply by
Returns:
The multiplied imaginary number
• ### div

Imaginaryf div(float a)
Divides the imaginary number by the given scalar.
Parameters:
`a` - The scalar to divide by
Returns:
The multiplied imaginary number
• ### conjugate

Imaginaryf conjugate()
Returns the conjugated imaginary number.
Returns:
The conjugate
• ### invert

Imaginaryf invert()
Returns the inverts imaginary number.
Returns:
The inverse
• ### length

float length()
Returns the length of the imaginary number.
Returns:
The length
• ### lengthSquared

float lengthSquared()
Returns the square of the length of the imaginary number.
Returns:
The square of the length
• ### normalize

Imaginaryf normalize()
Normalizes the imaginary number.
Returns:
The imaginary number, but of unit length
• ### toFloat

Imaginaryf toFloat()
• ### toDouble

Imaginaryd toDouble()