Hi !
I have a little problem.
I cant to do 3000x100 float matrix with a calloc or malloc why ?
Thanks !
3 2101 JosAH 11,448
Recognized Expert MVP
Hi !
I have a little problem.
I cant to do 3000x100 float matrix with a calloc or malloc why ?
Thanks !
What platform are you running your process on? 100*3000*sizeof(float) is just
1.2M bytes which isn't *that* much.
kind regards,
Jos
What platform are you running your process on? 100*3000*sizeof(float) is just
1.2M bytes which isn't *that* much.
kind regards,
Jos
Hi!
Platform:UHU linux,Uc linux / GCC compiller
The problem is the calloc ,malloc .
If I made with calloc or malloc , the answare :Segment error !
Thanks, Bye !
AdrianH 1,251
Recognized Expert Top Contributor
Hi!
Platform:UHU linux,Uc linux / GCC compiller
The problem is the calloc ,malloc .
If I made with calloc or malloc , the answare :Segment error !
Thanks, Bye !
I think that the problem is unlikely to be with calloc/malloc (possible but doubtful).
Have you used a debugger? How far did you get?
Adrian
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: =?UTF-8?B?TWFydGluIFDDtnBwaW5n?= |
last post by:
Hello,
I´m using a very large 2-dimensional double matrix (45.000x45.000)
in my program.
At the initialization of the matrix:
double matrix = new double I am getting an out of memory...
|
by: hvmclrhu |
last post by:
Hi I have a big problem. When we compile serial.c with gcc, I get this error
program is generating the sparse matrix
Segmentation fault
I think ı have to use malloc() but I don't know how to...
|
by: DarrenWeber |
last post by:
# Copyright (C) 2007 Darren Lee Weber
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free...
|
by: LolaT |
last post by:
I am making a program that deals with matrices in Java.
I keep getting an error and I don't know how to fix it
my code so far is
import java.io.*;
import java.util.*;
import...
|
by: Thomas Bauer |
last post by:
Hello,
how can I make the transformation matrix?
Zero point
Left top
Left bottom
Right top
Right bottom
| |
by: Thomas Bauer |
last post by:
Hello,
I search a example like that.
(1,0,0,1,4,5 ) -- moving
(1,0,0,1,0,0 ) -- normal matrix
(-1,0,0,1,0,0 ) -- Mirror Y-Axis
(0,-1,0,1,0,0 ) -- Mirror X-Axis
I caluculate all in mm.
|
by: Babak |
last post by:
Hi,
I've developed a C program which contains a large number of vectors
and matrices operations. Throughout my code, I used the template from
the Numerical Recipes book to define vectors and...
|
by: Sozos |
last post by:
Hi guys. I have a problem with writing the base case for the following matrix multiplication function I have implemented. Please help.
#define index(i,j,power) (((i)<<(power))+(j))
void...
|
by: curiously enough |
last post by:
I am having trouble making this recursive C function work for square matrices of size greater than 3 rows and columns.
#include<stdio.h>
#include<conio.h>
#include<math.h>
int M;
float...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |