Link Search Menu Expand Document

Semiring.Extra overview

Added in v1.0.0


Table of contents


utils

semiringPow

Raises a Semiring to a non-negative integral power

expect(pow(UInt32))

Signature

export declare function semiringPow<B, E>(
  B: Semiring<B>,
  E: Ord<E> & EuclideanRing<E> & HasToInt<E>
): (base: B, exponent: NonNegative<E>) => B

Added in v1.0.0