C++ - Boost - Converting std::vector to Boost.Python Numpy ndarray

You have a C++ std::vector and you want to convert it to a Boost.Python Numpy ndarray.

But, once the ndarray got, you want to get back to the C++ array.

How to do that?

Let's see that in this Boost.Python tutorial.

C++ - Boost - Using Boost.Python Numpy from_data()

If you are using Python then NumPy is quite interesting for manipulating arrays.

But how do we do that with C++ and Boost.Python NumPy extension?

C++ - Boost - Building the Boost.Python NumPy extension as a library

If you are a scientist and interested in Python, you certainly already know the NumPy package.

In this tutorial I'll propose to explain how to install it on Windows in order to be used with the Boost.Python library.

We'll also make an Hello world example.

C++ - Boost - Using Boost.Python library on Windows to create a DLL

Communication between 2 different language isn't so easy.

It's often possible to find libraries to help us achieve this behaviour.

That's what we are going to see in this Boost.Python tutorial for Windows.

Let's get started.

C++ - Boost - Setting up on Windows 10

Boost libraries are some of the famous ones in the C++ world.

They contain tons of functionalities but aren't so easy to use or even understand.

First things first, let's try to install it in on our dear Windows 10 operating system.

Python 3 - Installing - On Windows 10

Python 3 has become an important language nowadays.

So if you haven't installed it yet on your Windows 10 operating system, it's time.

We are going to setup a complete installation in order to be ready using it later.

Let's see that in this Python 3 setting up tutorial.

C++ - Windows - Creating a dynamic-link library (DLL)

Creating a .DLL is an interesting process that allows a better comprehension how a dynamic-link library works on Windows.

No need to say that we'll use Visual Studio for that.

Ready to dynamic linking?

Let's link.

C++ - Qt Framework - Using QAbstractItemModel with QTableView and QListView

The QAbstractItemModel is usually used with views like QTableView, QTreeView or QListView.

We’re going to see how to use this class in a very easy example.

Python 3 - Generating get and set for C++

Creating get and set can be a tough task.

Indeed if you have like dozen of new properties to add to new classes, it could take hours.

So what about generating them in few minutes with a script?

Let’s see that in this Python scripting tutorial for the C++ language.


Subscribe to BadproG.com RSS