Skip to content

Commit 148d2ae

Browse files
authored
Fix docs and update docs manifest (#75)
1 parent 458b5d6 commit 148d2ae

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

docs/Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
44
Quaternions = "94ee1d12-ae83-5a48-8b1c-48b8ff168ae0"
55

66
[compat]
7-
Documenter = "~0.21"
7+
Documenter = "0.26"
8+
Quaternions = "0.4"

docs/make.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
using Documenter
22
using GenericLinearAlgebra
33

4+
DocMeta.setdocmeta!(GenericLinearAlgebra, :DocTestSetup, :(using GenericLinearAlgebra, LinearAlgebra); recursive=true)
5+
46
makedocs(
57
sitename = "GenericLinearAlgebra",
68
format = Documenter.HTML(),

src/svd.jl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,20 @@ A generic singular value decomposition (SVD). The implementation only uses Julia
515515
# Example
516516
517517
```jldoctest
518+
julia> svd(big.([1 2; 3 4]))
519+
SVD{BigFloat, BigFloat, Matrix{BigFloat}}
520+
U factor:
521+
2×2 Matrix{BigFloat}:
522+
-0.404554 0.914514
523+
-0.914514 -0.404554
524+
singular values:
525+
2-element Vector{BigFloat}:
526+
5.464985704219042650451188493284182533042584640492784181017488774646871847029449
527+
0.3659661906262578204229643842614005434788136943931877734325179702209382149672422
528+
Vt factor:
529+
2×2 Matrix{BigFloat}:
530+
-0.576048 -0.817416
531+
-0.817416 0.576048
518532
```
519533
"""
520534
function LinearAlgebra.svd!(A::StridedMatrix{T};

0 commit comments

Comments
 (0)