You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Operations/Assign.jl
+28-5Lines changed: 28 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -154,12 +154,23 @@ GrB_Matrix_assign(
154
154
Mask::T,
155
155
accum::U,
156
156
A::GrB_Matrix,
157
-
I::OneBasedIndices,
157
+
I::Union{OneBasedIndices, GrB_ALL_Type},
158
158
ni::Union{Int64, UInt64},
159
159
J::OneBasedIndices,
160
160
nj::Union{Int64, UInt64},
161
161
desc::V) where {T <:valid_matrix_mask_types, U <:valid_accum_types, V <:valid_desc_types} =GrB_Matrix_assign(C, Mask, accum, A, ZeroBasedIndices(I), ni, ZeroBasedIndices(J), nj, desc)
162
162
163
+
GrB_Matrix_assign(
164
+
C::GrB_Matrix,
165
+
Mask::T,
166
+
accum::U,
167
+
A::GrB_Matrix,
168
+
I::OneBasedIndices,
169
+
ni::Union{Int64, UInt64},
170
+
J::Union{OneBasedIndices, GrB_ALL_Type},
171
+
nj::Union{Int64, UInt64},
172
+
desc::V) where {T <:valid_matrix_mask_types, U <:valid_accum_types, V <:valid_desc_types} =GrB_Matrix_assign(C, Mask, accum, A, ZeroBasedIndices(I), ni, ZeroBasedIndices(J), nj, desc)
173
+
163
174
"""
164
175
GrB_Col_assign(C, mask, accum, u, I, ni, j, desc)
165
176
@@ -246,11 +257,11 @@ GrB_Col_assign(
246
257
mask::T,
247
258
accum::U,
248
259
u::GrB_Vector,
249
-
I::OneBasedIndices,
260
+
I::Union{OneBasedIndices, GrB_ALL_Type},
250
261
ni::Union{Int64, UInt64},
251
262
j::OneBasedIndex,
252
263
desc::V
253
-
) where {T <:valid_vector_mask_types, U <:valid_accum_types, V <:valid_desc_types} =GrB_Col_assign(C, Mask, accum, u, ZeroBasedIndices(I), ni, ZeroBasedIndex(j), desc)
264
+
) where {T <:valid_vector_mask_types, U <:valid_accum_types, V <:valid_desc_types} =GrB_Col_assign(C, mask, accum, u, ZeroBasedIndices(I), ni, ZeroBasedIndex(j), desc)
254
265
255
266
"""
256
267
GrB_Row_assign(C, mask, accum, u, i, J, nj, desc)
@@ -338,7 +349,7 @@ GrB_Row_assign(
338
349
accum::U,
339
350
u::GrB_Vector,
340
351
i::OneBasedIndex,
341
-
J::OneBasedIndices,
352
+
J::Union{OneBasedIndices, GrB_ALL_Type},
342
353
nj::Union{Int64, UInt64},
343
354
desc::V
344
355
) where {T <:valid_vector_mask_types, U <:valid_accum_types, V <:valid_desc_types} =GrB_Row_assign(C, mask, accum, u, ZeroBasedIndex(i), ZeroBasedIndices(J), nj, desc)
@@ -599,9 +610,21 @@ GrB_Matrix_assign(
599
610
Mask::T,
600
611
accum::U,
601
612
x,
602
-
I::OneBasedIndices,
613
+
I::Union{OneBasedIndices, GrB_ALL_Type},
603
614
ni::Union{Int64, UInt64},
604
615
J::OneBasedIndices,
605
616
nj::Union{Int64, UInt64},
606
617
desc::V
607
618
) where {T <:valid_matrix_mask_types, U <:valid_accum_types, V <:valid_desc_types} =GrB_Matrix_assign(C, Mask, accum, x, ZeroBasedIndices(I), ni, ZeroBasedIndices(J), nj, desc)
619
+
620
+
GrB_Matrix_assign(
621
+
C::GrB_Matrix,
622
+
Mask::T,
623
+
accum::U,
624
+
x,
625
+
I::OneBasedIndices,
626
+
ni::Union{Int64, UInt64},
627
+
J::Union{OneBasedIndices, GrB_ALL_Type},
628
+
nj::Union{Int64, UInt64},
629
+
desc::V
630
+
) where {T <:valid_matrix_mask_types, U <:valid_accum_types, V <:valid_desc_types} =GrB_Matrix_assign(C, Mask, accum, x, ZeroBasedIndices(I), ni, ZeroBasedIndices(J), nj, desc)
Copy file name to clipboardExpand all lines: src/Operations/Extract.jl
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -175,9 +175,9 @@ GrB_Matrix_extract(
175
175
Mask::T,
176
176
accum::U,
177
177
A::GrB_Matrix,
178
-
I::OneBasedIndices,
178
+
I::Union{OneBasedIndices, GrB_ALL_Type},
179
179
ni::Union{Int64, UInt64},
180
-
J::OneBasedIndices,
180
+
J::Union{OneBasedIndices, GrB_ALL_Type},
181
181
nj::Union{Int64, UInt64},
182
182
desc::V
183
183
) where {T <:valid_matrix_mask_types, U <:valid_accum_types, V <:valid_desc_types} =GrB_Matrix_extract(C, Mask, accum, A, ZeroBasedIndices(I), ni, ZeroBasedIndices(J), nj, desc)
) where {T <:valid_vector_mask_types, U <:valid_accum_types, V <:valid_desc_types} =GrB_Col_extract(w, mask, accum, A, ZeroBasedIndices(I), ni, ZeroBasedIndex(j), desc)
0 commit comments