| Package | Description |
|---|---|
| com.flowpowered.math.imaginary | |
| com.flowpowered.math.matrix |
| Modifier and Type | Field and Description |
|---|---|
static Complexf |
Complexf.IDENTITY
An immutable identity (1, 0) complex.
|
static Complexf |
Complexf.ZERO
An immutable identity (0, 0) complex.
|
| Modifier and Type | Method and Description |
|---|---|
Complexf |
Complexf.add(Complexf c)
Adds another complex to this one.
|
Complexf |
Complexf.add(double x,
double y)
Adds the double components of another complex to this one.
|
Complexf |
Complexf.add(float x,
float y)
Adds the float components of another complex to this one.
|
Complexf |
Complexf.clone() |
Complexf |
Complexf.conjugate()
Returns the conjugate of this complex.
|
Complexf |
Complexf.div(Complexf c)
Divides this complex by another one.
|
Complexf |
Complexf.div(double a)
Divides the components of this complex by a double scalar.
|
Complexf |
Complexf.div(double x,
double y)
Divides this complex by the double components of another one.
|
Complexf |
Complexf.div(float a)
Divides the components of this complex by a float scalar.
|
Complexf |
Complexf.div(float x,
float y)
Divides this complex by the float components of another one.
|
static Complexf |
Complexf.from(float x,
float y)
Creates a new complex from the float components.
|
static Complexf |
Complexf.fromAngleDeg(double angle)
Creates a new complex from the double angle in degrees.
|
static Complexf |
Complexf.fromAngleDeg(float angle)
Creates a new complex from the float angle in radians.
|
static Complexf |
Complexf.fromAngleRad(double angle)
Creates a new complex from the double angle in radians.
|
static Complexf |
Complexf.fromAngleRad(float angle)
Creates a new complex from the float angle in radians.
|
static Complexf |
Complexf.fromImaginary(float y)
Creates a new complex from the float imaginary components.
|
static Complexf |
Complexf.fromReal(float x)
Creates a new complex from the float real component.
|
static Complexf |
Complexf.fromRotationTo(Vector2f from,
Vector2f to)
Creates a new complex from the angle defined from the first to the second vector.
|
static Complexf |
Complexf.fromRotationTo(Vector3f from,
Vector3f to)
Creates a new complex from the angle defined from the first to the second vector.
|
Complexf |
Complexf.invert()
Returns the inverse of this complex.
|
Complexf |
Complexf.mul(Complexf c)
Multiplies another complex with this one.
|
Complexf |
Complexf.mul(double a)
Multiplies the components of this complex by a double scalar.
|
Complexf |
Complexf.mul(double x,
double y)
Multiplies the double components of another complex with this one.
|
Complexf |
Complexf.mul(float a)
Multiplies the components of this complex by a float scalar.
|
Complexf |
Complexf.mul(float x,
float y)
Multiplies the float components of another complex with this one.
|
Complexf |
Complexf.normalize()
Normalizes this complex.
|
Complexf |
Complexf.sub(Complexf c)
Subtracts another complex from this one.
|
Complexf |
Complexf.sub(double x,
double y)
Subtracts the double components of another complex from this one.
|
Complexf |
Complexf.sub(float x,
float y)
Subtracts the float components of another complex from this one.
|
Complexf |
Quaternionf.toComplex()
Converts this quaternion to a complex by extracting the rotation around
the axis and returning it as a rotation in the plane perpendicular to the
rotation axis.
|
Complexf |
Complexd.toFloat() |
Complexf |
Complexf.toFloat() |
| Modifier and Type | Method and Description |
|---|---|
Complexf |
Complexf.add(Complexf c)
Adds another complex to this one.
|
int |
Complexf.compareTo(Complexf c) |
Complexf |
Complexf.div(Complexf c)
Divides this complex by another one.
|
float |
Complexf.dot(Complexf c)
Returns the dot product of this complex with another one.
|
Complexf |
Complexf.mul(Complexf c)
Multiplies another complex with this one.
|
Complexf |
Complexf.sub(Complexf c)
Subtracts another complex from this one.
|
| Constructor and Description |
|---|
Complexf(Complexf c)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Matrix4f |
Matrix4f.createRotation(Complexf rot) |
static Matrix3f |
Matrix3f.createRotation(Complexf rot) |
static Matrix2f |
Matrix2f.createRotation(Complexf rot) |
static MatrixNf |
MatrixNf.createRotation(int size,
Complexf rot) |
MatrixNf |
MatrixNf.rotate(Complexf rot) |
Matrix4f |
Matrix4f.rotate(Complexf rot) |
Matrix3f |
Matrix3f.rotate(Complexf rot) |
Matrix2f |
Matrix2f.rotate(Complexf rot) |
Copyright © 2013–2016 Flow Powered. All rights reserved.