Below you will find pages that utilize the taxonomy term “Programming”
Posts
It’s Okay to Use #pragma once
#pragma once is non-standard, but it has an advantage. It’s OK to use this.
Posts
Returning a NumPy Array as an Evaluatable String with array_repr()
Discussing the function array_repr() which returns a NumPy array as an evaluatable string.
Posts
How to Use FFT (NumPy, SciPy)
Explains how to use FFT, one of the basic tools in signal processing.
Posts
Several Patterns for Handling States in C++
In programming, it is often necessary to control some form of state. This article summarizes several patterns for managing states.
Posts
The Superstition of Adding 0.5 Then Casting to int for Rounding a Float Value
To round a float value, adding 0.5 then casting to int is an amateur approach. Professionals use std::nearbyint.