SubSolvers

Abstract Types

RLinearAlgebra.SubSolverType
SubSolver

An abstract supertype for structures specifying solution methods for a linear system or least squares problem.

source
RLinearAlgebra.SubSolverRecipeType
SubSolverRecipe

An abstract supertype for structures with pre-allocated memory for methods that solve a linear system or least squares problem.

source

SubSolver Structures

RLinearAlgebra.LQSolverType
LQSolver <: SubSolver

A 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().

source
RLinearAlgebra.LQSolverRecipeType
LQSolverRecipe <: 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.
source
RLinearAlgebra.QRSolverType
QRSolver <: SubSolver

A 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
source
RLinearAlgebra.QRSolverRecipeType
QRSolverRecipe{M<:AbstractArray} <: SubSolverRecipe

A 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.
source

Exported Functions

RLinearAlgebra.complete_sub_solverFunction
complete_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 SubSolverRecipe object.
source
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 SubSolverRecipe object.
source
RLinearAlgebra.update_sub_solver!Function
update_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 SubSolverRecipe in place given the arguments.and returns nothing.
source