Package jline.lib.butools.reptrans
Class TransformToOnes
java.lang.Object
jline.lib.butools.reptrans.TransformToOnes
Similarity transformation mapping a closing vector to a vector of ones.
-
Method Summary
Modifier and TypeMethodDescriptionstatic MatrixtransformToOnes(Matrix clovec) Returns the similarity transformation matrix B such that B*clovec = ones.
-
Method Details
-
transformToOnes
Returns the similarity transformation matrix B such that B*clovec = ones. Works even if clovec has zero entries.- Parameters:
clovec- the original closing (column) vector, shape (M,1)- Returns:
- B, shape (M,M), with B*clovec = ones(M,1)
-