Function nalgebra::householder_matrix [] [src]

pub fn householder_matrix<N, V, M>(dim: usize, start: usize, vec: V) -> M where N: BaseFloat, M: Eye + Indexable<(usize, usize), N>, V: Indexable<usize, N>

Get the householder matrix corresponding to a reflexion to the hyperplane defined by vec. It can be a reflexion contained in a subspace.

 Arguments

  • dim - the dimension of the space the resulting matrix operates in
  • start - the starting dimension of the subspace of the reflexion
  • vec - the vector defining the reflection.