Vector's with TinyCLR?

I am trying to port some Arduino compass code and it uses the vector library. Does TinyCLR have anything similar?

Not built in, no.

ArrayList wont work?

Just guessing based on the fact that we’re talking compass code, but I suspect he means ‘vectors’ in the mathematical sense, and not the collection-of-data sense.

1 Like

Vectors == matrixes

Oh! Ha, duh.

I wonder if GLMSharp would work: GitHub - Philip-Trettner/GlmSharp: Open-source semi-generated GLM-flavored math library for .NET/C#

It seems to need generics, which are missing from TinyCLR for performance reasons