meapeze / Assign3

Assignment 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assignment 3

Repository for group 2's code for assignment 3


Design

Todo

  1. use struct with vla and single int for size for single polynomial
  2. write specs for each operation [seven steps pg 11]
  3. make out function declarations
  4. write out psuedocode algorithm for each operation
  5. implement operations
  6. create test main function (human input not required)
  7. make file (one variable, clean target, comipile/link/run when no target given)

Functions needed

Required functions:

  1. create a polynomial O
  2. delete a polynomial O
  3. add two polynomials PR
  4. subtract two polynimials PR
  5. multiply two polynomials G
  6. divide two polynomials P
  7. normalise a polynomial P
  8. get order of a polynomial TJ
  9. print polynomial TJ

Extra functions:

  1. divide whole polynomial by a scalar (useful for required function 7)
  2. plot polynomial to stdout :^)
  3. ????
  4. profit

About

Assignment 3


Languages

Language:C 97.2%Language:Makefile 2.8%