Click or drag to resize

NewtonRaphsonMultivariableFunctionSolverMultithreaded Property

Gets or sets a value indicating whether this solver should evaluate an iteration with as many threads as the current threading policy facet will allow, or with as many Variables as there are in the function plus 1; whichever is less. By default this is .

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 20.2.404.0 (20.2.404.0)
Syntax
public override bool Multithreaded { get; set; }

Property Value

Type: Boolean
Remarks

There are some situations where the multithreaded algorithm will be slower than the single threaded. Multi-threaded may be slower if the time it takes to compute the function is fast when compared to the overhead of setting up the threads, or if the overall solver will converge to a solution in very few iterations and there are many variables relative to the number of threads.

The specific algorithm you implement may fundamentally be single threaded. In that case it is acceptable to ignore this property.

See Also