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. 使用VMware创建Linux虚拟机

    准备工作: 下载安装:VMware8.0 (这版本相对稳定,体积小) 下载:rhel-server-5.8-i386-dvd.iso Ready? Go! 1.新建空的虚拟机,相当于多了一台电脑 除了 ...

  2. BP反向传播算法的工作原理How the backpropagation algorithm works

    In the last chapter we saw how neural networks can learn their weights and biases using the gradient ...

  3. 深度学习Deep learning

    In the last chapter we learned that deep neural networks are often much harder to train than shallow ...

  4. linux如何后台运行进程,而且不随终端关闭而关闭

    参考:http://www.cnblogs.com/kaituorensheng/p/3980334.html 使用命令nohup:no hang up,表示关闭终端后,进程并不随着终端关闭而关闭 f ...

  5. iOS:转载:IOS谓词--NSPredicate

    IOS谓词--NSPredicate 分类: IOS应用2013-02-19 17:24 6792人阅读 评论(1) 收藏 举报 Cocoa 提供了NSPredicate 用于指定过滤条件,谓词是指在 ...

  6. informatica powercenter学习笔记(二)

    LOOKUP TRANSFORMATION的使用点评: LOOKUP基本用法不熟的话请参考下附属信息. 用法感受: 1 LOOKUP的作用跟我们以前在EXCEL的函数功能类似,就是隔表取值.优点就是用 ...

  7. C#中的数组【转】

    目录 数组的声明 数组的初始化 数组的访问 数组的常用属性和方法 为方便起见,以下数组均定义为整型 数组的声明 C#声明数组时,方括号[]必须跟在类型后面,而不是标识符后面 1. 声明一维数组 C#数 ...

  8. 自定义ImageView 手势 缩放 滑动 矩阵

    功能 初始时大小控制,图片宽或高大于view的,缩小至view大小,否则按原始大小显示双击放大,第一次双击后将图片宽或高放大到view的宽或高的比例再次双击会再在此前基础上放大固定的倍数放大两次后后再 ...

  9. C#特性杂谈

    文中充满了各种C#与其他语言的对比及吐槽, 希望介意者勿观… 当然, 鉴于太乱, 我怀疑有没有人能看完. 学习C# Hello World 变量与表达式 动态类型 值类型和引用类型 checked支持 ...

  10. JSP学习笔记(五):日期处理、页面重定向、点击量统计、自动刷新和发送邮件

    一.JSP 日期处理: 使用JSP最重要的优势之一,就是可以使用所有Java  API.本节讲述Java中的Date类,它在java.util包下,封装了当前日期和时间. Date类有两个构造函数.第 ...