Skip to content

Commit

Permalink
build based on e29a810
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Oct 3, 2023
1 parent ecba1c6 commit 53ec28c
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 89 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.9.3","generation_timestamp":"2023-09-27T17:05:52","documenter_version":"1.0.1"}}
{"documenter":{"julia_version":"1.9.3","generation_timestamp":"2023-10-03T19:55:28","documenter_version":"1.1.0"}}
124 changes: 62 additions & 62 deletions dev/generated/custom/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/history/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@
# Apply second linear map: solve linear system with vector tmp1 as RHS
tmp2 = A \ tmp1
# Apply third linear map C to tmp2
result = C * tmp2</code></pre><p>i.e. inside the CG solver for solving <code>Sx = b</code> we use CG to solve another inner linear system.</p><h2 id="Philosophy"><a class="docs-heading-anchor" href="#Philosophy">Philosophy</a><a id="Philosophy-1"></a><a class="docs-heading-anchor-permalink" href="#Philosophy" title="Permalink"></a></h2><p>Several iterative linear algebra methods such as linear solvers or eigensolvers only require an efficient evaluation of the matrix-vector product, where the concept of a matrix can be formalized / generalized to a linear map (or linear operator in the special case of a square matrix).</p><p>The LinearMaps package provides the following functionality:</p><ol><li><p>A <code>LinearMap</code> type that shares with the <code>AbstractMatrix</code> type that it responds to the functions <code>size</code>, <code>eltype</code>, <code>isreal</code>, <code>issymmetric</code>, <code>ishermitian</code> and <code>isposdef</code>, <code>transpose</code> and <code>adjoint</code> and multiplication with a vector using both <code>*</code> or the in-place version <code>mul!</code>. Linear algebra functions that use duck-typing for their arguments can handle <code>LinearMap</code> objects similar to <code>AbstractMatrix</code> objects, provided that they can be written using the above methods. Unlike <code>AbstractMatrix</code> types, <code>LinearMap</code> objects cannot be indexed, neither using <code>getindex</code> or <code>setindex!</code>.</p></li><li><p>A single function <code>LinearMap</code> that acts as a general purpose constructor (though it is only an abstract type) and allows to construct linear map objects from functions, or to wrap objects of type <code>AbstractMatrix</code> or <code>LinearMap</code>. The latter functionality is useful to (re)define the properties (<code>isreal</code>, <code>issymmetric</code>, <code>ishermitian</code>, <code>isposdef</code>) of the existing matrix or linear map.</p></li><li><p>A framework for combining objects of type <code>LinearMap</code> and of type <code>AbstractMatrix</code> using linear combinations, transposition, composition, concatenation and Kronecker product/sums, where the linear map resulting from these operations is never explicitly evaluated but only its matrix-vector product is defined (i.e. lazy evaluation). The matrix-vector product is written to minimize memory allocation by using a minimal number of temporary vectors. There is full support for the in-place version <code>mul!</code>, which should be preferred for higher efficiency in critical algorithms. In addition, it tries to recognize the properties of combinations of linear maps. In particular, compositions such as <code>A&#39;*A</code> for arbitrary <code>A</code> or even <code>A&#39;*B*C*B&#39;*A</code> with arbitrary <code>A</code> and <code>B</code> and positive definite <code>C</code> are recognized as being positive definite and hermitian. In case a certain property of the resulting <code>LinearMap</code> object is not correctly inferred, the <code>LinearMap</code> method can be called to redefine the properties.</p></li></ol></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="history/">Version history »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.0.1 on <span class="colophon-date" title="Wednesday 27 September 2023 17:05">Wednesday 27 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
result = C * tmp2</code></pre><p>i.e. inside the CG solver for solving <code>Sx = b</code> we use CG to solve another inner linear system.</p><h2 id="Philosophy"><a class="docs-heading-anchor" href="#Philosophy">Philosophy</a><a id="Philosophy-1"></a><a class="docs-heading-anchor-permalink" href="#Philosophy" title="Permalink"></a></h2><p>Several iterative linear algebra methods such as linear solvers or eigensolvers only require an efficient evaluation of the matrix-vector product, where the concept of a matrix can be formalized / generalized to a linear map (or linear operator in the special case of a square matrix).</p><p>The LinearMaps package provides the following functionality:</p><ol><li><p>A <code>LinearMap</code> type that shares with the <code>AbstractMatrix</code> type that it responds to the functions <code>size</code>, <code>eltype</code>, <code>isreal</code>, <code>issymmetric</code>, <code>ishermitian</code> and <code>isposdef</code>, <code>transpose</code> and <code>adjoint</code> and multiplication with a vector using both <code>*</code> or the in-place version <code>mul!</code>. Linear algebra functions that use duck-typing for their arguments can handle <code>LinearMap</code> objects similar to <code>AbstractMatrix</code> objects, provided that they can be written using the above methods. Unlike <code>AbstractMatrix</code> types, <code>LinearMap</code> objects cannot be indexed, neither using <code>getindex</code> or <code>setindex!</code>.</p></li><li><p>A single function <code>LinearMap</code> that acts as a general purpose constructor (though it is only an abstract type) and allows to construct linear map objects from functions, or to wrap objects of type <code>AbstractMatrix</code> or <code>LinearMap</code>. The latter functionality is useful to (re)define the properties (<code>isreal</code>, <code>issymmetric</code>, <code>ishermitian</code>, <code>isposdef</code>) of the existing matrix or linear map.</p></li><li><p>A framework for combining objects of type <code>LinearMap</code> and of type <code>AbstractMatrix</code> using linear combinations, transposition, composition, concatenation and Kronecker product/sums, where the linear map resulting from these operations is never explicitly evaluated but only its matrix-vector product is defined (i.e. lazy evaluation). The matrix-vector product is written to minimize memory allocation by using a minimal number of temporary vectors. There is full support for the in-place version <code>mul!</code>, which should be preferred for higher efficiency in critical algorithms. In addition, it tries to recognize the properties of combinations of linear maps. In particular, compositions such as <code>A&#39;*A</code> for arbitrary <code>A</code> or even <code>A&#39;*B*C*B&#39;*A</code> with arbitrary <code>A</code> and <code>B</code> and positive definite <code>C</code> are recognized as being positive definite and hermitian. In case a certain property of the resulting <code>LinearMap</code> object is not correctly inferred, the <code>LinearMap</code> method can be called to redefine the properties.</p></li></ol></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="history/">Version history »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.1.0 on <span class="colophon-date" title="Tuesday 3 October 2023 19:55">Tuesday 3 October 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 53ec28c

Please sign in to comment.