This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import os | |
import subprocess | |
import tempfile | |
import time | |
import tracemalloc | |
from typing import Any, List, Optional | |
from PIL import Image | |
from pyzbar.pyzbar import decode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cmath> | |
class Complex { | |
private: | |
double real; | |
double imag; | |
public: | |
Complex() { real = 0; imag = 0; }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
import matplotlib.pyplot as plt | |
import numpy as np | |
def func(x): | |
return (x / (1.2 - math.sin(2*x))) | |
def inv_func(x): | |
return -(x / (1.2 - math.sin(2*x))) |