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. 菜鸟的mongoDB学习---(七)MongoDB 备份(mongodump)与恢复(mongorerstore)

    MongoDB数据备份 在Mongodb中我们使用mongodump命令来备份MongoDB数据. 该命令能够导出全部数据到指定文件夹中. mongodump命令能够通过參数指定导出的数据量级转存的s ...

  2. 2009年末最强梅麻呂3D动画游戏大作 汉化补丁

    [游戏名称]:Yin荡游戯Ω(前编)-闇の眷族vs女ドラゴン- (名字请自己补) [游戏厂商]:梅麻吕3D [发售日期]:2010年04月16日 游戏评价: 梅麻呂的3D作品能够说是如今3D动画中最好 ...

  3. 2013年,移动App设计的13大精髓

    摘要:在 过去的一年里,移动成主流也让众多的移动应用如雨后春笋般层出不穷,在众多开发者从中获利的同时竞争也愈演愈烈,如何才能保证自己立于不败之地?用户是上 帝,一切还得从应用说起.本文总结了新一年里A ...

  4. 判断浏览器内核JS代码

    <script type="text/javascript"> var Sys = {}; var ua = navigator.userAgent.toLowerCa ...

  5. Eclipse中在android项目中出现新建一个Activity后,出现整个project的报错以及包导入以后无法执行等等情况分析。

    今天用Eclipse去写android项目,然后后面须要建一个Blank  Activity后,非常正常的建立的.然后那个Activity是基于ActionBarAtivity,要导入v7,结果由于这 ...

  6. JDK 1.7版本的 新特性

    摘自: http://yanguz123.iteye.com/blog/1934766 Jdk1.7的新特性: 1,switch中可以使用字串 Java代码: String s = "tes ...

  7. 【python】如何安装BeautifulSoup4

    在cmd窗口输入 pip install beautifulsoup4,如下: C:\Users\horn1\Desktop\python\3>pip install beautifulsoup ...

  8. C#应用视频教程2.3 OPENGL虚拟仿真介绍

    本节最重要的一个内容,就是让视野可以平移+旋转+缩放(就像打CS游戏一样以第一人称视角去观察物体,如果可能的话W,S,A,D四个按键控制人物移动,还有鼠标控制视角),本节最重要的一个概念就是设置观察视 ...

  9. angularjs中ajax请求时传递参数的方法

    method1方法使用的是params参数,该用法会把参数直接附加到url中 method2方法使用的是data参数,该参数会把页面参数类型从默认的multipart/form-data改为appli ...

  10. InnerHTML属性的XSS利用

    来自:http://www.myhack58.com/Article/html/3/7/2011/32395.htm innerHTML 是个奇怪的HTML属性,不是W3C标准支持的,但几乎所有的厂商 ...