Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
juobs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Javier Ugarrio
juobs
Commits
433cecee
Commit
433cecee
authored
1 year ago
by
Alessandro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ForwardDiff added
parent
a616f450
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
779 additions
and
605 deletions
+779
-605
Manifest.toml
Manifest.toml
+776
-603
Project.toml
Project.toml
+1
-0
src/juobs_linalg.jl
src/juobs_linalg.jl
+2
-2
No files found.
Manifest.toml
View file @
433cecee
This diff is collapsed.
Click to expand it.
Project.toml
View file @
433cecee
...
...
@@ -6,6 +6,7 @@ version = "0.1.0"
[deps]
ADerrors
=
"5e92007d-7bf1-471c-8ceb-4591b8b567a9"
BDIO
=
"375f315e-f2c4-11e9-2ef9-134f02f79e27"
ForwardDiff
=
"f6369f11-7733-5829-9624-2563aa707210"
LaTeXStrings
=
"b964fa9f-0449-5b57-a5c2-d3ea65f4040f"
LinearAlgebra
=
"37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
LsqFit
=
"2fda8390-95c7-5789-9bda-21331edee243"
...
...
This diff is collapsed.
Click to expand it.
src/juobs_linalg.jl
View file @
433cecee
...
...
@@ -62,7 +62,7 @@ function get_matrix(corr_diag::Vector{Vector{uwreal}}, corr_upper::Vector{Vector
if
d
!=
(
n
*
(
n
-
1
)
/
2
)
error
(
"Error get_matrix"
)
end
res
=
Vector
{
Matrix
}(
undef
,
time
)
# array with all the matrices at each time step.
res
=
Vector
{
Matrix
{
uwreal
}
}(
undef
,
time
)
# array with all the matrices at each time step.
aux
=
Matrix
{
uwreal
}(
undef
,
n
,
n
)
for
t
in
1
:
time
count
=
0
...
...
@@ -281,7 +281,7 @@ mat_array = get_matrix(diag, upper_diag)
evecs = getall_eigvecs(mat_array, 5)
```
"""
function
getall_eigvecs
(
a
::
Vector
{
Matrix
},
delta_t
;
iter
=
5
)
function
getall_eigvecs
(
a
::
Vector
{
Matrix
{
uwreal
}
},
delta_t
;
iter
=
5
)
n
=
length
(
a
)
-
delta_t
res
=
Vector
{
Matrix
{
uwreal
}}(
undef
,
n
)
[
res
[
i
]
=
uweigvecs
(
a
[
i
+
delta_t
],
a
[
i
])
for
i
=
1
:
n
]
...
...
This diff is collapsed.
Click to expand it.
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