gammy.formulae.Sum

Sum

Sum(formulae, prior=None)gammy.formulae.Formula[source]

Sum (concatenate) many formulae

Theoretical example:

([[f1, f2], [g1, g2]], [[h1]]) => [[f1, f2], [g1, g2], [h1]]

NOTE: Sum and Flatten are different!

Parameters
formulaeList[Formula]

Formulas to concatenate

priorTuple[np.ndarray]

Prior mean and covariance for concatenated formula