Class NpzDictionary
Lazily-loaded collection of arrays from a compressed .npz archive.
Implements
IReadOnlyDictionary<System.String, Array>
ICollection<Array>
Inherited Members
Namespace: ISynergy.Framework.Mathematics.IO.NumPy
Assembly: ISynergy.Framework.Mathematics.dll
Syntax
public class NpzDictionary : NpzDictionary<Array>
Constructors
View SourceNpzDictionary(Stream, Boolean)
Initializes a new instance of the NpzDictionary<T> class.
Declaration
public NpzDictionary(Stream stream, bool jagged)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream from where the arrays should be loaded from. |
System.Boolean | jagged | Pass true to deserialize matrices as jagged matrices. Pass false to deserialize them as multi-dimensional matrices. |
Methods
View SourceLoad(Stream)
Loads the array from the specified stream.
Declaration
protected override Array Load(Stream s)
Parameters
Type | Name | Description |
---|---|---|
Stream | s |
Returns
Type | Description |
---|---|
Array |
Overrides
ISynergy.Framework.Mathematics.IO.NumPy.NpzDictionary<Array>.Load(Stream)
Implements
IReadOnlyDictionary<, >
ICollection<>
Extension Methods
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)