From a0d5764bcca248996325a95b26ce0fa3cb30291d Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Wed, 22 Apr 2020 13:58:04 -0400 Subject: [PATCH] Add missing example --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 22f94af..542458b 100644 --- a/README.md +++ b/README.md @@ -176,6 +176,9 @@ The first argument provides signature specifications, the second argument is the It is entirely possible to assign multiple different bases with different signatures without any problems. In the following command, the `@basis` macro arguments are used to assign the vector space name to `S` instead of `V` and basis elements to `b` instead of `v`, so that their local names do not interfere. Alternatively, if you do not wish to assign these variables to your local workspace, the versatile `DirctSum.Basis` constructors can be used to contain them, which is exported to the user as the method `Λ(V)`. ```julia +julia> @basis 3 S b +(⟨+++⟩, v, v₁, v₂, v₃, v₁₂, v₁₃, v₂₃, v₁₂₃) + julia> indices(Λ(3).v12) 2-element Array{Int64,1}: 1