search for: solveqr

Displaying 5 results from an estimated 5 matches for "solveqr".

2016 Apr 20
6
Solving sparse, singular systems of equations
...sparse=TRUE,tol=.Machine$double.eps) #one x that happens to solve Ax = bx = matrix(c(-10,10,0),nrow=3,ncol=1)A %*% x #Error in lsfit(A, b) : only 3 cases, but 4 variableslsfit(A,b)#solves the system, but fails belowsolve(qr(A, LAPACK=TRUE),b)#Error in qr.solve(A, b) : singular matrix 'a' in solveqr.solve(A,b) #matrices used in my actual problem (see attached files)A = readMM("A.txt")b = readMM("b.txt") #Error in as(x, "matrix")[i, , drop = drop] : subscript out of boundssolve(qr(A, LAPACK=TRUE),b) -------------- next part -------------- An embedded and chars...
2016 Apr 20
0
Solving sparse, singular systems of equations
...E,tol=.Machine$double.eps) > #one x that happens to solve Ax = bx = matrix(c(-10,10,0),nrow=3,ncol=1)A %*% x > #Error in lsfit(A, b) : only 3 cases, but 4 variableslsfit(A,b)#solves the system, but fails belowsolve(qr(A, LAPACK=TRUE),b)#Error in qr.solve(A, b) : singular matrix 'a' in solveqr.solve(A,b) > #matrices used in my actual problem (see attached files)A = readMM("A.txt")b = readMM("b.txt") > #Error in as(x, "matrix")[i, , drop = drop] : subscript out of boundssolve(qr(A, LAPACK=TRUE),b) Your code is a mess. A singular square system of line...
2016 Apr 20
0
Solving sparse, singular systems of equations
...double.eps) > #one x that happens to solve Ax = bx = matrix(c(-10,10,0),nrow=3,ncol=1)A > %*% x > #Error in lsfit(A, b) : only 3 cases, but 4 variableslsfit(A,b)#solves the > system, but fails belowsolve(qr(A, LAPACK=TRUE),b)#Error in qr.solve(A, b) > : singular matrix 'a' in solveqr.solve(A,b) > #matrices used in my actual problem (see attached files)A = > readMM("A.txt")b = readMM("b.txt") > #Error in as(x, "matrix")[i, , drop = drop] : subscript out of > boundssolve(qr(A, LAPACK=TRUE),b) > > > _______________________________...
2016 Apr 20
0
Solving sparse, singular systems of equations
...hine$double.eps) >#one x that happens to solve Ax = bx = >matrix(c(-10,10,0),nrow=3,ncol=1)A %*% x >#Error in lsfit(A, b) : only 3 cases, but 4 variableslsfit(A,b)#solves >the system, but fails belowsolve(qr(A, LAPACK=TRUE),b)#Error in >qr.solve(A, b) : singular matrix 'a' in solveqr.solve(A,b) >#matrices used in my actual problem (see attached files)A = >readMM("A.txt")b = readMM("b.txt") >#Error in as(x, "matrix")[i, , drop = drop] : subscript out of >boundssolve(qr(A, LAPACK=TRUE),b) > > > >----------------------------...
2016 Apr 20
1
Solving sparse, singular systems of equations
...E,tol=.Machine$double.eps) > #one x that happens to solve Ax = bx = matrix(c(-10,10,0),nrow=3,ncol=1)A %*% x > #Error in lsfit(A, b) : only 3 cases, but 4 variableslsfit(A,b)#solves the system, but fails belowsolve(qr(A, LAPACK=TRUE),b)#Error in qr.solve(A, b) : singular matrix 'a' in solveqr.solve(A,b) > #matrices used in my actual problem (see attached files)A = readMM("A.txt")b = readMM("b.txt") > #Error in as(x, "matrix")[i, , drop = drop] : subscript out of boundssolve(qr(A, LAPACK=TRUE),b) Your code is a mess. A singular square system of line...