Zulip Chat Archive

Stream: Is there code for X?

Topic: Standard basis


Alexander Bentkamp (Jun 01 2022 at 14:14):

Hi, I am looking for the standard basis of the vector space n → 𝕜 w.r.t 𝕜. The best I could find so far is pi.basis (λ _, basis.singleton unit 𝕜), but that has a weird indexing type. The indexing type of the basis should ideally be n.

In my case, n is finite and 𝕜 is a field, but I guess that should not really matter.

Adam Topaz (Jun 01 2022 at 14:27):

docs#basis.pi maybe?

Anne Baanen (Jun 01 2022 at 14:27):

docs#pi.basis_fun

Anne Baanen (Jun 01 2022 at 14:28):

The idea of docs#pi.basis is that it constructs a basis for Π i, M i given a basis for each M i

Anne Baanen (Jun 01 2022 at 14:31):

We should really add more references to pi.basis_fun in various places since it's a common question

Anne Baanen (Jun 01 2022 at 14:32):

#14505

Alexander Bentkamp (Jun 01 2022 at 14:34):

Thanks!


Last updated: Dec 20 2023 at 11:08 UTC