split up split and moments
This commit is contained in:
parent
fb0715e618
commit
acb86b8013
1 changed files with 166 additions and 154 deletions
|
|
@ -7,10 +7,6 @@ except NameError:
|
|||
return f
|
||||
|
||||
|
||||
def number_of_moments(order):
|
||||
return ((order + 1) * (order + 2) * (order + 3)) // 6
|
||||
|
||||
|
||||
@profile
|
||||
def find_components(neighbors):
|
||||
num_vertices = neighbors.shape[0]
|
||||
|
|
|
|||
Loading…
Reference in a new issue