Iβm using the LinearAlgebra package in Julia to use the QRPivoted method. The documentation is not very clear about the use of the tolerance. I want to use que qr pivoted function on a matrix A but I want to be able to change the tolerance.
To use the qr pivoted function, the documentation says to do the following:
qr(A, Val(false)) which actually works once you do it in Julia for any matrix A
However, the only mention of tolerance in the documentation is
qr(A::SparseMatrixCSC; tol=_default_tol(A), ordering=ORDERING_DEFAULT)
I donβt know how to use it in Julia because I have tried
qr(A, 10e-10, ordering = false) and
qr(A, 10e-10)
and nothing works. Can anyone help with that?
I would like to do something like
qr(A, Val(false), 10e-10) to make a QRPivoted matrix with a tolerance of the method of 10e-10.
It should work on any matrix A so feel free to use any one you want.
For the function def f(x, y, z; a=default1, b=default2), the arguments x,y,z before the semicolon are required and specified by order. The arguments a and b come with default values and can be set in any order or left to default values, but you need to name them when calling, as in f(1,2,3, a="foo") or f(1,2,3, b="bar", a="foo").