|
28 | 28 | """
|
29 | 29 | GrB_Vector_assign(w, mask, accum, u, I, ni, desc)
|
30 | 30 |
|
| 31 | +Assign values from one GraphBLAS vector to a subset of a vector as specified by a set of |
| 32 | +indices. The size of the input vector is the same size as the index array provided. |
| 33 | +
|
31 | 34 | # Examples
|
32 | 35 | ```jldoctest
|
33 | 36 | julia> using SuiteSparseGraphBLAS
|
|
82 | 85 | """
|
83 | 86 | GrB_Matrix_assign(C, Mask, accum, A, I, ni, J, nj, desc)
|
84 | 87 |
|
| 88 | +Assign values from one GraphBLAS matrix to a subset of a matrix as specified by a set of |
| 89 | +indices. The dimensions of the input matrix are the same size as the row and column index arrays provided. |
| 90 | +
|
85 | 91 | # Examples
|
86 | 92 | ```jldoctest
|
87 | 93 | julia> using SuiteSparseGraphBLAS
|
|
138 | 144 | """
|
139 | 145 | GrB_Col_assign(C, Mask, accum, u, I, ni, j, desc)
|
140 | 146 |
|
| 147 | +Assign the contents a vector to a subset of elements in one column of a matrix. |
| 148 | +Note that since the output cannot be transposed, a different variant of assign is provided |
| 149 | +to assign to a row of matrix. |
| 150 | +
|
141 | 151 | # Examples
|
142 | 152 | ```jldoctest
|
143 | 153 | julia> using SuiteSparseGraphBLAS
|
|
198 | 208 | """
|
199 | 209 | GrB_Row_assign(C, mask, accum, u, i, J, nj, desc)
|
200 | 210 |
|
| 211 | +Assign the contents a vector to a subset of elements in one row of a matrix. |
| 212 | +Note that since the output cannot be transposed, a different variant of assign is provided |
| 213 | +to assign to a column of a matrix. |
| 214 | +
|
201 | 215 | # Examples
|
202 | 216 | ```jldoctest
|
203 | 217 | julia> using SuiteSparseGraphBLAS
|
|
258 | 272 | """
|
259 | 273 | GrB_Vector_assign(w, mask, accum, x, I, ni, desc)
|
260 | 274 |
|
| 275 | +Assign the same value to a specified subset of vector elements. |
| 276 | +With the use of `GrB_ALL`, the entire destination vector can be filled with the constant. |
| 277 | +
|
261 | 278 | # Examples
|
262 | 279 | ```jldoctest
|
263 | 280 | julia> using SuiteSparseGraphBLAS
|
|
343 | 360 | """
|
344 | 361 | GrB_Matrix_assign(C, Mask, accum, x, I, ni, J, nj, desc)
|
345 | 362 |
|
| 363 | +Assign the same value to a specified subset of matrix elements. |
| 364 | +With the use of `GrB_ALL`, the entire destination matrix can be filled with the constant. |
| 365 | +
|
346 | 366 | # Examples
|
347 | 367 | ```jldoctest
|
348 | 368 | julia> using SuiteSparseGraphBLAS
|
|
0 commit comments