Energy typedef

Energy = num Function(List<num> x)

Function representing the system energy (cost function).

Implementation

typedef Energy = num Function(List<num> x);