Skip to content

Spire math support

Nils Kilden-Pedersen edited this page Mar 2, 2016 · 2 revisions

Spire already supports the standard Scala type classes Ordering and Numeric. To use the built-in aggregations with spire-math, simply:

import spire.compat._
Clone this wiki locally