Class IdentityMatrix
- java.lang.Object
-
- org.hortonmachine.gears.utils.math.matrixes.Matrix
-
- org.hortonmachine.gears.utils.math.matrixes.SquareMatrix
-
- org.hortonmachine.gears.utils.math.matrixes.IdentityMatrix
-
public class IdentityMatrix extends SquareMatrix
From: Java Number Cruncher The Java Programmer's Guide to Numerical Computation by Ronald Mak
-
-
Constructor Summary
Constructors Constructor Description IdentityMatrix(int n)Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidconvert(SquareMatrix sm)Convert a square matrix into an identity matrix.-
Methods inherited from class org.hortonmachine.gears.utils.math.matrixes.SquareMatrix
add, multiply, set, subtract
-
-
-
-
Method Detail
-
convert
public static void convert(SquareMatrix sm)
Convert a square matrix into an identity matrix.- Parameters:
sm- the square matrix to convert
-
-