Zulip Chat Archive
Stream: Is there code for X?
Topic: std_basis
Markus Himmel (Jul 24 2020 at 20:26):
At LFTCM, there was an exercise to show that
def std_basis (i : n) : (n → R) := λ j, if i = j then 1 else 0
is a basis. Is this result in mathlib? I know there's something called std_basis
in linear_algebra/basic.lean
, but I can't figure out how to use it.
Kenny Lau (Jul 24 2020 at 20:39):
Markus Himmel (Jul 24 2020 at 20:45):
Perfect, thanks!
Last updated: Dec 20 2023 at 11:08 UTC