Notes, memos, etc.
Recent Posts
It’s Okay to Use #pragma once
#pragma once is non-standard, but it has an advantage. It’s OK to use this.
read more
General Theory of Self-Reciprocal Functions in the Fourier Transform
This article discusses the general theory of self-reciprocal functions in the Fourier transform, particularly focusing on the eigenspaces of the Fourier transform.
read more
An Example of a Self-Reciprocal Function in Fourier Transform
As an example of a self-reciprocal function in the Fourier transform, we introduce |t|^(-1/2).
read more
On Avoiding Omissions in Mathematics
On the pursuit of truth and the importance of making concepts understandable to others.
read more
Simulation of the Monty Hall Problem
I wrote Python code to simulate the Monty Hall problem.
read more
Proof of the Gaussian Integral Using the Wallis Integral
Calculate the Gaussian integral using the Wallis integral.
read more
Wallis' Formula
This article discusses Wallis’ formula, which provides an approximation of the intermediate binomial coefficients.
read more
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.
read more
Multiple Definitions of the Fourier Transform
Discusses various conventions for defining the Fourier transform.
read more
Fourier Transform of the Probability Density Function of the Normal Distribution (Gaussian Function)
Calculating Fourier transform of the probability density function of the normal distribution.
read more
How to Use FFT (NumPy, SciPy)
Explains how to use FFT, one of the basic tools in signal processing.
read more
Cantor Set
This text describes the Cantor set, a null set with the cardinality of the continuum.
read more
Orthogonal Trajectories of Parabolas
Find the family of curves that are orthogonal to a family of parabolas.
read more
Averaging Angles
Although this is a basic problem, calculating the average of angles can be tricky and prone to mistakes. This article explains how to correctly find the average angle.
read more
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.
read more
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.
read more
Hypothesis: Engineering is Subjective
Engineering is often subjective, and it should not be assumed that talent is easily replaceable.
read more
How to Make 'yum install' Error on Non-existent Package Names
When using ‘yum install’ and specifying a non-existent package name, it returns exit code 0. This article explains how to change this behavior.
read more
Expected Value of the Cosine of a Random Variable Following the Standard Normal Distribution
I calculated the expected value of the cosine of a random variable following the standard normal distribution.
read more