BaseScale<D, R extends num> constructor
当inverse为true时我们将反转domain
Implementation
BaseScale(List<D> domain, this.range, this.inverse) {
if (inverse) {
this.domain = List.from(domain.reversed);
} else {
this.domain = domain;
}
}