FANN C# DataAccessor double

Summary
FANN C# DataAccessor double
DataAccessorProvides fast access to an array of doubles
Functions and Properties
DisposeDestructs the accessor.
Item
GetEnumeratorReturns an enumerator that can enumerate over the collection of ints
ArrayCopies the Accessor’s values to an array
CountThe number of doubles this object holds

DataAccessor

Provides fast access to an array of doubles

Inherits from IAccessor when compiled with a target below .NET 4.5 (which is the default for the most compatibility).  Inherits from IReadOnlyList when compiled with at or above .NET 4.5 to allow the user to take advantage of the multitude of extension methods on IReadOnlyList.

Summary
Functions and Properties
DisposeDestructs the accessor.
Item
GetEnumeratorReturns an enumerator that can enumerate over the collection of ints
ArrayCopies the Accessor’s values to an array
CountThe number of doubles this object holds

Functions and Properties

Dispose

Destructs the accessor.  Must be called manually.

Item

Parameters

indexThe index of the element to return

Return

A double at index

GetEnumerator

Returns an enumerator that can enumerate over the collection of ints

Array

Copies the Accessor’s values to an array

Return

An array with all of the accessor’s values

Count

The number of doubles this object holds

Close