Skip to content

Commit c24a934

Browse files
committed
remove unused functions
1 parent d45aa09 commit c24a934

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

sparsediffpy/_core/_registry.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,6 @@ def convert_quad_form(node, child_caps):
113113
)
114114

115115

116-
def convert_param_scalar_mult(node, child_caps):
117-
return _C.make_param_scalar_mult(child_caps[0], child_caps[1])
118-
119-
120-
def convert_param_vector_mult(node, child_caps):
121-
return _C.make_param_vector_mult(child_caps[0], child_caps[1])
122-
123116

124117
# ---------------------------------------------------------------------------
125118
# Registry dict

sparsediffpy/_core/_shapes.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ def is_scalar(shape):
1717
return shape == (1, 1)
1818

1919

20-
def is_column(shape):
21-
return shape[1] == 1
22-
23-
24-
def is_row(shape):
25-
return shape[0] == 1
26-
2720

2821
def broadcast_shape(left_shape, right_shape):
2922
"""Compute broadcast result shape for elementwise operations.

0 commit comments

Comments
 (0)