ensmallen/2.19.1

ensmallen is a high quality C++ library for non-linear numerical optimization.
Recipe info
2023-10-17

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
ensmallen/2.19.1

Using ensmallen

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
ensmallen/2.19.1
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("ensmallen/2.19.1")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): ensmallen
  • CMake target name(s): ensmallen::ensmallen
  • pkg-config file name(s): ensmallen.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(ensmallen REQUIRED)
# ...
target_link_libraries(YOUR_TARGET ensmallen::ensmallen)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the ensmallen homepage listed above:

#include "ensmallen.hpp"
#include "ensmallen_bits/ada_belief/ada_belief.hpp"
#include "ensmallen_bits/ada_belief/ada_belief_impl.hpp"
#include "ensmallen_bits/ada_belief/ada_belief_update.hpp"
#include "ensmallen_bits/ada_bound/ada_bound.hpp"
#include "ensmallen_bits/ada_bound/ada_bound_impl.hpp"
#include "ensmallen_bits/ada_bound/ada_bound_update.hpp"
#include "ensmallen_bits/ada_bound/ams_bound_update.hpp"
#include "ensmallen_bits/ada_delta/ada_delta.hpp"
#include "ensmallen_bits/ada_delta/ada_delta_impl.hpp"
#include "ensmallen_bits/ada_delta/ada_delta_update.hpp"
#include "ensmallen_bits/ada_grad/ada_grad.hpp"
#include "ensmallen_bits/ada_grad/ada_grad_impl.hpp"
#include "ensmallen_bits/ada_grad/ada_grad_update.hpp"
#include "ensmallen_bits/ada_sqrt/ada_sqrt.hpp"
#include "ensmallen_bits/ada_sqrt/ada_sqrt_impl.hpp"
#include "ensmallen_bits/ada_sqrt/ada_sqrt_update.hpp"
#include "ensmallen_bits/adam/adam.hpp"
#include "ensmallen_bits/adam/adam_impl.hpp"
#include "ensmallen_bits/adam/adam_update.hpp"
#include "ensmallen_bits/adam/adamax_update.hpp"
#include "ensmallen_bits/adam/amsgrad_update.hpp"
#include "ensmallen_bits/adam/nadam_update.hpp"
#include "ensmallen_bits/adam/nadamax_update.hpp"
#include "ensmallen_bits/adam/optimisticadam_update.hpp"
#include "ensmallen_bits/aug_lagrangian/aug_lagrangian.hpp"
#include "ensmallen_bits/aug_lagrangian/aug_lagrangian_function.hpp"
#include "ensmallen_bits/aug_lagrangian/aug_lagrangian_function_impl.hpp"
#include "ensmallen_bits/aug_lagrangian/aug_lagrangian_impl.hpp"
#include "ensmallen_bits/bigbatch_sgd/adaptive_stepsize.hpp"
#include "ensmallen_bits/bigbatch_sgd/backtracking_line_search.hpp"
#include "ensmallen_bits/bigbatch_sgd/bigbatch_sgd.hpp"
#include "ensmallen_bits/bigbatch_sgd/bigbatch_sgd_impl.hpp"
#include "ensmallen_bits/callbacks/callbacks.hpp"
#include "ensmallen_bits/callbacks/early_stop_at_min_loss.hpp"
#include "ensmallen_bits/callbacks/grad_clip_by_norm.hpp"
#include "ensmallen_bits/callbacks/grad_clip_by_value.hpp"
#include "ensmallen_bits/callbacks/print_loss.hpp"
#include "ensmallen_bits/callbacks/progress_bar.hpp"
#include "ensmallen_bits/callbacks/query_front.hpp"
#include "ensmallen_bits/callbacks/report.hpp"
#include "ensmallen_bits/callbacks/store_best_coordinates.hpp"
#include "ensmallen_bits/callbacks/timer_stop.hpp"
#include "ensmallen_bits/callbacks/traits.hpp"
#include "ensmallen_bits/cmaes/cmaes.hpp"
#include "ensmallen_bits/cmaes/cmaes_impl.hpp"
#include "ensmallen_bits/cmaes/full_selection.hpp"
#include "ensmallen_bits/cmaes/random_selection.hpp"
#include "ensmallen_bits/cne/cne.hpp"
#include "ensmallen_bits/cne/cne_impl.hpp"
#include "ensmallen_bits/config.hpp"
#include "ensmallen_bits/de/de.hpp"
#include "ensmallen_bits/de/de_impl.hpp"
#include "ensmallen_bits/demon_adam/demon_adam.hpp"
#include "ensmallen_bits/demon_adam/demon_adam_update.hpp"
#include "ensmallen_bits/demon_sgd/demon_sgd.hpp"
#include "ensmallen_bits/demon_sgd/demon_sgd_update.hpp"
#include "ensmallen_bits/ens_version.hpp"
#include "ensmallen_bits/eve/eve.hpp"
#include "ensmallen_bits/eve/eve_impl.hpp"
#include "ensmallen_bits/ftml/ftml.hpp"
#include "ensmallen_bits/ftml/ftml_impl.hpp"
#include "ensmallen_bits/ftml/ftml_update.hpp"
#include "ensmallen_bits/function.hpp"
#include "ensmallen_bits/function/add_evaluate.hpp"
#include "ensmallen_bits/function/add_evaluate_with_gradient.hpp"
#include "ensmallen_bits/function/add_gradient.hpp"
#include "ensmallen_bits/function/add_separable_evaluate.hpp"
#include "ensmallen_bits/function/add_separable_evaluate_with_gradient.hpp"
#include "ensmallen_bits/function/add_separable_gradient.hpp"
#include "ensmallen_bits/function/arma_traits.hpp"
#include "ensmallen_bits/function/sfinae_utility.hpp"
#include "ensmallen_bits/function/static_checks.hpp"
#include "ensmallen_bits/function/traits.hpp"
#include "ensmallen_bits/fw/atoms.hpp"
#include "ensmallen_bits/fw/constr_lpball.hpp"
#include "ensmallen_bits/fw/constr_structure_group.hpp"
#include "ensmallen_bits/fw/frank_wolfe.hpp"
#include "ensmallen_bits/fw/frank_wolfe_impl.hpp"
#include "ensmallen_bits/fw/func_sq.hpp"
#include "ensmallen_bits/fw/line_search/line_search.hpp"
#include "ensmallen_bits/fw/line_search/line_search_impl.hpp"
#include "ensmallen_bits/fw/proximal/proximal.hpp"
#include "ensmallen_bits/fw/proximal/proximal_impl.hpp"
#include "ensmallen_bits/fw/update_classic.hpp"
#include "ensmallen_bits/fw/update_full_correction.hpp"
#include "ensmallen_bits/fw/update_linesearch.hpp"
#include "ensmallen_bits/fw/update_span.hpp"
#include "ensmallen_bits/gradient_descent/gradient_descent.hpp"
#include "ensmallen_bits/gradient_descent/gradient_descent_impl.hpp"
#include "ensmallen_bits/grid_search/grid_search.hpp"
#include "ensmallen_bits/grid_search/grid_search_impl.hpp"
#include "ensmallen_bits/iqn/iqn.hpp"
#include "ensmallen_bits/iqn/iqn_impl.hpp"
#include "ensmallen_bits/katyusha/katyusha.hpp"
#include "ensmallen_bits/katyusha/katyusha_impl.hpp"
#include "ensmallen_bits/lbfgs/lbfgs.hpp"
#include "ensmallen_bits/lbfgs/lbfgs_impl.hpp"
#include "ensmallen_bits/log.hpp"
#include "ensmallen_bits/lookahead/lookahead.hpp"
#include "ensmallen_bits/lookahead/lookahead_impl.hpp"
#include "ensmallen_bits/moead/decomposition_policies/pbi_decomposition.hpp"
#include "ensmallen_bits/moead/decomposition_policies/tchebycheff_decomposition.hpp"
#include "ensmallen_bits/moead/decomposition_policies/weighted_decomposition.hpp"
#include "ensmallen_bits/moead/moead.hpp"
#include "ensmallen_bits/moead/moead_impl.hpp"
#include "ensmallen_bits/moead/weight_init_policies/bbs_init.hpp"
#include "ensmallen_bits/moead/weight_init_policies/dirichlet_init.hpp"
#include "ensmallen_bits/moead/weight_init_policies/uniform_init.hpp"
#include "ensmallen_bits/nsga2/nsga2.hpp"
#include "ensmallen_bits/nsga2/nsga2_impl.hpp"
#include "ensmallen_bits/padam/padam.hpp"
#include "ensmallen_bits/padam/padam_update.hpp"
#include "ensmallen_bits/parallel_sgd/decay_policies/constant_step.hpp"
#include "ensmallen_bits/parallel_sgd/decay_policies/exponential_backoff.hpp"
#include "ensmallen_bits/parallel_sgd/parallel_sgd.hpp"
#include "ensmallen_bits/parallel_sgd/parallel_sgd_impl.hpp"
#include "ensmallen_bits/problems/ackley_function.hpp"
#include "ensmallen_bits/problems/ackley_function_impl.hpp"
#include "ensmallen_bits/problems/aug_lagrangian_test_functions.hpp"
#include "ensmallen_bits/problems/aug_lagrangian_test_functions_impl.hpp"
#include "ensmallen_bits/problems/beale_function.hpp"
#include "ensmallen_bits/problems/beale_function_impl.hpp"
#include "ensmallen_bits/problems/booth_function.hpp"
#include "ensmallen_bits/problems/booth_function_impl.hpp"
#include "ensmallen_bits/problems/bukin_function.hpp"
#include "ensmallen_bits/problems/bukin_function_impl.hpp"
#include "ensmallen_bits/problems/colville_function.hpp"
#include "ensmallen_bits/problems/colville_function_impl.hpp"
#include "ensmallen_bits/problems/cross_in_tray_function.hpp"
#include "ensmallen_bits/problems/cross_in_tray_function_impl.hpp"
#include "ensmallen_bits/problems/drop_wave_function.hpp"
#include "ensmallen_bits/problems/drop_wave_function_impl.hpp"
#include "ensmallen_bits/problems/easom_function.hpp"
#include "ensmallen_bits/problems/easom_function_impl.hpp"
#include "ensmallen_bits/problems/eggholder_function.hpp"
#include "ensmallen_bits/problems/eggholder_function_impl.hpp"
#include "ensmallen_bits/problems/fonseca_fleming_function.hpp"
#include "ensmallen_bits/problems/fw_test_function.hpp"
#include "ensmallen_bits/problems/generalized_rosenbrock_function.hpp"
#include "ensmallen_bits/problems/generalized_rosenbrock_function_impl.hpp"
#include "ensmallen_bits/problems/goldstein_price_function.hpp"
#include "ensmallen_bits/problems/goldstein_price_function_impl.hpp"
#include "ensmallen_bits/problems/gradient_descent_test_function.hpp"
#include "ensmallen_bits/problems/gradient_descent_test_function_impl.hpp"
#include "ensmallen_bits/problems/himmelblau_function.hpp"
#include "ensmallen_bits/problems/himmelblau_function_impl.hpp"
#include "ensmallen_bits/problems/holder_table_function.hpp"
#include "ensmallen_bits/problems/holder_table_function_impl.hpp"
#include "ensmallen_bits/problems/levy_function_n13.hpp"
#include "ensmallen_bits/problems/levy_function_n13_impl.hpp"
#include "ensmallen_bits/problems/logistic_regression_function.hpp"
#include "ensmallen_bits/problems/logistic_regression_function_impl.hpp"
#include "ensmallen_bits/problems/matyas_function.hpp"
#include "ensmallen_bits/problems/matyas_function_impl.hpp"
#include "ensmallen_bits/problems/mc_cormick_function.hpp"
#include "ensmallen_bits/problems/mc_cormick_function_impl.hpp"
#include "ensmallen_bits/problems/problems.hpp"
#include "ensmallen_bits/problems/rastrigin_function.hpp"
#include "ensmallen_bits/problems/rastrigin_function_impl.hpp"
#include "ensmallen_bits/problems/rosenbrock_function.hpp"
#include "ensmallen_bits/problems/rosenbrock_function_impl.hpp"
#include "ensmallen_bits/problems/rosenbrock_wood_function.hpp"
#include "ensmallen_bits/problems/rosenbrock_wood_function_impl.hpp"
#include "ensmallen_bits/problems/schaffer_function_n1.hpp"
#include "ensmallen_bits/problems/schaffer_function_n2.hpp"
#include "ensmallen_bits/problems/schaffer_function_n2_impl.hpp"
#include "ensmallen_bits/problems/schaffer_function_n4.hpp"
#include "ensmallen_bits/problems/schaffer_function_n4_impl.hpp"
#include "ensmallen_bits/problems/schwefel_function.hpp"
#include "ensmallen_bits/problems/schwefel_function_impl.hpp"
#include "ensmallen_bits/problems/sgd_test_function.hpp"
#include "ensmallen_bits/problems/sgd_test_function_impl.hpp"
#include "ensmallen_bits/problems/softmax_regression_function.hpp"
#include "ensmallen_bits/problems/softmax_regression_function_impl.hpp"
#include "ensmallen_bits/problems/sparse_test_function.hpp"
#include "ensmallen_bits/problems/sparse_test_function_impl.hpp"
#include "ensmallen_bits/problems/sphere_function.hpp"
#include "ensmallen_bits/problems/sphere_function_impl.hpp"
#include "ensmallen_bits/problems/styblinski_tang_function.hpp"
#include "ensmallen_bits/problems/styblinski_tang_function_impl.hpp"
#include "ensmallen_bits/problems/three_hump_camel_function.hpp"
#include "ensmallen_bits/problems/three_hump_camel_function_impl.hpp"
#include "ensmallen_bits/problems/wood_function.hpp"
#include "ensmallen_bits/problems/wood_function_impl.hpp"
#include "ensmallen_bits/problems/zdt/zdt1_function.hpp"
#include "ensmallen_bits/problems/zdt/zdt2_function.hpp"
#include "ensmallen_bits/problems/zdt/zdt3_function.hpp"
#include "ensmallen_bits/problems/zdt/zdt4_function.hpp"
#include "ensmallen_bits/problems/zdt/zdt6_function.hpp"
#include "ensmallen_bits/pso/init_policies/default_init.hpp"
#include "ensmallen_bits/pso/pso.hpp"
#include "ensmallen_bits/pso/pso_impl.hpp"
#include "ensmallen_bits/pso/update_policies/lbest_update.hpp"
#include "ensmallen_bits/qhadam/qhadam.hpp"
#include "ensmallen_bits/qhadam/qhadam_impl.hpp"
#include "ensmallen_bits/qhadam/qhadam_update.hpp"
#include "ensmallen_bits/rmsprop/rmsprop.hpp"
#include "ensmallen_bits/rmsprop/rmsprop_update.hpp"
#include "ensmallen_bits/sa/exponential_schedule.hpp"
#include "ensmallen_bits/sa/sa.hpp"
#include "ensmallen_bits/sa/sa_impl.hpp"
#include "ensmallen_bits/sarah/sarah.hpp"
#include "ensmallen_bits/sarah/sarah_impl.hpp"
#include "ensmallen_bits/sarah/sarah_plus_update.hpp"
#include "ensmallen_bits/sarah/sarah_update.hpp"
#include "ensmallen_bits/scd/descent_policies/cyclic_descent.hpp"
#include "ensmallen_bits/scd/descent_policies/greedy_descent.hpp"
#include "ensmallen_bits/scd/descent_policies/random_descent.hpp"
#include "ensmallen_bits/scd/scd.hpp"
#include "ensmallen_bits/scd/scd_impl.hpp"
#include "ensmallen_bits/sdp/lin_alg.hpp"
#include "ensmallen_bits/sdp/lrsdp.hpp"
#include "ensmallen_bits/sdp/lrsdp_function.hpp"
#include "ensmallen_bits/sdp/lrsdp_function_impl.hpp"
#include "ensmallen_bits/sdp/lrsdp_impl.hpp"
#include "ensmallen_bits/sdp/primal_dual.hpp"
#include "ensmallen_bits/sdp/primal_dual_impl.hpp"
#include "ensmallen_bits/sdp/sdp.hpp"
#include "ensmallen_bits/sdp/sdp_impl.hpp"
#include "ensmallen_bits/sgd/decay_policies/no_decay.hpp"
#include "ensmallen_bits/sgd/sgd.hpp"
#include "ensmallen_bits/sgd/sgd_impl.hpp"
#include "ensmallen_bits/sgd/update_policies/gradient_clipping.hpp"
#include "ensmallen_bits/sgd/update_policies/momentum_update.hpp"
#include "ensmallen_bits/sgd/update_policies/nesterov_momentum_update.hpp"
#include "ensmallen_bits/sgd/update_policies/quasi_hyperbolic_update.hpp"
#include "ensmallen_bits/sgd/update_policies/vanilla_update.hpp"
#include "ensmallen_bits/sgdr/cyclical_decay.hpp"
#include "ensmallen_bits/sgdr/sgdr.hpp"
#include "ensmallen_bits/sgdr/sgdr_impl.hpp"
#include "ensmallen_bits/sgdr/snapshot_ensembles.hpp"
#include "ensmallen_bits/sgdr/snapshot_sgdr.hpp"
#include "ensmallen_bits/sgdr/snapshot_sgdr_impl.hpp"
#include "ensmallen_bits/smorms3/smorms3.hpp"
#include "ensmallen_bits/smorms3/smorms3_impl.hpp"
#include "ensmallen_bits/smorms3/smorms3_update.hpp"
#include "ensmallen_bits/spalera_sgd/spalera_sgd.hpp"
#include "ensmallen_bits/spalera_sgd/spalera_sgd_impl.hpp"
#include "ensmallen_bits/spalera_sgd/spalera_stepsize.hpp"
#include "ensmallen_bits/spsa/spsa.hpp"
#include "ensmallen_bits/spsa/spsa_impl.hpp"
#include "ensmallen_bits/svrg/barzilai_borwein_decay.hpp"
#include "ensmallen_bits/svrg/svrg.hpp"
#include "ensmallen_bits/svrg/svrg_impl.hpp"
#include "ensmallen_bits/svrg/svrg_update.hpp"
#include "ensmallen_bits/swats/swats.hpp"
#include "ensmallen_bits/swats/swats_impl.hpp"
#include "ensmallen_bits/swats/swats_update.hpp"
#include "ensmallen_bits/utility/any.hpp"
#include "ensmallen_bits/utility/arma_traits.hpp"
#include "ensmallen_bits/utility/indicators/epsilon.hpp"
#include "ensmallen_bits/utility/indicators/igd_plus.hpp"
#include "ensmallen_bits/wn_grad/wn_grad.hpp"
#include "ensmallen_bits/wn_grad/wn_grad_impl.hpp"
#include "ensmallen_bits/wn_grad/wn_grad_update.hpp"
#include "ensmallen_bits/yogi/yogi.hpp"
#include "ensmallen_bits/yogi/yogi_impl.hpp"
#include "ensmallen_bits/yogi/yogi_update.hpp"