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
struct DataContainer{FT <: Real}
#stored data, each piece of data is a column [data dimension × number samples]
stored_data::AbstractMatrix{FT}
#constructor with 2D arrays
function DataContainer(stored_data::AbstractMatrix{FT}; data_are_columns = true) where {FT <: Real}
if data_are_columns
new{FT}(stored_data)
else
new{FT}(permutedims(stored_data, (2, 1)))
end
end
end
We currently have
The behavior for this struct is as follows,
The text was updated successfully, but these errors were encountered: