ok yayyyyyyyyyyyyy
i just fixed it!
thank you soooooooooooooooooooooooooooooooo much
now i can get some sleep!
this will be my last post because that was my final assingment for my first...
Type: Posts; User: sass208
ok yayyyyyyyyyyyyy
i just fixed it!
thank you soooooooooooooooooooooooooooooooo much
now i can get some sleep!
this will be my last post because that was my final assingment for my first...
a is 7 x 6.........where (7=n)
A is 14 x 9.......where (14=2*n )
At is 9 x 14
W is 9 x 9
and W_in1d is an array of 81
ur right it does look like i have a malloc problem
but i dont understand where you get 2*(num_rows-1)+1 rows ==13 is more than you allocate
and how do i fix it?
ok my program doesnt run
it reads from a file called points.txt
it uses subroutines from linear_algebra.h and shared.h
and it is supposed to output 9 points into a csv file called matrix
i...
ok i fixed it up
it runs perfectly!
thank you soooooooooo much!
OK great!!!
ya i had put the first part of what u posted...i took it off and now it works !!! yay
but it still has that warning
warning: comparison between signed and unsigned
and it changes the values in my array
it says
warning: comparison between signed and unsigned
no i allready have values in the 2d array and i want to transfer them to an empty 1d array
well dont you need 3 loops?
i have a 2d array...W[9][9] and i want to put it a 1d array w_in1d[81]
but it gives me the wrong values
please help!
/*initialize W_in1d matrix*/
for(i = 0; i < 81; i++){
...
thank you so much u helped me alot
this is the formula but it has the in2d again
/ Multiplication.
// Need (wm1 == hm2) && (hm1 == hmr) && (wm2 == wmr).
void matrix_mult(double m1[], double m2[], double mr[],
int hm1, int...
does anyone know an algorithm for multiplying 2 matrices that have different sizes???
my matrix 'At' is 9 X 14 and my matrix 'A' is 14 X 9 and they are stored in 2D arrays
i need to multiply...
thanx alot...
would u kno how to multiply A by At by any chance?
hi i have a program that compiles and works
it scans points from a txt file (that i attached) into a 2D matrix and from this matrix i calculated and generated the matrix 'A' . Now i need to...
hi i need help scanning values from a file into a 2d dynamic array
i attached the file i need to scan
and heres my code so far
the array should be 7X6
#include <math.h>
ok i sorted an array of structures and now i need help placing them in boxes
so that the number of boxes required is optimal
i have an idea of what i could do
- find the biggest item...
hi i need to sort this array of structures
i tried using bubble sort but there is something wrong with wut i have so far...it is outputting a few of the elements in the array and repeating them...