# How can I use octave function minimizers in c++? [closed]

I have downloaded and built octave library and it works fine . But I cannot call function minimizers like fminunc() , fmingc() etc to minimize my functions for performing logistic regression or using it in neural networks . Can these functions be accessed from c++ ? If yes, then how ?

• What is the "octave library" you have downloaded and built? Do you mean the octave application or something else? Have you looked at the documentation, specifically ".oct" files which let you link C++ into Octave, and let you call Octave native functions from C++? Are you trying to write a standalone C++ application? Or what? Can you show us some sample code? – Spacedman Nov 14 '16 at 11:44