Adds support for adding and subtracting control vectors, as well as multiplying and dividing them by scalars. coeff in model.set_control(..., coeff) now defaults to 1.0, so you can do model.set_control(2 * happy_vector) instead. Adds a new example notebook demonstrating arithmetic. (Needs README update but going to do that later.)
Adds support for adding and subtracting control vectors, as well as multiplying and dividing them by scalars.
coeff
inmodel.set_control(..., coeff)
now defaults to1.0
, so you can domodel.set_control(2 * happy_vector)
instead. Adds a new example notebook demonstrating arithmetic. (Needs README update but going to do that later.)