Open C++ Libraries: Solver Example.

Published July 3, 2026

Example Usage:

An example of usage for the Work In Progress solver is:

	ocl::scientific::ineq_solver_two solver_ineq;
	std::cout << solver_ineq(ocl::scientific::div(2, sqrt_two), {ocl::scientific::div(2, sqrt_two)}) << std::endl;
	std::cout << solver_ineq(5, {ocl::scientific::div(2, sqrt_two)}) << std::endl;

One may adapt this according to its needs, but the current form won't solve what you think it will.

Ideas:

I am planning to make it solve form such as: