Skip to content

Instantly share code, notes, and snippets.

View Seniatical's full-sized avatar
♥️
Hello World

Isa Seniatical

♥️
Hello World
View GitHub Profile
@Seniatical
Seniatical / square_simplification.py
Created October 29, 2023 16:33
Alternative method of simplifying squares of numbers
'''
Author: Isa (Seniatical)
License: GNU General Public License (GNU GPL)
A method of calculating the square root of any real number using prime factor trees.
'''
from __future__ import annotations
from typing import Any
from functools import reduce
@Seniatical
Seniatical / UniPolynomialFactorising.py
Last active October 28, 2023 15:16
Factorising univariate polynomials
"""
Author: Isa (Seniatical)
License: GNU General Public License (GNU GPL)
An algorithmic approach to factorising univariate polynomials,
by combining methods such as the factor theorm to solve factors in an efficient manor.
Finding factors:
~~~~~~~~~~~~~~~~
This algorithm finds factors of all univariate polynomials which are factorisable, i.e. have roots.
@Seniatical
Seniatical / style.css
Last active July 8, 2021 18:44
Pydata sphinx theme [DARKMODE]
/*
A user made theme modification for pydata's sphinx theme.
This modification turns your original theme to dark mode so your eyes don't burn out
If you want to see were this theme is being used check out:
`https://docs.mechakaren.xyz/` For the demo / live preview
`https://github.com/Seniatical/Mecha-Karen/Documentation` For the source code!
First create this file, preferably in `_static/css/custom.css` in the source directory
Then head over to `conf.py` and add
```