quantlib.mlab.util

Copyright (C) 2013, Enthought Inc Copyright (C) 2013, Patrick Henaff

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.

Functions

array_call(foo, shape, values)

Call function foo with all elements in array arguments return an output of same shape as array input elements

common_shape(args)

Inspect the input arguments to a function and verify that the shapes are compatible, in a matlab sense: either scalar or arrays of identical shapes