Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitry Yu. Naumov
ogs
Commits
c1acfe66
Commit
c1acfe66
authored
3 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[MaL] Constify ctor args, format docu.
parent
367109c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MathLib/LinAlg/Eigen/EigenMatrix.h
+6
-6
6 additions, 6 deletions
MathLib/LinAlg/Eigen/EigenMatrix.h
with
6 additions
and
6 deletions
MathLib/LinAlg/Eigen/EigenMatrix.h
+
6
−
6
View file @
c1acfe66
...
...
@@ -34,12 +34,12 @@ public:
// TODO The matrix constructor should take num_rows and num_cols as
// arguments
// that is left for a later refactoring.
/**
* constructor
*
@param n
the number of rows (that is equal to the number of columns)
* @param n_nonzero_columns the number of non-zero columns used for
preallocation
*/
explicit
EigenMatrix
(
IndexType
n
,
IndexType
n_nonzero_columns
=
0
)
/// @param n the number of rows (that is equal to the number of columns).
///
@param n
_nonzero_columns the number of non-zero columns used for
///
preallocation
.
explicit
EigenMatrix
(
IndexType
const
n
,
IndexType
const
n_nonzero_columns
=
0
)
:
mat_
(
n
,
n
)
{
if
(
n_nonzero_columns
>
0
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment