This file contains 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 numpy as np | |
from scipy import odr | |
from matplotlib.patches import Ellipse | |
import matplotlib.pyplot as plt | |
def f(B, x): | |
return ((x[0]/B[0])**2+(x[1]/B[1])**2-1.) | |
if __name__ == '__main__': | |
a = 2. |
This file contains 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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <math.h> | |
#define MAX_N 13 | |
int factorial(int n){ | |
int i, tmp = 1; |
This file contains 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
# -*- cording: utf-8 -*- | |
# | |
# filename: tkym_stat.py | |
# | |
import os | |
import sys | |
import wget | |
import xlrd | |
if len(sys.argv) != 1: |
NewerOlder