[julia-users] linear algebra question

2016-10-05 Thread harven
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 f

[julia-users] Linear algebra question (shift rows to the right)

2015-10-06 Thread Alex M
Sorry if it's out of topic of the group. What is the name of the operation which makes transformation : [a b c; d e f; g h t] -> [a b c; 0 d e; 0 0 g] It shifts rows to the right and fills left trailing values by zeros.