You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516
  1. #ifndef POLYADIC_OPERATION_RESULT
  2. #define POLYADIC_OPERATION_RESULT
  3. #include <vector>
  4. struct PolyadicOperationResult {
  5. double value;
  6. std::vector<double> gradients;
  7. PolyadicOperationResult(double value, const std::vector<double>& gradients){
  8. this->value = value;
  9. this->gradients = gradients;
  10. }
  11. };
  12. #endif /* end of include guard: POLYADIC_OPERATION_RESULT */

Edge : 一个开源的科学计算引擎