Thread: Jacobi algorithm problem... could wikipedia be wrong?

  1. #1
    Registered User
    Join Date
    Dec 2009

    Jacobi algorithm problem... could wikipedia be wrong?

    I am working on a c implementation of the jacobi algorithm, using wikipedia as an example.
    I was trying to follow along with the given example on the page;

    Jacobi method - Wikipedia, the free encyclopedia

    The starting matrix A = [2 3,5 7]

    then the lower is said to be [0 0,-5 0] which makes sence except that the 5 is negative.
    the same is for the upper.

    the page on strictly lower and upper parts of a matrix says nothing about negating them. am i misunderstanding something?

  2. #2
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Liverpool UK
    Could wikipedia be wrong?

    Of course! Its useful for quick scan research pointers but should not form the basis of it because of potentially not so 'correct' articles. Of course a lot of articles are very authorative, but seek alternatives if in doubt

  3. #3
    Registered User
    Join Date
    Oct 2006
    I would use MATLAB or other equivalent software (one free alternative is "octave" for Linux). Download a Jacobi algorithm for this language, and try some input. You can add simple print statements to the MATLAB code that shows the values at each iteration, and compare each iteration with your own C algorithm.

    And as mentioned, it is very possible Wikipedia is incorrect. For Jacobi or other math stuff, I would use a math website/reference instead.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  2. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  3. Half life Problem which I am right and the teacher is wrong
    By Shadow12345 in forum A Brief History of
    Replies: 13
    Last Post: 11-06-2002, 04:28 PM
  4. strange problem, not sure what is wrong
    By Shadow12345 in forum C++ Programming
    Replies: 7
    Last Post: 07-23-2002, 11:46 PM
  5. What's wrong with my Stream Cipher Encryption?
    By Davros in forum C++ Programming
    Replies: 3
    Last Post: 04-18-2002, 09:51 PM

Tags for this Thread