numpy.polynomial.polynomial.polyval3d

polynomial.polynomial.polyval3d(x, y, z, c)[源代码]

在点(x,y,z)处计算一个三维多项式。

此函数返回值:

System Message: WARNING/2 (p(x,y,z)=\sum i,j,k c i,j,k *X^ I* y^ j*Z^ k)

latex exited with error [stdout] This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./math.tex LaTeX2e <2018-12-01> (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2018/09/03 v1.4i Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo)) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) (/usr/share/texlive/texmf-dist/tex/latex/anyfontsize/anyfontsize.sty) (/usr/share/texlive/texmf-dist/tex/latex/tools/bm.sty) (./math.aux) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd) ! Package inputenc Error: Unicode character ( (U+FF08) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character , (U+FF0C) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character , (U+FF0C) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character ) (U+FF09) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character , (U+FF0C) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character , (U+FF0C) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character , (U+FF0C) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character , (U+FF0C) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character ( (U+FF08) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character , (U+FF0C) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character , (U+FF0C) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character ) (U+FF09) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character , (U+FF0C) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character , (U+FF0C) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character , (U+FF0C) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} ! Package inputenc Error: Unicode character , (U+FF0C) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.14 ...�k c i,j,k *X^ I* y^ j*Z^ k\end{split} [1] (./math.aux) ) (see the transcript file for additional information) Output written on math.dvi (1 page, 520 bytes). Transcript written on math.log.

参数 xyz 仅当它们是元组或列表时才转换为数组,否则它们将被视为标量,并且在转换后它们必须具有相同的形状。在任何一种情况下,要么 xyz 或者它们的元素必须同时支持自身和元素的乘法和加法。 c .

如果 c 小于3个维度,将一个维度隐式附加到其形状上,使其成为三维的。结果的形状将为C形。 [3:] +X.形状。

参数
x,y,z类似数组的兼容对象

三维级数是在点上计算的。 (x, y, z) 在哪里 xyz 必须具有相同的形状。如果有的话 xyz 是一个列表或元组,它首先被转换为一个ndarray,否则它将保持不变,如果它不是一个ndarray,它将被视为一个标量。

carray_like

有序的系数数组,使多阶i,j,k项的系数包含在 c[i,j,k] .如果 c 具有大于3的维度,其余索引枚举多组系数。

返回
valuesndarray,兼容对象

由相应值的三倍构成的点上多维多项式的值 xyz .

笔记

1.7.0 新版功能.