Hi
I just realized that this matrix is unnecessarily large...
I can do my stuff with much smaller matrices...
Thanks anyway!!!
Type: Posts; User: John Connor
Hi
I just realized that this matrix is unnecessarily large...
I can do my stuff with much smaller matrices...
Thanks anyway!!!
LOL, my adviser wouldn't let me use the super... :P
Can you point me a way to read such a big matrix as a (100e3)x(100e3) of doubles in a ordinary PC?
Thanks
It's because I need h, t_max/min, y_max/min to be double and they're not always cute like 500 and 1e-2...
Thanks again...
PS I've just read the following:...
Actually, I have:
# define h (1e-2)
# define t_min -500.0
# define t_max 500.0
# define y_min -500.0
# define y_max 500.0
# define lin (unsigned long long)((y_max-y_min)/h+2)
# define col...
Sorry. My fault.
But I still receive integer overflow when switching to unsigned long long...
Hi
I need help to know why am I getting "integer overflow" when trying to assign 10^10 to a
unsigned long int. My compiler is (gcc 4.2).
Doesn't unsigned long int vary from 0 to 4,294,967,295...
Thanks again.
That turned out to be exactly the case!
Thanks.
I'll try that right away!
Hi there.
I'm writing a program that makes huge amounts of calculations without user's interference.
So I wrote in the code some printf() just to know when it's doing what.
For...
Thanks
Thanks
But how can I test if a division results an integer or not? At least bounded by some defined precision, say 1E-15.
I though using something like
if x/y- the integer part of x/y<some...
Hi
There is something annoying me for a while...
When I execute the program
int main(void)
{
double integer_part,decimal_part;
Hi, thanks for the tip.
The program is running ok after I changed things based on what was told here...
Sorry for bothering you all with newbie questions, but I think I'm starting to learn it...
Hi
At the first time, wen I wrote the code
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
/*file global.c*/
static long double h=1e-2;
Thanks a lot! That really helped me.
:)
Thanks I realised my mistake in the previos reply and removed the t_max t_max...
Now, if I use the expression
#define t_max 2.0*3.1415926535897932384626433832795
Can i call t_max...
Ok.
As a matter of fact I want them to be global and static as well.
I read about the #define environment to create macros but I'm not sure if
#define t_max...
Hi
I'm trying to compile the following code, but gcc 4.2 returns the messages
"global.c:8: error: initializer element is not constant"
"global.c:9: error: initializer element is not constant"
...
Thanks mike_g.
That helped me alot!!!
Hi.
I'm beginner with C and I'm having problem with the following source code:
/*****************************************************************************************************/
main()...