Package cern.colt.matrix.linalg
Class Diagonal
- java.lang.Object
-
- cern.colt.matrix.linalg.Diagonal
-
class Diagonal extends java.lang.Object
For diagonal matrices we can often do better.- Version:
- 1.0, 09/24/99
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Diagonal()
Makes this class non instantiable, but still let's others inherit from it.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
inverse(DoubleMatrix2D A)
Modifies A to hold its inverse.
-
-
-
Method Detail
-
inverse
public static boolean inverse(DoubleMatrix2D A)
Modifies A to hold its inverse.- Parameters:
x
- the first vector.y
- the second vector.- Returns:
- isNonSingular.
- Throws:
java.lang.IllegalArgumentException
- if x.size() != y.size().
-
-