-
For a project I’m working on, I needed something like a commutative semiring of decidable types. I defined the following existential wrapper to get the homogeneity required by the algebraic structures…
conal updated
3 years ago
-
With the current definition of `Semiring`, that is:
```swift
protocol Semiring: Multiplicative, Additive { }
```
There is no notion of defining a separate `plus` and `times`, as `Multiplicativ…
bkase updated
7 years ago
-
These would be incredibly useful for me: https://docs.nvidia.com/cuda/cusparse/index.html#cusparse-generic-function-spmm-op. I may get around to trying this eventually, but if someone wants to wrap t…
-
For some code to be part of the core libraries, I think there should be quite a high bar to meet. The core team should be able to understand and maintain it, it should be robust and correct, and it sh…
-
I'm interesting in using this package, but I found that it doesn't work with the latest version (1.2.7) of semiring package, at least when I use it from normal JavaScript.
This is because abstract-…
-
In the Factor creation code in Factory, several methods hard code 1.0 or 0.0 into the factors. These values should be tied to the semiring type.
-
On the model of
* `Algebra.Definitions.RawMonoid`
* `Algebra.Properties.Monoid.*`
Introducing the 'obvious' action(s) of type `ℤ → Carrier → Carrier`.
Plus: additional properties in the `Abel…
-
I'm not sure this is a bug, it's possible my types are not quite right, or that I've used access modifiers the wrong way.
# Steps to Reproduce
Download the attached [unstable-import.zip](https://g…
-
I found that many results in `monalg.v` of multinomials can be generalized to `nmodType` and `semiRingType`. However, module and algebra structures where scalars are a semiring (e.g., polynomials wher…
-
The current way we are computing norms on sparse data in cuml is suboptimal because we are performing explicit loops over sparse vectors within threads, which causes massive divergences, especially on…