Skip to content

Commit 08ac035

Browse files
committed
headers
1 parent d853232 commit 08ac035

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/implementations/orthnull.jl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Orthogonalization
2-
# -----------------
1+
# Inputs
2+
# ------
33
copy_input(::typeof(left_orth), A) = copy_input(qr_compact, A) # do we ever need anything else
44
copy_input(::typeof(right_orth), A) = copy_input(lq_compact, A) # do we ever need anything else
55
copy_input(::typeof(left_null), A) = copy_input(qr_null, A) # do we ever need anything else
@@ -35,7 +35,8 @@ check_input(::typeof(right_null_lq!), A, Nᴴ, alg::AbstractAlgorithm) =
3535
check_input(lq_null!, A, Nᴴ, alg)
3636
check_input(::typeof(right_null_svd!), A, Nᴴ, alg::AbstractAlgorithm) = nothing
3737

38-
38+
# Outputs
39+
# -------
3940
initialize_output(::typeof(left_orth!), A, alg::AbstractAlgorithm) =
4041
initialize_output(left_orth_kind(alg), A, alg)
4142
initialize_output(::typeof(left_orth_qr!), A, alg::AbstractAlgorithm) =
@@ -66,8 +67,6 @@ initialize_output(::typeof(right_null_lq!), A, alg::AbstractAlgorithm) =
6667
initialize_output(lq_null!, A, alg)
6768
initialize_output(::typeof(right_null_svd!), A, alg::AbstractAlgorithm) = nothing
6869

69-
# Outputs
70-
# -------
7170
function initialize_orth_svd(A::AbstractMatrix, F, alg)
7271
S = Diagonal(initialize_output(svd_vals!, A, alg))
7372
return F[1], S, F[2]

0 commit comments

Comments
 (0)