public final class MrMatrix4f extends java.lang.Object implements MrLinearAlgebraObject
Modifier and Type | Class and Description |
---|---|
static class |
MrMatrix4f.Operator |
Constructor and Description |
---|
MrMatrix4f() |
MrMatrix4f(float[] values) |
MrMatrix4f(MrMatrix4f m) |
Modifier and Type | Method and Description |
---|---|
void |
copyValues(MrMatrix4f m) |
int |
getCount() |
MrDataType |
getDataType() |
static MrMatrix4f.Operator |
getOperator() |
float |
getValueAt(int i,
int j)
Gets the value of row i and column j
|
float[] |
getValues() |
void |
setValueAt(int i,
int j,
float f)
Sets a certain value of the matix
|
void |
setValues(float[] values) |
java.lang.String |
toString() |
public MrMatrix4f()
public MrMatrix4f(MrMatrix4f m)
public MrMatrix4f(float[] values)
public static MrMatrix4f.Operator getOperator()
public int getCount()
getCount
in interface MrLinearAlgebraObject
public float[] getValues()
getValues
in interface MrLinearAlgebraObject
public void setValues(float[] values)
public MrDataType getDataType()
getDataType
in interface MrLinearAlgebraObject
public void setValueAt(int i, int j, float f)
i
- row indexj
- column indexf
- valuepublic float getValueAt(int i, int j)
i
- j
- public void copyValues(MrMatrix4f m)
public java.lang.String toString()
toString
in class java.lang.Object