pyuncertainnumber.pba.intervals.mat_features¶
Functions¶
|
initialise an interval matrix from low, high arrays; |
|
mannually create an interval matrix from a numpy array |
|
|
|
marco's original implementation of the rowcol function |
|
Leslie changed the argument order for notational convecience original implementation of the rowcol function |
|
consume a list of interval matrices into a single interval matrix |
|
draft matrix multiplication function for interval matrices |
Module Contents¶
- pyuncertainnumber.pba.intervals.mat_features.consume_interval(low, high)¶
initialise an interval matrix from low, high arrays;
Note
initialise from the shape (2, m, n) as preferred;
Example
low = np.arange(9).reshape(3,3) high = np.arange(10, 19).reshape(3,3)
- pyuncertainnumber.pba.intervals.mat_features.create_interval(matrix, half_width=0.1)¶
mannually create an interval matrix from a numpy array
- pyuncertainnumber.pba.intervals.mat_features.dot(x, y)¶
- pyuncertainnumber.pba.intervals.mat_features.rowcol(W, x)¶
marco’s original implementation of the rowcol function
- pyuncertainnumber.pba.intervals.mat_features.rowcol2(x, W)¶
Leslie changed the argument order for notational convecience original implementation of the rowcol function
- Parameters:
W (-) – have to be a vector;
- pyuncertainnumber.pba.intervals.mat_features.consume_list(list_intervals)¶
consume a list of interval matrices into a single interval matrix
! of no use now .. note:: - being used for interval matrix multiplication
- pyuncertainnumber.pba.intervals.mat_features.intvl_matmul(x, W)¶
draft matrix multiplication function for interval matrices
Note
can be used for general matrix multiplication
- Returns:
an interval matrix