SubSolvers
Abstract Types
RLinearAlgebra.SubSolver — TypeSubSolverAn abstract supertype for structures specifying solution methods for a linear system or least squares problem.
RLinearAlgebra.SubSolverRecipe — TypeSubSolverRecipeAn abstract supertype for structures with pre-allocated memory for methods that solve a linear system or least squares problem.
SubSolver Structures
RLinearAlgebra.LQSolver — TypeLQSolver <: SubSolverA type containing information relevant to solving the linear subsystems created by the Solver routines with the LQ factorization. As there are no user controlled parameters, if the user wishes to use this method they can simply specify LQSolver().
RLinearAlgebra.LQSolverRecipe — TypeLQSolverRecipe <: SubSolverRecipe{M<:AbstractArray}A mutable type containing informtation relevant to solving the linear subsytems created by the Solver routines with the LQ factorization.
Fields
A::M, The matrix in the linear system that will be solved with the LQ solver.
RLinearAlgebra.QRSolver — TypeQRSolver <: SubSolverA type containing information relevant to solving the linear subsystems created by the Solver routines with the QR factorization. As there are no user controlled parameters, if the user wishes to use this method they can simply specify QRSolver().
Fields
- None
RLinearAlgebra.QRSolverRecipe — TypeQRSolverRecipe{M<:AbstractArray} <: SubSolverRecipeA mutable type containing information relevant to solving the linear subsystems created by the Solver routines with the QR factorization.
Fields
A::M, The matrix in the linear system that will be solved with the QR solver.
Exported Functions
RLinearAlgebra.complete_sub_solver — Functioncomplete_sub_solver(solver::SubSolver, A::AbstractArray)A function that generates a SubSolverRecipe given the arguments.
Arguments
solver::SubSolver, a user-specified sub-solving method.A::AbstractArray, a coefficient matrix or vector.
Returns
- A
SubSolverRecipeobject.
complete_sub_solver(solver::SubSolver, A::AbstractArray, b::AbstractArray)A function that generates a SubSolverRecipe given the arguments.
Arguments
solver::SubSolver, a user-specified sub-solving method.A::AbstractArray, a coefficient matrix or vector.b::AbstractArray, a constant matrix or vector.
Returns
- A
SubSolverRecipeobject.
RLinearAlgebra.update_sub_solver! — Functionupdate_sub_solver!(solver::SubSolverRecipe, A::AbstractArray)A function that updates the SubSolver in place given arguments.
Arguments
solver::SubSolverRecipe, a fully initialized realization for a linear sub-solver.A::AbstractArray, a coefficient matrix or vector.
Returns
- Modifies the
SubSolverRecipein place given the arguments.and returns nothing.