Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eicd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
eicd
Merge requests
!57
Draft: Resolve "Provide constructor for eic::VectorXYZT from dd4pod::VectorXYZ and double"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Closed
Draft: Resolve "Provide constructor for eic::VectorXYZT from dd4pod::VectorXYZ and double"
18-provide-constructor-for-eic-vectorxyzt-from-dd4pod-vectorxyz-and-double
into
master
Overview
1
Commits
1
Pipelines
1
Changes
1
Closed
Draft: Resolve "Provide constructor for eic::VectorXYZT from dd4pod::VectorXYZ and double"
Wouter Deconinck
requested to merge
18-provide-constructor-for-eic-vectorxyzt-from-dd4pod-vectorxyz-and-double
into
master
Oct 11, 2021
Overview
1
Commits
1
Pipelines
1
Changes
1
Closes
#18
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
4475e6bb
1 commit,
Oct 11, 2021
1 file
+
1
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
eic_data.yaml
+
1
−
0
View file @ 4475e6bb
Edit in single-file editor
Open in Web IDE
Show full file
@@ -172,6 +172,7 @@ components:
@@ -172,6 +172,7 @@ components:
declaration
:
"
declaration
:
"
VectorXYZT()
:
x{0},
y{0},
z{0},
t{0}
{}
\n
VectorXYZT()
:
x{0},
y{0},
z{0},
t{0}
{}
\n
VectorXYZT(double
xx,
double
yy,
double
zz,
double
tt)
:
x{xx},
y{yy},
z{zz},
t{tt}
{}
\n
VectorXYZT(double
xx,
double
yy,
double
zz,
double
tt)
:
x{xx},
y{yy},
z{zz},
t{tt}
{}
\n
VectorXYZT(const
VectorXYZ&
rr,
double
tt):
x{rr.x},
y{rr.y},
z{rr.},
t{tt}
{}
\n
double&
operator[](unsigned
i)
{return
*(&x
+
i);}
\n
double&
operator[](unsigned
i)
{return
*(&x
+
i);}
\n
const
double&
operator[](unsigned
i)
const
{return
*(&x
+
i);}
\n
const
double&
operator[](unsigned
i)
const
{return
*(&x
+
i);}
\n
double
mag()
const
{return
std::hypot(x,
y,
z);}
\n
double
mag()
const
{return
std::hypot(x,
y,
z);}
\n
Loading