Scalar multiplication of vectors
Content created by Fredrik Bakke, Jonathan Prieto-Cubides and Egbert Rijke.
Created on 2022-03-15.
Last modified on 2023-03-13.
module linear-algebra.scalar-multiplication-vectors where
Imports
open import elementary-number-theory.natural-numbers open import foundation.universe-levels open import linear-algebra.functoriality-vectors open import linear-algebra.vectors
Idea
Any operation B → A → A
for some type B
of formal scalars induces an
operation B → vec n A → vec n A
.
Definition
scalar-mul-vec : {l1 l2 : Level} {B : UU l1} {A : UU l2} {n : ℕ} → (B → A → A) → B → vec A n → vec A n scalar-mul-vec μ x = map-vec (μ x)
Recent changes
- 2023-03-13. Jonathan Prieto-Cubides. More maintenance (#506).
- 2023-03-10. Fredrik Bakke. Additions to
fix-import
(#497). - 2023-03-09. Jonathan Prieto-Cubides. Add hooks (#495).
- 2023-03-07. Fredrik Bakke. Add blank lines between
<details>
tags and markdown syntax (#490). - 2023-03-07. Jonathan Prieto-Cubides. Show module declarations (#488).