You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/representations/abstractmatrixrepresentation.jl
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
"""
2
2
AbstractMatrixRepresentation{T,U}
3
3
4
-
An abstrac type encoding a generic matricial representation of the links and metadata of a multilayer graph.
4
+
An abstract type encoding a generic matrix representation of the links and metadata of a multilayer graph.
5
5
6
6
Concrete subtypes must have an `array` field (a matrix of eltype U) and a `v_V_associations` (a `Bijection{T, Union{MissingVertex, MultilayerVertex}}`).
7
7
8
8
# PARAMETRIC TYPES
9
9
10
-
- `T`: the type of the internal represrntation of vertices;
11
-
- `U`: the weight type of the multilayer graph;
10
+
- `T`: the type of the internal representation of vertices;
11
+
- `U`: the weight type of the multilayer graph.
12
12
"""
13
13
abstract type AbstractMatrixRepresentation end
14
14
@@ -32,7 +32,6 @@ function Base.getindex(amr::AbstractMatrixRepresentation, src_tup::Tuple{String,
Copy file name to clipboardExpand all lines: src/representations/abstracttensorrepresentation.jl
+13-7Lines changed: 13 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
"""
2
2
AbstractTensorRepresentation{U}
3
3
4
-
An abstrac type encoding a generic tensorial representation of the links and metadata of a multilayer graph.
4
+
An abstract type encoding a generic tensorial representation of the links and metadata of a multilayer graph.
5
5
6
-
Concrete subtypes must have an `array` field (a 4-dimaensional tensor of eltype U, indexes as [source_node_idx, destination_node_idx, source_layer_idx, destination_layer_idx ]), a .
6
+
Concrete subtypes must have an `array` field (a 4-dimensional tensor of eltype U, indexes as [source_node_idx, destination_node_idx, source_layer_idx, destination_layer_idx ]).
7
7
8
8
# PARAMETRIC TYPES
9
9
10
-
- `U`: the weight type of the multilayer graph;
10
+
- `U`: the weight type of the multilayer graph.
11
11
"""
12
12
abstract type AbstractTensorRepresentation end
13
13
@@ -16,25 +16,31 @@ abstract type AbstractTensorRepresentation end
0 commit comments