FANN C# DataAccessor float

Summary
FANN C# DataAccessor float
DataAccessorProvides fast access to an array of floats
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 floats this object holds

DataAccessor

Provides fast access to an array of floats

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 floats 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 float 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 floats this object holds

Close