October 11th, 2013, 11:33 am
QuoteOriginally posted by: CuchulainnQuoteOriginally posted by: outrunQuoteOriginally posted by: CuchulainnQuoteOriginally posted by: CuchulainnEven simpler (001)Take f(x) and g(t) as given functions.Form HOF H(x,t) == f(x)*g(t).Again. That's the question!You roal is still not clear. What functionality are you missing by declaring?double HOF(double x, double t) { return f(x)*g(t); }Nope. Your function is not HOF. I want HOF as return type after which I will instantiate. Like hereQuoteIn computer science, a programming language is said to have first-class functions if it treats functions as first-class citizens. Specifically, this means the language supports passing functions as arguments to other functions, returning them as the values from other functions, and assigning them to variables or storing them in data structures.[1] Some programming language theorists require support for anonymous functions as well.[2] In languages with first-class functions, the names of functions do not have any special status; they are treated like ordinary variables with a function type.[3] The term was coined by Christopher Strachey in the context of ?functions as first-class citizens? in the mid-1960s.[4] can you make a drawing, for me? it looks interesting, but still not very clear what are you looking for.I have a project in mind and this could be useful, some tensor treatmente
°°° About ExSan bit.ly/3U5bIdq °°°