Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x3domlet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Elphel
x3domlet
Commits
5f9cbdad
Commit
5f9cbdad
authored
Jul 25, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing reiteration
parent
68f03f5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
numbers.calculus.extra.js
js/numbers/numbers.calculus.extra.js
+13
-0
No files found.
js/numbers/numbers.calculus.extra.js
View file @
5f9cbdad
...
@@ -215,6 +215,9 @@ numbers.calculus.GaussNewton_forHeading = function(v,n,r,dr,eps,w){
...
@@ -215,6 +215,9 @@ numbers.calculus.GaussNewton_forHeading = function(v,n,r,dr,eps,w){
};
};
}
}
console
.
log
(
"V0:"
)
console
.
log
(
v0
)
while
(
!
stop
){
while
(
!
stop
){
counter
++
counter
++
...
@@ -233,6 +236,9 @@ numbers.calculus.GaussNewton_forHeading = function(v,n,r,dr,eps,w){
...
@@ -233,6 +236,9 @@ numbers.calculus.GaussNewton_forHeading = function(v,n,r,dr,eps,w){
diff
.
push
(
r
(
i
,
v1
)
-
r
(
i
,
v0
))
diff
.
push
(
r
(
i
,
v1
)
-
r
(
i
,
v0
))
}
}
console
.
log
(
"V1:"
)
console
.
log
(
v1
)
console
.
log
(
"residuals old:"
)
console
.
log
(
"residuals old:"
)
console
.
log
(
rs0
)
console
.
log
(
rs0
)
console
.
log
(
"residuals new:"
)
console
.
log
(
"residuals new:"
)
...
@@ -255,9 +261,16 @@ numbers.calculus.GaussNewton_forHeading = function(v,n,r,dr,eps,w){
...
@@ -255,9 +261,16 @@ numbers.calculus.GaussNewton_forHeading = function(v,n,r,dr,eps,w){
}
}
if
(
sscale
!=
0
){
if
(
sscale
!=
0
){
console
.
log
(
"SCALE = "
+
sscale
)
for
(
var
i
=
0
;
i
<
n
;
i
++
){
for
(
var
i
=
0
;
i
<
n
;
i
++
){
v1
[
i
]
=
v0
[
i
]
+
diff
[
i
]
*
sscale
v1
[
i
]
=
v0
[
i
]
+
diff
[
i
]
*
sscale
}
}
console
.
log
(
"Corrected V1:"
)
console
.
log
(
v1
)
}
}
var
s0
=
sigma
(
v0
,
n
,
r
)
var
s0
=
sigma
(
v0
,
n
,
r
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment