C and C++ Programming with NumPy Arrays

N/ACitations
Citations of this article
4Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Our purpose with this chapter is to implement the gridloop1 and gridloop2 functions from Chapter 9 in C and C++. The goal is the same: we want to increase the computational efficiency by moving loops from Python to compiled code, but now we use C and C++ instead of Fortran. Before proceeding the reader should be familiar with the gridloop1 and gridloop2 functions and the calling Python code as defined in Chapter 9.1. It is not necessary to have digested the rest of Chapter 9 about various aspects of the corresponding Fortran implementation.

Cite

CITATION STYLE

APA

C and C++ Programming with NumPy Arrays. (2007). In Python Scripting for Computational Science (pp. 483–528). Springer Berlin Heidelberg. https://doi.org/10.1007/978-3-540-73916-6_10

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free