Smart M.App discussions

Looking for answers in regards to M.Apps, M.App Exchange or M.App Studio? Smart M.App Tech Discussion board is where you can search, ask your questions and assist others by sharing your knowledge. Join the conversation, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Reply
Frequent Contributor
Posts: 103
Registered: ‎06-03-2016
Accepted Solution

Exploring algorithm development in Smart M.Apps

Hexagon,

 

As an instructive example, could you please implement the Fibonacci algorithm as a Spatial Recipe?

 

More generaly, I'm interested in how variables of type lists, matrices, and kernels are defined, initialized and updated (without the use of auxiliary products, e.g., ERDAS.IMAGINE, etc.). 

 

Regards

New Contributor
Posts: 3
Registered: ‎06-07-2016

Re: Exploring algorithm development in Smart M.Apps

[ Edited ]

Well, I was able to knock out Binet's formula pretty easily using Add/Subtract/Multiply/Divide/Sqrt/Power:

 

 

 

I don't reckon there's any way to do a recursive implementation directly in Spatial Workshop, but then the recursive definition isn't what you'd use practically anyway.

Frequent Contributor
Posts: 103
Registered: ‎06-03-2016

Re: Exploring algorithm development in Smart M.Apps

Awesome, thank you. Would you happen to know how variables of type lists, matrices, and kernels are defined, initialized and updated? 

 

Regards