By the end of this project you will implement a function using C that raises each element of an array to a given power and then call the function using the Python ctypes package.
The C programming language is the basis for many other programming languages. Its performance cannot be matched in any other language. Python is known for its simplicity, allowing the programmer to focus on the application. Sometimes it is useful to take advantage of the speed of C in a Python application.
By the end of this project you will implement a function using C that raises each element of an array to a given power and then call the function using the Python ctypes package.
The C programming language is the basis for many other programming languages. Its performance cannot be matched in any other language. Python is known for its simplicity, allowing the programmer to focus on the application. Sometimes it is useful to take advantage of the speed of C in a Python application.
Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.