Commit 2021-08-17 13:05 450c2d08
View on Github →refactor(algebra/algebra/basic): move restrict_scalars into more appropriate files (#8712) This puts:
submodule.restrict_scalarsinsubmodule.leansince the proofs are all available there, and this is consistent with howlinear_map.restrict_scalarsis placed. This is almost a copy-paste, but all theRandSvariables are swapped to match the existing convention in that file.- The type alias
restrict_scalarsis now in its own file. The docstring at the top of the file is entirely new, but the rest is a direct copy and paste. The motivation is primarily to reduce the size ofalgebra/algebra/basica little.