File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11"""
22Matrix whose columns are indexed by an integer.
33"""
4- mutable struct PackedCSC{K,T<: Real }
4+ mutable struct PackedCSC{K,T}
55 nb_partitions:: Int
66 semaphores:: Vector{Union{Nothing, Int}} # pos of the semaphore in the pma
77 # nb_elements_in_partition::Vector{Int} # nb elements after each semaphore
1111"""
1212Matrix
1313"""
14- mutable struct MappedPackedCSC{K,L,T<: Real }
14+ mutable struct MappedPackedCSC{K,L,T}
1515 col_keys:: Vector{Union{Nothing, L}} # the position of the key is the position of the column
1616 pcsc:: PackedCSC{K,T}
1717end
Original file line number Diff line number Diff line change 11# We can get only a column of the dynamic matrix.
22# Only usefull to iterate on a column of the dynamic matrix
3- struct DynamicMatrixColView{K,L,T<: Real }
3+ struct DynamicMatrixColView{K,L,T}
44 mpcsc:: MappedPackedCSC{K,L,T}
55 col_key:: L
66 partition:: Int
You can’t perform that action at this time.
0 commit comments