Skip to content

Commit 3307c35

Browse files
committed
Improved docs
1 parent eb7c870 commit 3307c35

File tree

7 files changed

+45
-32
lines changed

7 files changed

+45
-32
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "LinearAlgebraX"
22
uuid = "9b3f67b0-2d00-526e-9884-9e4938f8fb88"
3-
version = "0.2.8"
3+
version = "0.2.9"
44

55
[deps]
66
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ For exact types (such as `Int`s) these functions give exact results.
2929
* `char_poly` -- characteristic polynomial
3030
* `permanent` -- permanent of a square matrix
3131

32-
## Examples
32+
Examples follow.
3333

34-
### Determinant
34+
## Determinant
3535

3636
```
3737
julia> A = ones(Int,10,10)+eye(Int,10);
3838
3939
julia> det(A)
40-
11.000000000000004
40+
10.999999999999998
4141
4242
julia> detx(A)
4343
11
@@ -75,7 +75,7 @@ Mod{10}(4)
7575

7676

7777

78-
### Nullspace
78+
## Nullspace
7979

8080
```
8181
julia> A = reshape(collect(1:12),3,4)
@@ -99,7 +99,7 @@ julia> nullspace(A)
9999
-0.519821 0.172585
100100
```
101101

102-
### Rank
102+
## Rank
103103

104104
Consider the 12-by-12 Hibert matrix, `H` (see `hilbert.jl` in the `extras` folder):
105105
```
@@ -127,7 +127,7 @@ julia> rankx(H)
127127
12
128128
```
129129

130-
### Inverse
130+
## Inverse
131131

132132
```
133133
julia> using Mods
@@ -157,7 +157,7 @@ julia> A*B
157157
Mod{11}(0) Mod{11}(0) Mod{11}(0) Mod{11}(0) Mod{11}(1)
158158
```
159159

160-
### Characteristic polynomial
160+
## Characteristic polynomial
161161

162162
```
163163
julia> using SimplePolynomials, LinearAlgebra
@@ -195,7 +195,7 @@ julia> detx(A)
195195
Mod{17}(1)
196196
```
197197

198-
### Row reduced echelon form
198+
## Row reduced echelon form
199199

200200
```
201201
julia> A = rand(Int,4,6) .% 10
@@ -265,7 +265,7 @@ julia> Vector(v)
265265
```
266266
However, entries cannot be assigned:
267267
```
268-
ulia> v[2] = 3//4
268+
julia> v[2] = 3//4
269269
ERROR: MethodError: no method matching setindex!(::HVector{Rational{Int64}}, ::Rational{Int64}, ::Int64)
270270
```
271271

@@ -332,5 +332,5 @@ julia> Matrix(ans)
332332
0//1 4//3 -1//1
333333
-1//3 -4//3 2//3
334334
-1//1 0//1 1//1
335-
```
335+
```
336336

docs/build/.documenter-siteinfo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-08-25T16:14:53","documenter_version":"1.5.0"}}
1+
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-08-30T07:38:13","documenter_version":"1.5.0"}}

docs/build/index.html

Lines changed: 22 additions & 9 deletions
Large diffs are not rendered by default.

docs/build/objects.inv

-8 Bytes
Binary file not shown.

docs/build/search_index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/src/index.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ For exact types (such as `Int`s) these functions give exact results.
2929
* `char_poly` -- characteristic polynomial
3030
* `permanent` -- permanent of a square matrix
3131

32-
## Examples
32+
Examples follow.
3333

34-
### Determinant
34+
## Determinant
3535

3636
```
3737
julia> A = ones(Int,10,10)+eye(Int,10);
3838
3939
julia> det(A)
40-
11.000000000000004
40+
10.999999999999998
4141
4242
julia> detx(A)
4343
11
@@ -75,7 +75,7 @@ Mod{10}(4)
7575

7676

7777

78-
### Nullspace
78+
## Nullspace
7979

8080
```
8181
julia> A = reshape(collect(1:12),3,4)
@@ -99,7 +99,7 @@ julia> nullspace(A)
9999
-0.519821 0.172585
100100
```
101101

102-
### Rank
102+
## Rank
103103

104104
Consider the 12-by-12 Hibert matrix, `H` (see `hilbert.jl` in the `extras` folder):
105105
```
@@ -127,7 +127,7 @@ julia> rankx(H)
127127
12
128128
```
129129

130-
### Inverse
130+
## Inverse
131131

132132
```
133133
julia> using Mods
@@ -157,7 +157,7 @@ julia> A*B
157157
Mod{11}(0) Mod{11}(0) Mod{11}(0) Mod{11}(0) Mod{11}(1)
158158
```
159159

160-
### Characteristic polynomial
160+
## Characteristic polynomial
161161

162162
```
163163
julia> using SimplePolynomials, LinearAlgebra
@@ -195,7 +195,7 @@ julia> detx(A)
195195
Mod{17}(1)
196196
```
197197

198-
### Row reduced echelon form
198+
## Row reduced echelon form
199199

200200
```
201201
julia> A = rand(Int,4,6) .% 10
@@ -265,7 +265,7 @@ julia> Vector(v)
265265
```
266266
However, entries cannot be assigned:
267267
```
268-
ulia> v[2] = 3//4
268+
julia> v[2] = 3//4
269269
ERROR: MethodError: no method matching setindex!(::HVector{Rational{Int64}}, ::Rational{Int64}, ::Int64)
270270
```
271271

@@ -332,5 +332,5 @@ julia> Matrix(ans)
332332
0//1 4//3 -1//1
333333
-1//3 -4//3 2//3
334334
-1//1 0//1 1//1
335-
```
335+
```
336336

0 commit comments

Comments
 (0)