Skip to content

Commit 57a7fc5

Browse files
authored
1 parent a56a3ab commit 57a7fc5

File tree

8 files changed

+53
-0
lines changed

8 files changed

+53
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Manifest.toml
2+
docs/build/

.travis.yml

+11
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,14 @@ matrix:
1414

1515
after_success:
1616
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())';
17+
18+
jobs:
19+
include:
20+
- stage: "Documentation"
21+
julia: 1.0
22+
os: linux
23+
script:
24+
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
25+
Pkg.instantiate()'
26+
- julia --project=docs/ docs/make.jl
27+
after_success: skip

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
[![Build Status](https://travis-ci.org/JuliaLinearAlgebra/GenericLinearAlgebra.jl.svg?branch=master)](https://travis-ci.org/JuliaLinearAlgebra/GenericLinearAlgebra.jl)
33
[![Build Status](https://dev.azure.com/andreasnoack/GenericLinearAlgebra/_apis/build/status/andreasnoack.GenericLinearAlgebra.jl?branchName=master)](https://dev.azure.com/andreasnoack/GenericLinearAlgebra/_build/latest?definitionId=2)
44
[![Coverage Status](https://coveralls.io/repos/github/JuliaLinearAlgebra/GenericLinearAlgebra.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/JuliaLinearAlgebra/GenericLinearAlgebra.jl?branch=master)
5+
[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://JuliaLinearAlgebra.github.io/GenericLinearAlgebra.jl/stable)
56

67
### A fresh approach to numerical linear algebra in Julia
78

docs/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build/
2+
site/

docs/Project.toml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[deps]
2+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
4+
[compat]
5+
Documenter = "~0.21"

docs/make.jl

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using Documenter
2+
using GenericLinearAlgebra
3+
4+
makedocs(
5+
sitename = "GenericLinearAlgebra",
6+
format = Documenter.HTML(),
7+
modules = [GenericLinearAlgebra]
8+
)
9+
10+
# Documenter can also automatically deploy documentation to gh-pages.
11+
# See "Hosting Documentation" and deploydocs() in the Documenter manual
12+
# for more information.
13+
deploydocs(
14+
repo = "https://github.com/JuliaLinearAlgebra/GenericLinearAlgebra.jl.git"
15+
)

docs/src/index.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# GenericLinearAlgebra.jl
2+
3+
Documentation for GenericLinearAlgebra.jl
4+
5+
```@meta
6+
CurrentModule = GenericLinearAlgebra
7+
```
8+
9+
```@docs
10+
svd!
11+
```

src/svd.jl

+6
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,12 @@ end
434434

435435
# FixMe! The full keyword is redundant for Bidiagonal and should be removed from Base
436436
LinearAlgebra.svd!(B::Bidiagonal{T}; tol = eps(T), full = false, debug = false) where T<:Real = _svd!(B, tol = tol, debug = debug)
437+
438+
"""
439+
svd!
440+
441+
A generic SVD implementation.
442+
"""
437443
function LinearAlgebra.svd!(A::StridedMatrix{T}; tol = eps(real(eltype(A))), full = false, debug = false) where T
438444

439445
m, n = size(A)

0 commit comments

Comments
 (0)