Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~4K People Reached
Favorite Forums
Favorite Tags
c++ x 38
Member Avatar for megaLU

Hello! I have written a nested for loop with an inner loop of 86400 iterations and the outer loop 365. It compiles and everything but only gives me 97 of the 365 results. This is the error message: [CODE]aqua(855) malloc: *** mmap(size=268435456) failed (error code=12) *** error: can't allocate region …

Member Avatar for rubberman
0
180
Member Avatar for megaLU

Hey, My code was working great yesterday. I go to submit it and it's got this new error out of nowhere! It is 'class std::vector<long double>' has no member named '_'. It says instantiated from the line [code] vector <LD> matrix; [/code] and then takes me to some code entitled …

Member Avatar for jonsca
0
2K
Member Avatar for megaLU

Hello, I'm just wondering how you return a vector from a member function. I've looked online but had no luck. At the moment my function is set to long double, and when I tried setting it to std::vector it came up with lots of errors. Here is my code: [code] …

Member Avatar for megaLU
0
2K
Member Avatar for megaLU

Hi there, I'm trying to develop some old code (for a class to model affine transformations) which was working thanks to a Daniweb member. The old code is [CODE] void IFS::eval(float x, float y, float& a, float&b) { a = (matrix[0]*x + matrix[1]*y + matrix[2]); b = (matrix[3]*x + matrix[4]*y …

Member Avatar for megaLU
0
143
Member Avatar for megaLU

Hi, I'm very new to C++ and am trying to write a class to model affine transformations. I have written code for a 3x3 matrix and am now trying to write code for multiplying it by (x,y,z) where z=1. My problem is I can't return the two values for the …

Member Avatar for megaLU
0
151