nothing
This commit is contained in:
parent
c323511b05
commit
debfd4515a
@ -18,10 +18,10 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
X = np.array([0.2, 0.5, 0.01])
|
X = np.array([0.2, 0.5, 0.01])
|
||||||
R = g.get_containing_simplex(X)
|
R = g.get_containing_simplex(X)
|
||||||
print R
|
|
||||||
R, S = g.get_simplex_and_nearest_points(X, 10)
|
R, S = g.get_simplex_and_nearest_points(X, 10)
|
||||||
print "r", R
|
# print R
|
||||||
print "s", S
|
# print "r", R
|
||||||
|
# print "s", S
|
||||||
|
|
||||||
# results = {True:0, False:0}
|
# results = {True:0, False:0}
|
||||||
# for i in xrange(10):
|
# for i in xrange(10):
|
||||||
@ -33,3 +33,5 @@ if __name__ == '__main__':
|
|||||||
# results[ia] += 1
|
# results[ia] += 1
|
||||||
|
|
||||||
# print results
|
# print results
|
||||||
|
# g.normalize_q()
|
||||||
|
# print g.toxml()
|
||||||
|
Loading…
Reference in New Issue
Block a user