Create a vector by replicating a value
Equations
- Sparkle.Core.Vector.HWVector.replicate n val = { data := { toList := List.replicate n val }, size_eq := ⋯ }
Instances For
Equations
- Sparkle.Core.Vector.HWVector.instRepr = { reprPrec := fun (v : Sparkle.Core.Vector.HWVector α n) (x : Nat) => repr v.toList }