Jounce / Surge

A Swift library that uses the Accelerate framework to provide high-performance functions for matrix math, digital signal processing, and image manipulation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to read the results of "eigenDecompose"

chickweed01 opened this issue · comments

Hello.

I am able to get results back from a call to eigenDecompose and view the components of MatrixEigenDecompositionResult using a print statement .

However, when I attempt to read the eigenValues in code using something like ed.eigenValues I get the following in XCode "'eigenValues' is inaccessible due to 'internal' protection level".

How can I get the values in the eigenValues array? Thank you.

The Surge library is fantastic!

Hi @chickweed01, thanks for getting in touch!

It does indeed look to me like those should have been marked as public.
I have created a PR and pinged the initial contributor of said code: https://github.com/mattt/Surge/pull/132

Stay tuned for v2.3! 🙂

(Until then you might want to pin Surge to 8af8d18, while developing.)