Commit Graph

10 Commits (21c19453346598c679992673b70b72e777242bfa)

Author SHA1 Message Date
Varun Agrawal ff7ddf48bd
Basis functions (#403) 2021-08-27 08:10:31 -04:00
Toni 7f80c906c4 Fix override warnings: modernize-use-override 2021-01-28 23:02:13 -05:00
Varun Agrawal 252af8f0c5 added FunctorizedFactor2 2021-01-15 12:41:31 -05:00
Jose Luis Blanco Claraco 0198c648e3
Fix all new gcc warnings/errors: make explicit virtual/override methods.
Rules are:
- use "virtual" in base classes only.
- use "override" in all derived classes.
2020-07-26 11:20:42 +02:00
acxz c738f6b7f7 remove unused base variable 2020-07-23 15:47:14 -04:00
Varun Agrawal 30ffcdd137 Simplified FunctorizedFactor
By adding the helper function MakeFunctorizedFactor, we now only need to provide the argument type in the template parameter list. This considerably simplifies the factor declaration, while removing the need for argument type and return type in the functor definition.

Also added tests for std::function and lambda functions.
2020-07-06 21:48:51 -04:00
Varun Agrawal 7d0e440293 new definition for FunctorizedFactor to allow for using std::function and lambdas 2020-07-06 17:38:34 -04:00
Varun Agrawal 0bbb39687f improved documentation 2020-06-01 19:55:10 -04:00
Varun Agrawal 131213a983 fixes, better tests, docs 2020-06-01 19:52:50 -04:00
Varun Agrawal 1db0f441bc Added FunctorizedFactor and corresponding tests 2020-05-31 22:02:37 -04:00