Yes, of course the value itself will be held in a complex<double> say, but this needs to be indexed by the parameters (x,y) to allow retriveing of correct value for given parameter set.
Type: Posts; User: fpghost
Yes, of course the value itself will be held in a complex<double> say, but this needs to be indexed by the parameters (x,y) to allow retriveing of correct value for given parameter set.
I have a text file (output of another program, Mathematica) containing the complex values of some function:
f[0, 6] = 0.00006639570. - 6.00456*I;
f[1, 6] = 0.00003602 +0.0039842775.*I;...
AH yes, sorry I was looking for C++ forum. Is it possible to move my thread there? or I can repost it?
Hi, thanks, I will try and use the code tags in future.
I know I can use cin to read in the data. The problem is the data list is of variable length and is also in a tricky format (see OP), so I'm...
I have two text files containing the complex values of some function:
f[0, 6] = 0.00006639570. - 6.00456*I; f[1, 6] = 0.00003602 +0.0039842775.*I; f[0, 7] = 0.0000663- 6.00383226386*I; ...