Lines Matching defs:math
2 Copyright (C) 2006 Jean-Francois Barraud, barraud@math.univ-lille1.fr
18 barraud@math.univ-lille1.fr
24 import copy, math, re
52 a=float(args[0])*math.pi/180
57 matrix=[[math.cos(a),-math.sin(a),cx],[math.sin(a),math.cos(a),cy]]
61 a=float(result.group(2))*math.pi/180
62 matrix=[[1,math.tan(a),0],[0,1,0]]
65 a=float(result.group(2))*math.pi/180
66 matrix=[[1,0,0],[math.tan(a),1,0]]
188 t = (d1 - d2 + math.sqrt(d2*d2 - d1*d3))/(d1 - 2*d2 + d3)
193 t = (d1 - d2 - math.sqrt(d2*d2 - d1*d3))/(d1 - 2*d2 + d3)