2.4.4.1. sdepy.SDEs.pack

SDEs.pack(xs)[source]

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).