For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

how enter fuction i multiple equation?

Anonymous's picture
Forums: 

Dear Sir!

I would like to know how do i enter multiple fuction in math_FuctionSetRoot.

That is : In math_FunctionSetRoot (math_FunctionSetWithDerivatives& F, const math_Vector& StartingPoint, const math_Vector& Tolerance, const Standard_Integer NbIterations = 100);

I have to enter multiple fuctions in math_FunctionSetWithDerivatives& F of argument in math_FunctionSetRoot.

But in Sample, The content describe only single fuction.

But I have to enter multiple fuction.

I would like to know how do i enter mulple fuction. Please send me how do i?

Please send me sample source.

Thanks in advanced.

Best Regards.

Igor Feoktistov's picture

Hi,

sorry I don't have simple sample source. You can have a look, for example on file Extrema_FunctExtSS.cxx. This class inherits FunctionSetWithDerivatives and provides calculations for 4 equations with 4 variables.

Generally, you must write methods Value(X, F) that computes vector F - values for each your equations for given vector X, Derivatives(X,D) and so on.

Best regards

Igor

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.