pyuncertainnumber.pba.intervals.mat_features ============================================ .. py:module:: pyuncertainnumber.pba.intervals.mat_features Functions --------- .. autoapisummary:: pyuncertainnumber.pba.intervals.mat_features.consume_interval pyuncertainnumber.pba.intervals.mat_features.create_interval pyuncertainnumber.pba.intervals.mat_features.dot pyuncertainnumber.pba.intervals.mat_features.rowcol pyuncertainnumber.pba.intervals.mat_features.rowcol2 pyuncertainnumber.pba.intervals.mat_features.consume_list pyuncertainnumber.pba.intervals.mat_features.intvl_matmul Module Contents --------------- .. py:function:: consume_interval(low, high) initialise an interval matrix from `low, high` arrays; .. note:: initialise from the shape (2, m, n) as preferred; .. rubric:: Example low = np.arange(9).reshape(3,3) high = np.arange(10, 19).reshape(3,3) .. py:function:: create_interval(matrix, half_width=0.1) mannually create an interval matrix from a numpy array .. py:function:: dot(x, y) .. py:function:: rowcol(W, x) marco's original implementation of the rowcol function .. py:function:: rowcol2(x, W) Leslie changed the argument order for notational convecience original implementation of the rowcol function :param - W: have to be a vector; .. py:function:: 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 .. py:function:: intvl_matmul(x, W) draft matrix multiplication function for interval matrices .. note:: - can be used for general matrix multiplication :returns: - an interval matrix