doc: Update doc for tensor.
This commit is contained in:
parent
aae24f3df7
commit
d5fe9c0db6
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue