ubsuny / CP1-24-HW7

Homework template for Homework 7
1 stars 16 forks source link

Algo: simpson (2 members) #1

Open laserlab opened 1 week ago

laserlab commented 1 week ago

Each algorithm has to be implemented in three ways.

wrapper for numpy (only trapezoids) and scipy (only simpson) implementation (due Wednesday) pure python implementation (due Friday) c/c++ implementation using ctypes in python (due Monday)

Priyanka-43 commented 1 week ago

I will work on this. Can anyone help me on c/c++ implementation using ctypes in python (due Monday)?

jkblc commented 5 days ago

I can do the pure python implementation at least

Priyanka-43 commented 3 days ago

@laserlab I have created functions and unit tests to calculate the integral using simpson as a task1. and done scipy (only simpson) implementation as task2. I want to ask is it ok for my homework or do i need to do one more task?

laserlab commented 3 days ago

@laserlab I have created functions and unit tests to calculate the integral using simpson as a task1. and done scipy (only simpson) implementation as task2. I want to ask is it ok for my homework or do i need to do one more task?

Unit tests have to be for all implementations

Priyanka-43 commented 3 days ago

@laserlab i did not get this. Can you please explain a little bit more? Thankyou.

Priyanka-43 commented 3 days ago

And i think have done unit test for two.

laserlab commented 2 days ago

And i think have done unit test for two.

Unit tests are needed for all implementations: