The documentation should be expanded with more examples. Many of the linear algebra functions work for arbitrary input types so if you construct a matrix with rational or integer inputs then many of the functions will still work. We don't have much support in base for fancy math on such matrices. In that case, you might want to take a look at http://www.nemocas.org/
On Wednesday, October 5, 2016 at 5:25:26 AM UTC-4, harven wrote: > > Is there a way to check if a vector v is in the linear span of a given > family of vectors v1,...vn? > I don't think I saw such a function in the base library but I may have > missed it. > > I can use something like > > rank([v;v1...vn]) == rank([v1...vn]) > > but that looks inefficient. > > Also is there any facility to compute with matrices with integer/rational > coefficients? > It seems that the standard library focuses on floats. >
