NpzDictionary(T) Class
Click or drag to resize
Accord.NET (logo)

NpzDictionaryT Class

Lazily-loaded collection of arrays from a compressed .npz archive.
Inheritance Hierarchy
SystemObject
  Accord.IONpzDictionaryT
    Accord.IONpzDictionary

Namespace:  Accord.IO
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public class NpzDictionary<T> : IDisposable, 
	IEnumerable
where T : class, ICloneable, IList, ICollection, IEnumerable, IStructuralComparable, IStructuralEquatable
Request Example View Source

Type Parameters

T
The type of the arrays to be loaded.

The NpzDictionaryT type exposes the following members.

Constructors
  NameDescription
Public methodNpzDictionaryT
Initializes a new instance of the NpzDictionaryT class.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements in the collection.
Public propertyIsReadOnly
Gets a value indicating whether the ICollectionT is read-only.
Public propertyIsSynchronized
Gets a value indicating whether the access to collection is synchronized (thread-safe).
Public propertyItem
Gets the array stored under the given key.
Public propertyKeys
Gets an enumerable collection that contains the keys in the read-only dictionary.
Public propertySyncRoot
Gets an object that can be used to synchronize access to the collection.
Public propertyValues
Gets an enumerable collection that contains the values in the read-only dictionary.
Top
Methods
  NameDescription
Public methodAdd
Throws a ReadOnlyException.
Public methodClear
Throws a ReadOnlyException.
Public methodContains
Determines whether the ICollectionT contains a specific value.
Public methodContainsKey
Determines whether the read-only dictionary contains an element that has the specified key.
Public methodCopyTo(Array, Int32)
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
Public methodCopyTo(T, Int32)
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodLoad
Loads the array from the specified stream.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Throws a ReadOnlyException.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value that is associated with the specified key.
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodSetEqualsKeyValuePairString, T(IEnumerableKeyValuePairString, T)Overloaded.
Compares two enumerables for set equality. Two enumerables are set equal if they contain the same elements, but not necessarily in the same order.
(Defined by Matrix.)
Public Extension MethodSetEqualsT(IEnumerableT)Overloaded. (Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also