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
// in Ring object:defadjoinOne[T](implicitpseudoring: Ring[T]):Ring[(BigInt, T)] =newRing[(BigInt,T)] {
lazyvalone= (BigInt(1), pseudoring.zero)
lazyvalzero= (BigInt(0), pseudoring.zero)
// and follow the rules above.
}
This would allow us to use a Map as a true ring, not a pseudo-ring, which could be useful in Matrix.scala (but honestly, this is mostly a correctness issue, I don't think matrix.scala often assumes ring.one exists).
The text was updated successfully, but these errors were encountered:
http://en.wikipedia.org/wiki/Pseudo-ring#Adjoining_an_identity_element
What we want is something like:
This would allow us to use a Map as a true ring, not a pseudo-ring, which could be useful in Matrix.scala (but honestly, this is mostly a correctness issue, I don't think matrix.scala often assumes ring.one exists).
The text was updated successfully, but these errors were encountered: