While many algorithms have specific arguments within their constructor,
the keyword arguments for solve
are common across all the algorithms
in order to give composability. These are also the options taken at init
time.
The following are the options these algorithms take, along with their defaults.
alias::LinearAliasSpecifier
: Holds the fieldsalias_A
andalias_b
which specify whether to alias the matricesA
andb
respectively. When these fields aretrue
,A
andb
can be written to and changed by the solver algorithm. When fields arenothing
the default behavior is used, which is to default totrue
when the algorithm is known not to modify the matrices, and false otherwise.verbose
: Whether to print extra information. Defaults tofalse
.assumptions
: Sets the assumptions of the operator in order to effect the default choice algorithm. See the [Operator Assumptions page for more details](@ref assumptions).
Error controls are not used by all algorithms. Specifically, direct solves always solve completely. Error controls only apply to iterative solvers.
abstol
: The absolute tolerance. Defaults to√(eps(eltype(A)))
reltol
: The relative tolerance. Defaults to√(eps(eltype(A)))
maxiters
: The number of iterations allowed. Defaults tolength(prob.b)
Pl,Pr
: The left and right preconditioners, respectively. For more information, see [the Preconditioners page](@ref prec).