Class Householder4ZeroGenerator
- java.lang.Object
-
- dev.nm.algebra.linear.matrix.doubles.operation.householder.HouseholderReflection
-
- dev.nm.algebra.linear.matrix.doubles.operation.householder.Householder4ZeroGenerator
-
public class Householder4ZeroGenerator extends HouseholderReflection
Faster implementation of Householder reflection for zero generator vector.
-
-
Constructor Summary
Constructors Constructor Description Householder4ZeroGenerator(int generatorSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector
reflect(Vector x)
Apply the Householder matrix, H, to a column vector, x.-
Methods inherited from class dev.nm.algebra.linear.matrix.doubles.operation.householder.HouseholderReflection
definingVector, H, product, product, reflect, reflectColumns, reflectRows, reflectVectors, rightReflect
-
-
-
-
Method Detail
-
reflect
public Vector reflect(Vector x)
Description copied from class:HouseholderReflection
Apply the Householder matrix, H, to a column vector, x.Hx = x - 2 * <v,x> * v
- Overrides:
reflect
in classHouseholderReflection
- Parameters:
x
- a vector- Returns:
- Hx
-
-