Skip to content

Instantly share code, notes, and snippets.

View eneriz-daniel's full-sized avatar
🏠
Working from home

Daniel Enériz Orta eneriz-daniel

🏠
Working from home
View GitHub Profile
@eneriz-daniel
eneriz-daniel / ndarrays2Carray.py
Last active April 20, 2023 09:33
ndarrays2Carray.py - Exporting Numpy ndarrays to C arrays declared inside C files
"""
npy2Carray.py - A np.ndarray to C array converter
This script converts a numpy array to a C array and saves it in a file.
Author: Daniel Enériz
Version: 1.0
License: GPL-3.0