Assign expression-template to variable in C++

This page summarizes the projects mentioned and recommended in the original post on /r/cpp_questions

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • sadET

    Simple Automatic Differentiation (using) Expression Templates

    Then, each expression should carry enough information that you can call different member functions, such as derivative for their derivative, or conjugate to take its complex conjugate, etc. Now, the conjugate (and derivative) member function should somehow inherit its behaviour from the sub expressionss. You only need to define what conjugate means for the Number class, and then all other expressions, just apply this function to its sub expressions, until a Number is reached. I am not sure if this is detailed enough, but I apply this logic here. In this piece of code, I am using ETs to that define expressions, and then use these expressions to take their derivatives. This is an autodiff library (without dual numbers), which works well, but it suffers from the the problem; can't find a way to assign and reassign variables to expressions.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts