sdepy.heston_process.pack

heston_process.pack(xs)

Packs the given arrays (one per equation) into a single array.

Parameters:
xs : list of arrays

List of self.q arrays to be packed according to the addaxis attribute setting.

Returns:
X : array

Array packing the given xs along its second-last dimension (the last dimension enumerates paths).