arrayfire / arrayfire-dotnet

.NET wrapper for ArrayFire
BSD 3-Clause "New" or "Revised" License
78 stars 21 forks source link

Basic indexing support #6

Closed royalstream closed 8 years ago

royalstream commented 8 years ago

Summary:

The HelloWorld examples have a few new lines showing the indexing functionality for both C# and F#

Array.cs: has a new indexing operator [] Util.cs: new Seq() and Span members Data.cs: new Copy() method (which was missing)

Inside the Interop folder there's a new file (AFIndex.cs), enums.cs got renamed to types.cs and it has a new class (af_seq).

AutoGenTool changes can be pretty much ignored since they are only for development purposes (code/interop generation).

royalstream commented 8 years ago

I closed this PR to create a new one with some small code reorganizations.