egison-5.0.0: lib/math/geometry/3d-euclidean-space.egi
def coordinates {Num a} : Vector a := [x, y, z]
def metric {Num a} : Matrix a :=
generateTensor
(\match as list integer with
| [$n, #n] -> 1
| _ -> 0)
[3, 3]
def coordinates {Num a} : Vector a := [x, y, z]
def metric {Num a} : Matrix a :=
generateTensor
(\match as list integer with
| [$n, #n] -> 1
| _ -> 0)
[3, 3]