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 8376315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:24:11+00:00 2026-06-09T15:24:11+00:00

I am using Eigen library in C++. According to Eigen documentation : In order

  • 0

I am using Eigen library in C++. According to Eigen documentation:

In order to use Eigen, you just need to download and extract Eigen’s
source code (see the wiki for download instructions). In fact, the
header files in the Eigen subdirectory are the only files required to
compile programs using Eigen. The header files are the same for all
platforms. It is not necessary to use CMake or install anything.

So in Netbeans I added the directory of Eigen into the “include directories”. Then I used a simple program as below (which is provided in Eigen documentation):

#include <iostream>
#include <Eigen/Dense>

using namespace std;
using namespace Eigen;

int main()
{
   Matrix3f A;
   Vector3f b;
   A << 1,2,3,  4,5,6,  7,8,10;
   b << 3, 3, 4;
   cout << "Here is the matrix A:\n" << A << endl;
   cout << "Here is the vector b:\n" << b << endl;
   Vector3f x = A.colPivHouseholderQr().solve(b);
   cout << "The solution is:\n" << x << endl;
}

Netbeans draws a red underline for colPivHouseholderQr() method!! In addition I can not see the colPivHouseholderQr() method under methods that can be called on object A.

Surprisingly, everything works fine and the program compiles and runs correctly although I have red underline for colPivHouseholderQr() !!

What can be wrong with my configurations ??

enter image description here

  • 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-06-09T15:24:13+00:00Added an answer on June 9, 2026 at 3:24 pm

    This is a reported problem in the Netbeans when using Eigen.

    It fails to resolve many object identifiers, including member functions of templated objects such as your colPivHouseholderQr() function.

    The best solution I arrived at was to use Eclipse instead.

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

Sidebar

Related Questions

I'm using eigen library to rotate a plane to be parallel to the ground
in my project I'm making use of Eigen C++ library for linear algebra and
I'm making use of Eigen library which promises vectorization of matrix operations. I don't
Consider the following code (C++11), which uses the Eigen 3 library (http://eigen.tuxfamily.org): #include <iostream>
I'm using eigen matrix library. How can I convert a matrix of 1* 1
I am programming a matrix-matrix multiplication using the Eigen library in VS2010. When I
I was using Eigen matrix framework, and the SparseVector library. I was running into
I would like to use the Eigen matrix library as the linear algebra engine
Has anybody successfully imported the eigen library using the ndk? I was thinking about
I am using the SparseMatrix class of the library Eigen . To create one,

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.