@@ -162,9 +162,13 @@ list_groups() = collect(keys(MATRIX_GROUPS))
162
162
"""
163
163
add_to_groups(type, groups)
164
164
165
- Add a matrix type to groups.
165
+ Add a matrix type to groups. If a group is not exists, it will be created.
166
166
167
- groups can be vector/varargs of `Group` or symbol.
167
+ Groups `:builtin` and `:user` are special groups. It is suggested always to add matrices to the `:user` group.
168
+
169
+ `groups` can be vector/varargs of `Group` or symbol.
170
+
171
+ See also [`remove_from_group`](@ref), [`remove_from_all_groups`](@ref).
168
172
169
173
# Examples
170
174
```jldoctest
@@ -201,9 +205,9 @@ add_to_groups(type::Type{<:AbstractMatrix}, groups::Vector{Symbol}) = add_to_gro
201
205
"""
202
206
remove_from_group(type, group)
203
207
204
- Remove a matrix type from a group.
208
+ Remove a matrix type from a group. If the group is empty, it will be deleted.
205
209
206
- See also [`remove_from_all_groups`](@ref).
210
+ See also [`add_to_groups`](@ref), [` remove_from_all_groups`](@ref).
207
211
208
212
# Examples
209
213
```jldoctest
@@ -243,9 +247,9 @@ remove_from_group(type::Type{<:AbstractMatrix}, group::Symbol) = remove_from_gro
243
247
"""
244
248
remove_from_all_groups(type)
245
249
246
- Remove a matrix type from all groups.
250
+ Remove a matrix type from all groups. If a group is empty, it will be deleted.
247
251
248
- See also [`remove_from_group`](@ref).
252
+ See also [`add_to_groups`](@ref), [` remove_from_group`](@ref).
249
253
250
254
# Examples
251
255
```jldoctest
265
269
266
270
List all matrices that are in groups and have properties.
267
271
268
- groups can be vector/varargs of `Group` or symbol.
272
+ ` groups` can be vector/varargs of `Group` or symbol.
269
273
270
- props can be vector/varargs of `Property`, symbol, data type or property type .
274
+ ` props` can be vector/varargs of `Property`, symbol, subtype of PropertyTypes.AbstractProperty or instance of AbstractProperty .
271
275
272
276
# Examples
273
277
```jldoctest
0 commit comments