quantlib.math.array.
Array¶
- class Array(Size size=0, value=None)¶
Bases:
object1D array for linear algebra.
This class implements the concept of a vector as used in linear algebra.
- Parameters:
- sizeint, optional
The size of the array.
- valuefloat, optional
The value to fill the array with.
Methods
to_ndarray(self)Returns a view of the array as a numpy array.