Skip to content

Instantly share code, notes, and snippets.

View olivierverdier's full-sized avatar

Olivier Verdier olivierverdier

View GitHub Profile
@olivierverdier
olivierverdier / Polynomial Roots.ipynb
Created April 25, 2024 15:02
Polynomial roots exploration
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@olivierverdier
olivierverdier / gist:6724986
Last active March 28, 2024 15:10
Battles Trefethen Ipython notebook
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chebfun in Python"
]
},
{
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Definition associative {A:Type} (op: A -> A -> A) :=
forall x y z, op x (op y z) = op (op x y) z.
Definition commutative {A:Type} (op: A -> A -> A) :=
forall x y, op x y = op y x.
Definition is_unit_left {A:Type} (op: A -> A -> A) one :=
forall x, op one x = x.
Definition is_unit_right {A:Type} (op: A -> A -> A) one :=
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.