cfahlgren1/math / lean /OAI /Geometry /CylinderCovering /Radial /FinitePairDefinitions.lean
cfahlgren1's picture
download
raw
574 Bytes
import OAI.Geometry.CylinderCovering.Radial.PairedSweepDefinitions
namespace OAI
noncomputable section
namespace CylinderCovering.RadialPairedSweep
def join {N : ℕ} (U L : Fin N → TriangularCovering.TriCylinder) :
Fin (2 * N) → TriangularCovering.TriCylinder :=
(Fin.append U L) ∘ Fin.cast (two_mul N)
def upperIndex {N : ℕ} (i : Fin N) : Fin (2 * N) :=
Fin.cast (two_mul N).symm (Fin.castAdd N i)
def lowerIndex {N : ℕ} (i : Fin N) : Fin (2 * N) :=
Fin.cast (two_mul N).symm (Fin.natAdd N i)
end CylinderCovering.RadialPairedSweep
end
end OAI

Xet Storage Details

Size:
574 Bytes
·
Xet hash:
f66d7f3c1997e04ae38c2286c23b57dd5e86eb93067b5f33873f903c8002be81

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.