Skip to content

0151n/Assign3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 a polynomial by a double 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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published