edu.emory.mathcs.csparsej.tfloat
Class Scs_house
- java.lang.Object
-
- edu.emory.mathcs.csparsej.tfloat.Scs_house
-
public class Scs_house extends java.lang.ObjectCompute Householder reflection.
-
-
Constructor Summary
Constructors Constructor and Description Scs_house()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static floatcs_house(float[] x, int x_offset, float[] beta, int n)Compute a Householder reflection, overwrite x with v, where (I-beta*v*v')*x = s*e1.
-
-
-
Method Detail
-
cs_house
public static float cs_house(float[] x, int x_offset, float[] beta, int n)Compute a Householder reflection, overwrite x with v, where (I-beta*v*v')*x = s*e1. See Algo 5.1f.1f, Golub & Van Loan, 3rd ed.- Parameters:
x- x on output, v on inputx_offset- the index of the first element in array xbeta- scalar betan- the length of x- Returns:
- norm2(x), -1 on error
-
-
DMelt 3.0 © DataMelt by jWork.ORG