C Programming Polynomials Help

This is a discussion on C Programming Polynomials Help within the C Programming forums, part of the General Programming Boards category; Hi, I need to implement an algorithm into a functional solution. Any idea how to achieve this? Here is the ...

  1. #1
    Registered User
    Join Date
    Sep 2012
    Posts
    1

    C Programming Polynomials Help

    Hi,

    I need to implement an algorithm into a functional solution.
    Any idea how to achieve this?

    Here is the description:
    Attached Images Attached Images  

  2. #2
    qny
    qny is offline
    Registered User
    Join Date
    Sep 2012
    Posts
    355
    Wrap the polynomials in a structure containing a (possibly dynamic) array.
    Pass the 2 structures and the prime to the function; return another structure that contains 2 of the polynomial structure.

    Then complain to your teacher that returning two things from a function is very awkward.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. question about programming polynomials
    By firehydrant in forum C Programming
    Replies: 16
    Last Post: 03-04-2011, 10:09 PM
  2. Polynomials and ADT's
    By Emeighty in forum C++ Programming
    Replies: 20
    Last Post: 08-19-2008, 08:32 AM
  3. polynomials
    By Emeighty in forum C++ Programming
    Replies: 4
    Last Post: 08-18-2008, 08:52 AM
  4. Multiplying Two Polynomials
    By CaptainMorgan in forum C++ Programming
    Replies: 6
    Last Post: 10-30-2006, 01:34 PM
  5. polynomials
    By spinner in forum C Programming
    Replies: 2
    Last Post: 04-10-2003, 06:23 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21