Matrices are the Legos of the Universe
“Dividing mathematics into linear and non-linear is like dividing the world into banana and non-banana.” — Google Gemini
In this video, we explore using Scilab and ChatGPT o1 to turn Python or R code into pure mathematics.
Riemann Hypothesis and AI
Prompting Perplexity AI to tackle the Riemann Hypothesis and the role it plays in number theory.
R Code
Full source available on GitHub:
You can run this code using R and RStudio. Place the dataset in your working directory and load it accordingly.
Scilab Code
Scilab is a free and open-source software package for numerical computation, providing a powerful computing environment for engineering and scientific applications.
To download the latest version of Scilab:
- Visit the Scilab download page.
- Select the installer for your OS (Windows, Linux, macOS Intel or ARM).
- Follow the standard installation instructions.
Below is a sample Scilab script that demonstrates implementing and estimating a Gaussian GLM (linear model) using the normal equations. It reads a design matrix X from model_matrix.csv and response vector y from y.csv (pure numeric, no headers).