Closed Thread
Results 1 to 6 of 6

Thread: 2 Sparse Matrix Addition in pascal

  1. #1
    saeidtahan is offline Newbie
    Join Date
    Jan 2010
    Posts
    3
    Rep Power
    0

    2 Sparse Matrix Addition in pascal

    Hi My friend I am from Iran country . and i Do not dominate English language if i have Wrong in my Text please Sorry Me . my Question Is
    How I Can Addition 2 Sparse Matrix I Want To Read 2 Sparse Matrix of User And Sum this And print But I Don,t know . Please Help Me . THX

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: 2 Sparse Matrix Addition in pascal

    Without seeing your implementation, it's almost impossible to offer any advice. What code do you have so far?
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    saeidtahan is offline Newbie
    Join Date
    Jan 2010
    Posts
    3
    Rep Power
    0

    Re: 2 Sparse Matrix Addition in pascal

    I wrote a program that only two elements in a 4 and 4 Tbdylshvn will receive a sparse but I do want them together, but something that is asked of us Aynh
    Write a program that two elements in a 5 and 5 received sparse to bring them both together matrix of Rsvndh I hope that I mean it. Please me if you can go to complete this program really need
    this is my program
    Attached Files Attached Files

  5. #4
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: 2 Sparse Matrix Addition in pascal

    Your program had no indentation, and has no comments. Since the variable names/text are not English, it's not clear to me what your logic is.

    That said, since your logic seems to be to load the matrices using nested for loops, why not use the same logic to add them?
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  6. #5
    saeidtahan is offline Newbie
    Join Date
    Jan 2010
    Posts
    3
    Rep Power
    0

    Re: 2 Sparse Matrix Addition in pascal

    Hi my name is not important variables for just this same Dvmatrysy the Aspars is to gather and print and print an array to another course 5 5 - I did the exact order you.

  7. #6
    Firebird_38 is offline Programmer
    Join Date
    Aug 2008
    Posts
    126
    Rep Power
    0

    Re: 2 Sparse Matrix Addition in pascal

    At the risk of seeming obvious:
    Lol. There seems to be a bit of a langauge barrier here.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. php addition problem
    By commissioner in forum PHP Development
    Replies: 14
    Last Post: 05-19-2011, 02:35 PM
  2. Compound interest with annual addition
    By Jrb in forum C and C++
    Replies: 1
    Last Post: 03-16-2011, 03:12 PM
  3. addition exercise C
    By vuduz in forum C and C++
    Replies: 2
    Last Post: 03-11-2011, 06:22 AM
  4. simple addition/subtraction?
    By asdpyro in forum PHP Development
    Replies: 2
    Last Post: 12-09-2008, 10:24 AM
  5. Interesting Addition Problem -NEWB-
    By RavenE in forum C and C++
    Replies: 5
    Last Post: 05-30-2008, 02:43 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts