Erik Welch
                                            Erik Welch
                                        
                                    Good question. Yes, I expect this to work *only* for the `plus_times` semiring. - `AA
You bet! Thanks for raising the issue. I'm always happy to discuss usability issues. As you pointed out, the current behavior of `op.min_plus(P.T @ A @ P)` is understandable, although...
Thanks for the feedback, and interesting idea. We could do something like the following: ```python # Change it until we change it again >>> gb.config.set(matmul_default=op.min_plus) >>> C >> with gb.config.set(matmul_default=op.min_plus):...
`grblas.config` already works like I described above (with or without context manager). We could forego using the config altogether and do something like this: ```python with op.min_times: C
`A | B` performs ewise_add (i.e., like a union), and `A & B` performs ewise_mult (i.e., like an intersection), so that's the main difference. `|` and `&` have different precedents...
Gotcha. I was playing around with mask recipes (shocking, I know), and one recipe for `m1` as value mask (such as `A.V`) and `m2` as any other mask is: ```python...
#166 added better reprs for `AmbigousAssignOrExtract` (as e.g. `VectorIndexExpression`). `Updater` and `Assigner` still need done.
Thanks for the report and sharing the issue on StackOverflow @davidsilveiro! In the example above `G` is directed (as is required for `in_degree_centrality`), and `GG` is undirected. So, to fix...
Sounds good to me :+1: Also, looking at this now, `id_to_key` could just be a list or Sequence or whatever since the keys will always be 0 to N-1. This...
I agree, styles are very weird, and the `@` doesn't scream "matrix multiply" w/o something to the right of it. Here's a G and A that are a bit more...