File tree Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -10,23 +10,35 @@ namespace CSparse.Factorization
10
10
public abstract class SparseQR < T > : ISparseFactorization < T >
11
11
where T : struct , IEquatable < T > , IFormattable
12
12
{
13
- protected readonly int m , n ;
13
+ /// <summary>number of rows</summary>
14
+ protected readonly int m ;
14
15
16
+ /// <summary>number of columns</summary>
17
+ protected readonly int n ;
18
+
19
+ /// <summary>symbolic factorization</summary>
15
20
protected SymbolicFactorization S ;
16
- protected CompressedColumnStorage < T > Q , R ;
21
+
22
+ /// <summary>Q factor</summary>
23
+ protected CompressedColumnStorage < T > Q ;
24
+
25
+ /// <summary>R factor</summary>
26
+ protected CompressedColumnStorage < T > R ;
27
+
28
+ /// <summary>factors for Householder reflection</summary>
17
29
protected double [ ] beta ;
18
30
19
31
/// <summary>
20
32
/// Initializes a new instance of the SparseQR class.
21
33
/// </summary>
22
34
protected SparseQR ( int rows , int columns )
23
35
{
24
- this . m = rows ;
25
- this . n = columns ;
36
+ m = rows ;
37
+ n = columns ;
26
38
}
27
39
28
40
/// <summary>
29
- /// Gets the number of nonzeros in both Q and R factors together.
41
+ /// Gets the number of non-zeros in both Q and R factors together.
30
42
/// </summary>
31
43
public int NonZerosCount
32
44
{
Original file line number Diff line number Diff line change @@ -31,17 +31,17 @@ public class SymbolicFactorization
31
31
public int [ ] leftmost ;
32
32
33
33
/// <summary>
34
- /// # of rows for QR, after adding fictitious rows
34
+ /// number of rows for QR, after adding fictitious rows
35
35
/// </summary>
36
36
public int m2 ;
37
37
38
38
/// <summary>
39
- /// # entries in L for LU or Cholesky; in V for QR
39
+ /// number of entries in L for LU or Cholesky; in V for QR
40
40
/// </summary>
41
41
public int lnz ;
42
42
43
43
/// <summary>
44
- /// # entries in U for LU; in R for QR
44
+ /// number of entries in U for LU; in R for QR
45
45
/// </summary>
46
46
public int unz ;
47
47
}
You can’t perform that action at this time.
0 commit comments