Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 965983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:05:12+00:00 2026-05-16T02:05:12+00:00

Based on the documents http://www.gnu.org/software/gsl/manual/html_node/Householder-Transformations.html and http://en.wikipedia.org/wiki/Householder_transformation I figured the following code would successfully

  • 0

Based on the documents

http://www.gnu.org/software/gsl/manual/html_node/Householder-Transformations.html

and

http://en.wikipedia.org/wiki/Householder_transformation

I figured the following code would successfully produce the matrix for reflection in the plane orthogonal to the unit vector normal_vector.

gsl_matrix * reflection = gsl_matrix_alloc(3, 3);
gsl_matrix_set_identity(reflection);
gsl_linalg_householder_hm(2, normal_vector, reflection);

However, the result is not a reflection matrix as far as I can tell. In particular in my case it has the real eigenvalue -(2 + 1/3), which is impossible for a reflection matrix.

So my questions are:

(1) What am I doing wrong? It seems like that should work to me.

(2) If that approach doesn’t work, does anyone know how to go about building such a matrix using gsl?

[As a final note, I realize gsl provides functions for applying Householder transformations without actually finding the matrices. I actually need the matrices in my case for other work.]

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T02:05:13+00:00Added an answer on May 16, 2026 at 2:05 am

    reflection matrix, P, is never formed.
    Instead you get v as in P = I - \tau v v^T.

    gsl_linalg_householder_hm applies PA transformation, you must generate v first with gsl_linalg_householder_transform

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a good standard based component for digitally sign documents with x509
Please recommend me a simple web-based document repository for keeping my small company documents
For photos, I use Flickr. But for other documents...Which web based online application (hosted
I'm trying to use the Fabric 0.1.1 deploy tool ( http://docs.fabfile.org/ ) on Windows
I built a template-based document generator using the Open XML SDK (1.0) , the
My gut feel is that document based web services are preferred in practice -
I'm working with CoreData in Cocoa (not document-based). My problem is, that I want
The .XFDL file extension identifies XFDL Formatted Document files. These belong to the XML-based
I'm running through an XML document, selecting all the elements, and creating links based
Based on a simple test I ran, I don't think it's possible to put

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.