Interval Arithmetic Toolbox for Matlab

源代码在线查看: add.m

软件大小: 1224 K
上传用户: wyly
关键词: Arithmetic Interval Toolbox Matlab
下载地址: 免注册下载 普通下载 VIP

相关代码

				function r = add(a,b)
				
				%ADD computes an inclusion (interval) of the sum of two matrices.
				%
				%b4m - datatype interval    Version 1.02    (c) 26.2.1998 Jens Zemke
				%
				%   DESCRIPTION:
				%     'add' is called
				%
				%         r = add(a,b)
				%
				%     and computes the interval matrix r
				%     inlcuding the true result.
				%
				%     The operations on the datatype interval
				%     are based on BIAS by Olaf Knueppel.
				%
				%   SEE ALSO:
				%     interval: plus.
				%     double: sub, mul, div.
				
				global b4m_DouBLe b4m_INTerval
				
				b4m_DouBLe = 1;
				
				r.val = bias_add(b4m_DouBLe, a, b4m_DouBLe, b);
				r = interval(r);
							

相关资源