MatrixComputationalType, Matrix2x2FType, MatrixReadable2x2FType, MatrixReadableFTypepublic final class Matrix2x2F extends Object implements Matrix2x2FType
float-typed matrices.| Modifier and Type | Class | Description |
|---|---|---|
static class |
Matrix2x2F.Builder |
Builds instances of type
Matrix2x2F. |
| Modifier and Type | Method | Description |
|---|---|---|
static Matrix2x2F.Builder |
builder() |
Creates a builder for
Matrix2x2F. |
boolean |
equals(Object another) |
This instance is equal to all instances of
Matrix2x2F that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
r0c0, r0c1, r1c0, r1c1. |
static Matrix2x2F |
of(float r0c0,
float r0c1,
float r1c0,
float r1c1) |
Construct a new immutable
Matrix2x2F instance. |
float |
r0c0() |
|
float |
r0c1() |
|
float |
r1c0() |
|
float |
r1c1() |
|
String |
toString() |
Prints the immutable value
Matrix2x2F with attribute values. |
rowColumnpublic float r0c0()
r0c0 in interface Matrix2x2FTyper0c0 in interface MatrixReadable2x2FTypepublic float r0c1()
r0c1 in interface Matrix2x2FTyper0c1 in interface MatrixReadable2x2FTypepublic float r1c0()
r1c0 in interface Matrix2x2FTyper1c0 in interface MatrixReadable2x2FTypepublic float r1c1()
r1c1 in interface Matrix2x2FTyper1c1 in interface MatrixReadable2x2FTypepublic boolean equals(Object another)
Matrix2x2F that have equal attribute values.public int hashCode()
r0c0, r0c1, r1c0, r1c1.public String toString()
Matrix2x2F with attribute values.public static Matrix2x2F of(float r0c0, float r0c1, float r1c0, float r1c1)
Matrix2x2F 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 Matrix2x2F.Builder builder()
Matrix2x2F.Copyright © 2017 <code@io7m.com> http://io7m.com