doc: Update doc for tensor.

This commit is contained in:
jstoobysmith 2024-10-31 14:13:35 +00:00
parent aae24f3df7
commit d5fe9c0db6

View file

@ -672,8 +672,7 @@ def size : ∀ {n : } {c : Fin n → S.C}, TensorTree S c → := fun
noncomputable section
/-- The underlying tensor a tensor tree corresponds to.
Note: This function is not fully defined yet. -/
/-- The underlying tensor a tensor tree corresponds to. -/
def tensor : ∀ {n : } {c : Fin n → S.C}, TensorTree S c → S.F.obj (OverColor.mk c) := fun
| tensorNode t => t
| add t1 t2 => t1.tensor + t2.tensor