public final class Matrices extends Object
| Modifier and Type | Method and Description |
|---|---|
static Matrix |
identity(int n)
Create a new identity matrix with the given dimension.
|
public static Matrix identity(int n)
n - the dimension of the identity matrix.