Пример #1
0
 def b_left(r1, r2):
     r3, f3 = bb.b_mul(m, r1, r2)
     r5, f5 = bb.b_part(r3, bb.b_gr(r2) - bb.b_gr(r1))
     return r5, f3 * f5
Пример #2
0
 def b_out(r1, r2):
     r3, f3 = bb.b_mul(m, r1, r2)
     r5, f5 = bb.b_part(r3, bb.b_gr(r1) + bb.b_gr(r2))
     return r5, f5 * f3
Пример #3
0
 def b_inn(r1, r2):
     r3, f3 = bb.b_mul(m, r1, r2)
     r5, f5 = bb.b_part(r3, abs(bb.b_gr(r1) - bb.b_gr(r2)))
     return r5, f3 * f5
Пример #4
0
 def b_geo(r1, r2):
     return bb.b_mul(m, r1, r2)
Пример #5
0
		def b_left(r1,r2):
			r3,f3 = bb.b_mul(m, r1, r2)
			r5,f5 = bb.b_part(r3, bb.b_gr(r2)-bb.b_gr(r1))
			return r5, f3*f5
Пример #6
0
		def b_inn(r1,r2):
			r3,f3 = bb.b_mul(m, r1, r2)
			r5,f5 = bb.b_part(r3, abs(bb.b_gr(r1)-bb.b_gr(r2)))
			return r5, f3*f5
Пример #7
0
		def b_out(r1,r2):
			r3,f3 = bb.b_mul(m, r1, r2)
			r5,f5 = bb.b_part(r3, bb.b_gr(r1)+bb.b_gr(r2))
			return r5, f5*f3
Пример #8
0
		def b_geo(r1,r2): 
			return bb.b_mul(m, r1, r2)