Package

axle

Permalink

package axle

See spire.optional.unicode.SymbolicSetOps for ∩ ∪ etc

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. axle
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Combinations[E](pool: IndexedSeq[E], r: Int)(implicit evidence$1: Manifest[E]) extends Iterable[IndexedSeq[E]] with Product with Serializable

    Permalink
  2. case class CombinationsFast[E](pool: IndexedSeq[E], r: Int)(implicit evidence$1: Manifest[E]) extends Iterable[IndexedSeq[E]] with Product with Serializable

    Permalink
  3. case class CrossProduct[E](collections: IndexedSeq[IndexedSeq[E]]) extends Iterable[List[E]] with Product with Serializable

    Permalink
  4. case class EnrichedArray[T](arr: Array[T])(implicit evidence$1: Manifest[T]) extends Product with Serializable

    Permalink
  5. case class EnrichedByteArray(barr: Array[Byte]) extends Product with Serializable

    Permalink
  6. case class EnrichedGenSeq[T](genSeq: GenSeq[T]) extends Product with Serializable

    Permalink
  7. case class EnrichedGenTraversable[+T](gt: GenTraversable[T])(implicit evidence$1: Manifest[T]) extends Product with Serializable

    Permalink
  8. case class EnrichedIndexedSeq[T](is: IndexedSeq[T])(implicit evidence$1: Manifest[T]) extends Product with Serializable

    Permalink
  9. case class EnrichedInt(n: Int) extends Product with Serializable

    Permalink
  10. class EnrichedIterator[T] extends AnyRef

    Permalink
  11. case class EnrichedMutableBuffer[T](buffer: Buffer[T]) extends Product with Serializable

    Permalink
  12. trait HtmlFrom[T] extends AnyRef

    Permalink
    Annotations
    @implicitNotFound( ... )
  13. case class IndexedCrossProduct[E](lists: Seq[IndexedSeq[E]]) extends Iterable[Seq[E]] with Product with Serializable

    Permalink
  14. case class IndexedPowerSet[E](all: IndexedSeq[E]) extends Iterable[Set[E]] with Product with Serializable

    Permalink

    A ℘ (IndexedPowerSet) constructed with a collection with elements of type E can construct an Iterator which enumerates all possible subsets (of type Collection<E>) of the collection used to construct the PowerSet.

  15. case class Permutations[E](pool: IndexedSeq[E], r: Int)(implicit evidence$1: Manifest[E]) extends Iterable[IndexedSeq[E]] with Product with Serializable

    Permalink

    Based on Python's itertools.permutations function

    Based on Python's itertools.permutations function

    http://docs.python.org/library/itertools.html#itertools.permutations

    Permutations("ABCD".toIndexedSeq, 2) Permutations(0 until 3)

  16. case class PermutationsFast[E](pool: IndexedSeq[E], r: Int)(implicit evidence$1: Manifest[E]) extends Iterable[IndexedSeq[E]] with Product with Serializable

    Permalink

Value Members

  1. object HtmlFrom

    Permalink
  2. def ackermann(m: Long, n: Long): Long

    Permalink

    http://en.wikipedia.org/wiki/Ackermann_function

  3. package algebra

    Permalink
  4. def applyForever[N](f: (N) ⇒ N, x0: N): Iterator[N]

    Permalink
  5. def applyK[N](f: (N) ⇒ N, x0: N, k: Int): N

    Permalink
  6. def arcCosine[N](x: N)(implicit arg0: Trig[N], converter: AngleConverter[N]): UnittedQuantity[Angle, N]

    Permalink
  7. def arcSine[N](x: N)(implicit arg0: Trig[N], converter: AngleConverter[N]): UnittedQuantity[Angle, N]

    Permalink
  8. def arcTangent[N](x: N)(implicit arg0: Trig[N], converter: AngleConverter[N]): UnittedQuantity[Angle, N]

    Permalink
  9. def arcTangent2[N](x: N, y: N)(implicit arg0: Trig[N], converter: AngleConverter[N]): UnittedQuantity[Angle, N]

    Permalink
  10. package ast

    Permalink
  11. def cosine[N](a: UnittedQuantity[Angle, N])(implicit arg0: MultiplicativeMonoid[N], arg1: Eq[N], arg2: Trig[N], converter: AngleConverter[N]): N

    Permalink
  12. def distanceOnSphere[N](angle: UnittedQuantity[Angle, N], sphereRadius: UnittedQuantity[Distance, N])(implicit arg0: MultiplicativeMonoid[N], angleConverter: AngleConverter[N], ctn: ConvertableTo[N], angleModule: Module[UnittedQuantity[Angle, N], N], distanceModule: Module[UnittedQuantity[Distance, N], N]): UnittedQuantity[Distance, N]

    Permalink
  13. def dropOutput(s: String): Unit

    Permalink
  14. implicit def enrichArray[T](arr: Array[T])(implicit arg0: Manifest[T]): EnrichedArray[T]

    Permalink
  15. implicit def enrichByteArray(barr: Array[Byte]): EnrichedByteArray

    Permalink
  16. implicit def enrichGenSeq[T](genSeq: GenSeq[T]): EnrichedGenSeq[T]

    Permalink
  17. implicit def enrichGenTraversable[T](gt: GenTraversable[T])(implicit arg0: Manifest[T]): EnrichedGenTraversable[T]

    Permalink
  18. implicit def enrichIndexedSeq[T](is: IndexedSeq[T])(implicit arg0: Manifest[T]): EnrichedIndexedSeq[T]

    Permalink
  19. implicit def enrichInt(n: Int): EnrichedInt

    Permalink
  20. implicit def enrichIterator[T](it: Iterator[T]): EnrichedIterator[T]

    Permalink
  21. implicit def enrichMutableBuffer[T](buffer: Buffer[T]): EnrichedMutableBuffer[T]

    Permalink
  22. implicit val eqSymbol: Eq[Symbol]

    Permalink
  23. def exponentiateByRecursiveSquaring[B, N](base: B, pow: N)(implicit multB: MultiplicativeSemigroup[B], eucRingN: EuclideanRing[N], eqN: Eq[N]): B

    Permalink
  24. def fibonacciByFold(n: Int): Int

    Permalink
  25. def fibonacciRecursively(n: Int): Int

    Permalink
  26. object forall

    Permalink
  27. package game

    Permalink
  28. def gaps[T](xs: Seq[T])(implicit ringT: Ring[T]): Seq[(T, T)]

    Permalink

    gaps

    gaps

    assumes that the input xs are already sorted

  29. def getLine(): String

    Permalink
  30. def html[T](t: T)(implicit arg0: HtmlFrom[T]): Node

    Permalink
  31. def id[A](x: A): A

    Permalink
  32. def inMandelbrotSet[N](radius: N, R: N, I: N, maxIt: Int)(implicit rng: Rng[N], o: Order[N]): Boolean

    Permalink
  33. def inMandelbrotSetAt[N](radius: N, R: N, I: N, maxIt: Int)(implicit rng: Rng[N], o: Order[N]): Option[Int]

    Permalink
  34. def intersperse[T](d: T)(l: List[T]): List[T]

    Permalink
  35. package logic

    Permalink
  36. def logisticMap[N](λ: N)(implicit arg0: Ring[N]): (N) ⇒ N

    Permalink

    https://en.wikipedia.org/wiki/Logistic_map

  37. def mandelbrotContinue[N](radius: N)(implicit rng: Rng[N], o: Order[N]): ((N, N)) ⇒ Boolean

    Permalink
  38. def mandelbrotNext[N](R: N, I: N)(implicit rng: Rng[N]): ((N, N)) ⇒ (N, N)

    Permalink

    https://en.wikipedia.org/wiki/Mandelbrot_set

  39. def monteCarloPiEstimate[F, N, V, G](trials: F, n2v: (N) ⇒ V)(implicit arg0: ConvertableTo[V], finite: Finite[F, N], functor: Functor[F, N, V, G], agg: Aggregatable[G, V, V], field: Field[V]): V

    Permalink

    Monte Carlo approximation of pi http://en.wikipedia.org/wiki/Monte_Carlo_method

    Monte Carlo approximation of pi http://en.wikipedia.org/wiki/Monte_Carlo_method

    TODO get n2v implicitly?

  40. def orbit[N](f: (N) ⇒ N, x0: N, close: (N) ⇒ (N) ⇒ Boolean): List[N]

    Permalink
  41. implicit val orderSymbol: Order[Symbol]

    Permalink
  42. def prefixedDisplay(prefix: String)(display: (String) ⇒ Unit): (String) ⇒ Unit

    Permalink
  43. def print[T](t: T)(implicit arg0: Show[T]): Unit

    Permalink
  44. package quanta

    Permalink
  45. def replicate[T](n: Int)(v: T): List[T]

    Permalink
  46. def reverse[T](l: List[T]): List[T]

    Permalink
  47. def runs[T](xs: Seq[T])(implicit ringT: Ring[T], orderT: Order[T]): Seq[(T, T)]

    Permalink

    runs

    runs

    assumes xs is already sorted

  48. def runs[T](xs: Seq[T], breaks: Set[T]): Seq[(T, T)]

    Permalink
  49. def show[T](t: T)(implicit arg0: Show[T]): String

    Permalink
  50. implicit val showBD: Show[BigDecimal]

    Permalink
  51. def showDoubleWithPrecision(p: Int = 6): Show[Double]

    Permalink
  52. implicit val showNode: Show[Node]

    Permalink
  53. implicit val showRational: Show[Rational]

    Permalink
  54. def sine[N](a: UnittedQuantity[Angle, N])(implicit arg0: MultiplicativeMonoid[N], arg1: Eq[N], arg2: Trig[N], converter: AngleConverter[N]): N

    Permalink
  55. def square[N](x: N)(implicit arg0: Field[N]): N

    Permalink
  56. package stats

    Permalink
  57. def string[T](t: T)(implicit arg0: Show[T]): String

    Permalink
  58. package syntax

    Permalink
  59. def tangent[N](a: UnittedQuantity[Angle, N])(implicit arg0: MultiplicativeMonoid[N], arg1: Eq[N], arg2: Trig[N], converter: AngleConverter[N]): N

    Permalink
  60. object thereexists

    Permalink
  61. def trace[N](f: (N) ⇒ N, x0: N): Iterator[(N, Set[N])]

    Permalink
  62. def wallisΠ(iterations: Int = 10000): Rational

    Permalink

    Englishman John Wallis (1616 - 1703) approximation of π in 1655

  63. object

    Permalink
  64. val : forall.type

    Permalink
  65. val : thereexists.type

    Permalink
  66. def [N](x: N)(implicit arg0: NRoot[N]): N

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped