A - A phantom type parameter (possibly representing a source
coordinate system)B - A phantom type parameter (possibly representing a target
coordinate system)MatrixComputationalType, PMatrix2x2FType<A,B>, PMatrixReadable2x2FType<A,B>, MatrixReadable2x2FType, MatrixReadableFTypepublic final class PMatrix2x2F<A,B> extends Object implements PMatrix2x2FType<A,B>
float-typed matrices.| Modifier and Type | Class | Description |
|---|---|---|
static class |
PMatrix2x2F.Builder<A,B> |
Builds instances of type
PMatrix2x2F. |
| Modifier and Type | Method | Description |
|---|---|---|
static <A,B> PMatrix2x2F.Builder<A,B> |
builder() |
Creates a builder for
PMatrix2x2F. |
boolean |
equals(Object another) |
This instance is equal to all instances of
PMatrix2x2F that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
r0c0, r0c1, r1c0, r1c1. |
static <A,B> PMatrix2x2F<A,B> |
of(float r0c0,
float r0c1,
float r1c0,
float r1c1) |
Construct a new immutable
PMatrix2x2F instance. |
float |
r0c0() |
|
float |
r0c1() |
|
float |
r1c0() |
|
float |
r1c1() |
|
String |
toString() |
Prints the immutable value
PMatrix2x2F with attribute values. |
rowColumnpublic float r0c0()
r0c0 in interface MatrixReadable2x2FTyper0c0 in interface PMatrix2x2FType<A,B>public float r0c1()
r0c1 in interface MatrixReadable2x2FTyper0c1 in interface PMatrix2x2FType<A,B>public float r1c0()
r1c0 in interface MatrixReadable2x2FTyper1c0 in interface PMatrix2x2FType<A,B>public float r1c1()
r1c1 in interface MatrixReadable2x2FTyper1c1 in interface PMatrix2x2FType<A,B>public boolean equals(Object another)
PMatrix2x2F that have equal attribute values.public int hashCode()
r0c0, r0c1, r1c0, r1c1.public String toString()
PMatrix2x2F with attribute values.public static <A,B> PMatrix2x2F<A,B> of(float r0c0, float r0c1, float r1c0, float r1c1)
PMatrix2x2F instance.r0c0 - The value for the r0c0 attributer0c1 - The value for the r0c1 attributer1c0 - The value for the r1c0 attributer1c1 - The value for the r1c1 attributepublic static <A,B> PMatrix2x2F.Builder<A,B> builder()
PMatrix2x2F.A - generic parameter AB - generic parameter BCopyright © 2017 <code@io7m.com> http://io7m.com