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
Currently there exist two version of some files like org.ejml.sparse.csc.mult.ImplSparseSparseMultWithSemiRing_DSCC.
As the one without semi-rings is just the in-lined version of the PLUS, TIMES semi-ring, it should be possible to auto-generate instead of having nearly identical files.
Steps:
copy the Semi-Ring version
remove the semi-ring from the signature and java-doc
replace semiRing.add.id with 0 and semiRing.mult.id with 1
replace semiRing.add.func.apply(x, y) with x + y (same for semiRing.mult.func.apply but with *)
The text was updated successfully, but these errors were encountered:
FlorentinD
changed the title
Auto-generate non semi-ring op code
Auto-generate non semi-ring operations code
Aug 27, 2020
Currently there exist two version of some files like
org.ejml.sparse.csc.mult.ImplSparseSparseMultWithSemiRing_DSCC
.As the one without semi-rings is just the in-lined version of the
PLUS, TIMES
semi-ring, it should be possible to auto-generate instead of having nearly identical files.Steps:
semiRing.add.id
with0
andsemiRing.mult.id
with1
semiRing.add.func.apply(x, y)
withx + y
(same forsemiRing.mult.func.apply
but with*
)The text was updated successfully, but these errors were encountered: