Search:

Type: Posts; User: sass208

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,373

    ok yayyyyyyyyyyyyy i just fixed it! thank...

    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...
  2. Replies
    7
    Views
    1,373

    a is 7 x 6.........where (7=n) A is 14 x...

    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
  3. Replies
    7
    Views
    1,373

    ur right it does look like i have a malloc...

    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?
  4. Replies
    7
    Views
    1,373

    i envy anybody who debugs this!

    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...
  5. Replies
    12
    Views
    2,225

    ok i fixed it up it runs perfectly! thank you...

    ok i fixed it up
    it runs perfectly!
    thank you soooooooooo much!
  6. Replies
    12
    Views
    2,225

    OK great!!! ya i had put the first part of what...

    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
  7. Replies
    12
    Views
    2,225

    and it changes the values in my array

    and it changes the values in my array
  8. Replies
    12
    Views
    2,225

    it says warning: comparison between signed and...

    it says
    warning: comparison between signed and unsigned
  9. Replies
    12
    Views
    2,225

    no i allready have values in the 2d array and i...

    no i allready have values in the 2d array and i want to transfer them to an empty 1d array
  10. Replies
    12
    Views
    2,225

    well dont you need 3 loops?

    well dont you need 3 loops?
  11. Replies
    12
    Views
    2,225

    switch from 2d array to 1d array

    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++){
    ...
  12. Replies
    6
    Views
    3,698

    thank you so much u helped me alot

    thank you so much u helped me alot
  13. Replies
    6
    Views
    3,698

    this is the formula but it has the in2d again ...

    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...
  14. Replies
    2
    Views
    1,087

    Matrix multiplication???

    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...
  15. Replies
    6
    Views
    3,698

    thanx alot... would u kno how to multiply A by...

    thanx alot...
    would u kno how to multiply A by At by any chance?
  16. Replies
    6
    Views
    3,698

    Help with matrix transpose

    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...
  17. Replies
    2
    Views
    1,092

    HELP with 2D arrays

    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>
  18. Replies
    2
    Views
    956

    help with binary search

    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...
  19. Replies
    1
    Views
    2,560

    help to sort array of structs

    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...
Results 1 to 19 of 19