Skip to content

Add op.is_idempotent property to Monoids that means op(x, x) == x#388

Merged
eriknw merged 3 commits intopython-graphblas:mainfrom
eriknw:monoid_is_idempotent
Feb 18, 2023
Merged

Add op.is_idempotent property to Monoids that means op(x, x) == x#388
eriknw merged 3 commits intopython-graphblas:mainfrom
eriknw:monoid_is_idempotent

Conversation

@eriknw
Copy link
Member

@eriknw eriknw commented Feb 17, 2023

Closes #387

I'm going to want to use this property in graphblas-algorithms.

@coveralls
Copy link

Coverage Status

Coverage: 99.505% (+0.008%) from 99.497% when pulling 2974bb9 on eriknw:monoid_is_idempotent into abaaed1 on python-graphblas:main.

@eriknw eriknw merged commit 9aba9ea into python-graphblas:main Feb 18, 2023
@eriknw eriknw mentioned this pull request Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New property for "extremal" monoids?

2 participants