Documentation

WeightedNetKAT.KStar.EMatrix

@[implicit_reducible]
Equations
@[implicit_reducible]
instance Matrix.KStar.instHMulNMatrix {α : Type u_1} [Mul α] {m n : } :
HMul α (NMatrix m n α) (NMatrix m n α)
Equations
@[implicit_reducible]
instance Matrix.KStar.instHMulNMatrix_1 {α : Type u_1} [Mul α] {m n : } :
HMul (NMatrix m n α) α (NMatrix m n α)
Equations
@[implicit_reducible]
instance Matrix.KStar.instKStarNMatrixOfNatNat {α : Type u_1} [KStar α] :
KStar (NMatrix 1 1 α)
Equations
def Matrix.KStar.kstar_fin' {α : Type u_1} [AddCommMonoid α] [Mul α] [KStar α] {n : } (m : NMatrix n n α) :
NMatrix n n α
Equations
Instances For
    def Nat.isPowerOfTwo_iff {n : } :
    n.isPowerOfTwo ∃ (m : ), n = 2 ^ m
    Equations
    • =
    Instances For
      def Nat.powTwoRec {motive : Sort u_2} (base : motive 1) (induct : (i : ) → motive (2 ^ i)motive (2 ^ i + 2 ^ i)) (n : ) :
      motive (2 ^ n)
      Equations
      Instances For
        def Nat.powTwoRec' {motive : Sort u_2} (base : motive 1) (induct : (i : ) → motive (2 ^ i)motive (2 ^ i + 2 ^ i)) (n : ) (hn : n.isPowerOfTwo) :
        motive n
        Equations
        Instances For
          def Matrix.KStar.kstarFin₂ {α : Type u_1} [AddCommMonoid α] [Mul α] [KStar α] {n : } (h : n.isPowerOfTwo) :
          NMatrix n n αNMatrix n n α
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def Matrix.KStar.kstarFin {α : Type u_1} [AddCommMonoid α] [Mul α] [KStar α] {n : } (M : NMatrix n n α) :
            NMatrix n n α

            A more efficient version of kstar_fin' that splits the matrix up into four approximately equal blocks.

            Equations
            Instances For
              def Matrix.KStar.kstar_fin {α : Type u_1} [AddCommMonoid α] [Mul α] [KStar α] {n : } (m : Matrix (Fin n) (Fin n) α) :
              Matrix (Fin n) (Fin n) α
              Equations
              Instances For
                theorem Matrix.KStar.kstar_fin'_iter {α : Type u_1} [Semiring α] [KStar α] [KStarIter α] {n : } (M : NMatrix n n α) :
                theorem Matrix.KStar.kstarFin_iter_pow_two {α : Type u_1} [Semiring α] [KStar α] [KStarIter α] {n : } (M : NMatrix (2 ^ n) (2 ^ n) α) :
                theorem Matrix.KStar.kstarFin_iter {α : Type u_1} [Semiring α] [KStar α] [KStarIter α] {n : } (M : NMatrix n n α) :