numapprox[minimax] - minimax rational approximation

Calling Sequence

 

minimax(f, x=a..b,
[m, n], w,
'maxerror')

minimax(f, a..b,
[m, n], w,
'maxerror')

 

Parameters

 

f

-

procedure or expression representing the function

x

-

variable name appearing in f, if f is an expression

a, b

-

numerical values specifying the interval of approximation

m

-

integer specifying the desired degree of the numerator

n

-

integer specifying the desired degree of the denominator

w

-

(optional) procedure or expression specifying the weight function, default 1

maxerror

-

(optional) a name which will be assigned the minimax norm

 
 

Description

 
• 

This procedure computes the best minimax rational approximation of degree (m, n)
for a given real function f(x) on the interval [a, b]
with respect to the positive weight function w(x), via the Remez algorithm.

• 

Specifically, it computes the rational expression  such
that

(1)

 
  

is minimized over all rational expressions  with
numerator of degree <= m and denominator of degree <= n.

• 

Note that if f(x) is nonzero on the interval of approximation then the relative error will be minimized by specifying the weight function 

si=7595/file06595/math158.png" width="108" height="44" alt="w(x) = 1/abs(f(x))" style="border:0px; vertical-align:-17px">.

• 

If the second argument is a range a..b then
the first argument is understood to be a Maple operator, and the result will be returned as an operator. If the second argument is an equation 

si=7595/file06595/math166.png" width="63" height="24" alt="x = a .. b" style="border:0px; vertical-align:-6px"> then
the first argument is understood to be an expression in the variable x, and the result will be returned as an expression.
In all cases, the numerator and denominator of the result are each expressed in Horner (nested multiplication) form.

• 

Note that for the purpose of evaluating a rational function efficiently (minimizing the number of arithmetic operations), the rational function should be converted to a continued-fraction form. See 

path=numapprox%2fconfracform" style="color:rgb(153,0,0)">numapprox[confracform].

• 

If 

si=7595/file06595/math177.png" width="44" height="24" alt="n = 0" style="border:0px; vertical-align:-6px"> or
if the third argument is simply an integer m then the best minimax polynomial approximation of degreem is
computed.

• 

If the fourth argument w is specified then it is assumed to be an
operator if f is an operator, and it is assumed to be an expression if f is
an expression. If the fourth argument is omitted then the weight function is understood to be  for
all x.

• 

If the fifth argument 'maxerror' is present then it must be a name.
Upon return, its value will be an estimate of the minimax norm specified by equation (1) above.

• 

Various levels of user information will be displayed during the computation if infolevel[minimax] is
assigned values between 1 and 3.

• 

The command with(numapprox,minimax) allows the use of the abbreviated
form of this command.

 

Examples

 

si=7595/file06595/math214.png" width="144" height="24" alt="with(numapprox)" style="border:0px; vertical-align:-6px">

si=7595/file06595/math218.png" width="182" height="29" alt="minimax(exp(x), x = 0 .. 1, 5)" style="border:0px; vertical-align:-6px">

si=7595/file06595/math221.png" width="726" height="42" alt=".9999988706+(1.000079450+(.4990961405+(.1704019041+(0.3480060952e-1+0.1390372558e-1*x)*x)*x)*x)*x" align="middle" style="border:0px; vertical-align:-24px">

(1)

si=7595/file06595/math228.png" width="434" height="44" alt="(.9502547393+(-0.529094917e-1-0.8416376466e-1*x)*x)/(.9501754297+(-0.5104192162e-1+0.6724432790e-1*x)*x)" style="border:0px; vertical-align:-17px">

(2)

(3)

si=7595/file06595/math239.png" width="89" height="24" alt="Digits := 14" style="border:0px; vertical-align:-6px">

(4)

si=7595/file06595/math246.png" width="361" height="49" alt="" style="border:0px; vertical-align:-22px">

(5)

si=7595/file06595/math256.png" width="173" height="29" alt="0.12110972781516e-8" style="border:0px; vertical-align:-6px">

(6)
 

See Also

 

numapprox[confracform]


maple minimax函数的更多相关文章

  1. Matlab常用函数集锦

    ndims(A)返回A的维数size(A)返回A各个维的最大元素个数length(A)返回max(size(A))[m,n]=size(A)如果A是二维数组,返回行数和列数nnz(A)返回A中非0元素 ...

  2. MATLAB相关快捷键以及常用函数

    MATLAB快捷键大全 F1帮助 F2改名F3搜索 F4地址 F5刷新 F6切换 F10菜单 CTRL+A全选 CTRL+C复制 CTRL+X剪切 CTRL+V粘贴 CTRL+Z撤消 CTRL+O打开 ...

  3. matlab中help所有函数功能的英文翻译

    doc funname 在帮助浏览器中打开帮助文档 help funname 在命令窗口打开帮助文档 helpbrowser 直接打开帮助浏览器 lookfor funname 搜索某个关键字相关函数 ...

  4. Maple重点知识总结

    Maple中的evalf与evalhf evalf 可作用于单值 可作用于List 可作用于Set 可作用于Vector(<..>) 可作用于Matrix(<..|..|..> ...

  5. matlab函数列表(A~Z)【转】

    A a abs 绝对值.模.字符的ASCII码值acos 反余弦acosh 反双曲余弦acot 反余切acoth 反双曲余切acsc 反余割acsch 反双曲余割align 启动图形对象几何位置排列工 ...

  6. MATLAB命令大全

    一.常用对象操作:除了一般windows窗口的常用功能键外.1.!dir 可以查看当前工作目录的文件. !dir& 可以在dos状态下查看.2.who 可以查看当前工作空间变量名, whos ...

  7. [转] MATLAB快捷键

    原文地址:MATLAB快捷键大全 (转载)作者:掷地有声 一.索引混排版 备注:删除了如F1(帮助)等类型的常见快捷命令 SHIFT+DELETE永久删除 DELETE删除 ALT+ENTER属性 A ...

  8. matlab快捷键大全

    原文地址,点此查看 一.常用对象操作 除了一般windows窗口的常用功能键外. 1.!dir 可以查看当前工作目录的文件. !dir& 可以在dos状态下查看. 2.who   可以查看当前 ...

  9. [转载] MATLAB快捷键

    原文地址,点此查看 一.常用对象操作 除了一般windows窗口的常用功能键外. 1.!dir 可以查看当前工作目录的文件. !dir& 可以在dos状态下查看. 2.who   可以查看当前 ...

随机推荐

  1. ffplay播放器移植VC的project:ffplay for MFC

    本文介绍一个自己做的FFPLAY移植到VC下的开源project:ffplayfor MFC.本project将ffmpeg项目中的ffplay播放器(ffplay.c)移植到了VC的环境下.而且使用 ...

  2. RxJava 中文文档

    https://mcxiaoke.gitbooks.io/rxdocs/content/Subject.html

  3. Android 交叉编译程序提示(not found)

    原因是缺少库文件, 解决办法:arm-linux-readelf -a helloword | grep NEEDED 拷贝so文件到安卓下 或者 arm-linux-gcc hello.c -o h ...

  4. VS2010 VC++ 项目添加引用 出现 Internal CPS Error问题原因及解决办法

    在VS2010 VC++ 项目添加引用时,有时会出现Internal CPS Error错误,提示信息: 'Internal CPS Error: We couldn't find the exist ...

  5. JS是否存在方法重载

    java里面是存在重载的,那么js中呢?这个问题面试的时候会经常遇到.但是可以肯定的说,js中是不存在重载的,但是我们可以通过其他的方式来模拟重载,我们可以通过argument方法来实现. argum ...

  6. ThreadLocal实现session中用户信息 的线程间共享

    转载自:http://blog.sina.com.cn/s/blog_4b5bc01101013gok.html ThreadLocal并不难理解,我总结的最简单的理解就是: ThreadLocal像 ...

  7. javascript模拟post提交

    通过js模拟post提交1:请求需要的参数过长,超过get允许的最大长度2:想要隐藏地址栏的参数 //新创建一个form表单document.write('<form name=myForm&g ...

  8. input type=file文件选择表单元素二三事

    一.原生input上传与表单form元素 如果想使用浏览器原生特性实现文件上传(如图片)效果,父级的form元素有个东西不能丢,就是: enctype="multipart/form-dat ...

  9. XMPP键盘订制实现图文混排

    在现阶段的通信服务中,各种标准都有,因此会出现无法实现相互连通,而XMPP(Extensible Message and presence Protocol)协议的出现,实现了整个及时通信服务协议的互 ...

  10. 清除linux系统的多余引导

    由于我把系统给升级(update)了,在grub引导模式出现新旧版本(Grub与Grub2)的引导系统分别为正常启动和进入恢复模式各2个引导项,如下图显示:百度找不到相关或类似的教程,只好半夜起来研究 ...