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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:26:28+00:00 2026-06-14T15:26:28+00:00

I get an error like CXX0059: Error: left operand is class not a function

  • 0

I get an error like CXX0059: Error: left operand is class not a function name in VS2010, when i try to watch the values in columns and rows of my Jacobian Matrix.

For example; i have a matrix like

MatrixXf j = MatrixXf::Zero(2,mList.size());
...
...
   for(...)
   {
     j(0, col) += (-mList[i]->mLength*sin(angle));
     j(1, col) += ( mList[i]->mLength*cos(angle));
   }

and when i debugging this part, it fails to watch the variable j(0,col). I know, maybe it’s not a function name, but it has some value in it. I mean, the matrix consists of 10 cells, but what i get from visual studio is only one float value.

Here is the sc of debug:

debug screen

Appreciate any help on watching the value of each cell.

  • 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-14T15:26:29+00:00Added an answer on June 14, 2026 at 3:26 pm

    The j(0, col) construction calls overloaded operator()() on the class MatrixXf, such constructions are not evaluated by the debugger in native code. To view matrix’s content, you should locate a pointer to the data inside the instance of MatrixXf. Most likely, it will have a float* type pointing to an array of data. By default, it is displayed in the debugger as a single float value. But you can specify its size manually as described here to expand an array, like this: j.ptr,10.

    You can further enhance this approach by writing a special display rule in the autoexp.dat file. See a comprehensive tutorial here.

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

Sidebar

Related Questions

I've tried OutputDebugString function and most of the time I get error like :
I get an error like this in logcat when i try to run my
sometimes i get an error like table is marked as corrupt and shld be
I have created Controller Attribute and would like to read SessionId but get error
I get this error when compiling a C# application. Looks like a trivial error,
I get a syntax error in Python 2.7.3 like so: [s += 'Orig' for
When running the packaged app like java -jar my-app-0.0.1-SNAPSHOT-jar-with-dependencies.jar, I get the following error:
I get error: ORA-06575: Package or function GET_CONC_NAMES is in an invalid state When
Why do I get error in this code?Even if i do not link but
Why I get error with this query on my live server but not on

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.