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