ScalingMatrix[{sx,sy,…}]
给出沿着坐标轴、相应于因子 si 缩放的矩阵.
ScalingMatrix[s,v]
给出沿着向量 v、相应于因子 s 缩放的矩阵.
ScalingMatrix
ScalingMatrix[{sx,sy,…}]
给出沿着坐标轴、相应于因子 si 缩放的矩阵.
ScalingMatrix[s,v]
给出沿着向量 v、相应于因子 s 缩放的矩阵.
更多信息
- ScalingMatrix 给出从原点缩放的矩阵.
- ScalingMatrix 可作用于任意维数.
范例
打开所有单元 关闭所有单元基本范例 (2)
范围 (3)
ScalingMatrix[{1, 1, -1}]ScalingMatrix[{1, 1, 1}]gr = {Rectangle[], AbsolutePointSize[10], Opacity[1], {Magenta, Point[{0, 0}]}, {Green, Point[{1, 1}]}};Graphics[{{Opacity[.35], Blue, gr}, GeometricTransformation[{Opacity[.85], Red, gr}, ScalingMatrix[{1.25, .75}]]}]gr = {Cuboid[], AbsolutePointSize[10], Opacity[1], {Magenta, Point[{0, 0, 0}]}, {Green, Point[{1, 1, 1}]}};Graphics3D[{{Opacity[.35], Blue, gr}, GeometricTransformation[{Opacity[.85], Red, gr}, ScalingMatrix[{1.25, 1.5, .5}]]}, Boxed -> False]应用 (4)
Graphics3D[GeometricTransformation[Sphere[],
ScalingMatrix[{2, 1.5, 1}]],
Boxed -> False]Plot3D[Sin[x y] + 1, {x, 0, Pi}, {y, 0, Pi}, Mesh -> 3] /. gc_GraphicsComplex :> {gc, GeometricTransformation[gc, ScalingMatrix[#]]& /@ (1 + 10 ^ -3 - IdentityMatrix[3])}ImageForwardTransformation[[image], 1 / 2ScalingMatrix[{1, 1}].#&]ImageTransformation[[image], (3/2)ScalingMatrix[{1, 1, 1}].#&]属性和关系 (5)
ScalingMatrix[s,v] 的行列式是 s:
Det[ ScalingMatrix[s, {1, 1}]]ScalingMatrix[s,v] 的逆是由 ScalingMatrix[1/s,v] 给出:
ScalingMatrix[s, {1, 1}].ScalingMatrix[1 / s, {1, 1}]//SimplifyScalingMatrix[{s1,…,sn}] 的行列式由 s1⋯ sn 给出:
Det[ ScalingMatrix[{s1, s2, s3}]]ScalingMatrix[{s1,…,sn}] 的逆由 ScalingMatrix[{1/s1,…,1/sn}] 给出:
ScalingMatrix[{s1, s2, s3}].ScalingMatrix[1 / {s1, s2, s3}]形式 ScalingMatrix[{s1,…,sn}] 等价于 DiagonalMatrix[{s1,…,sn}]:
ScalingMatrix[{s1, s2, s3}] === DiagonalMatrix[{s1, s2, s3}]技术笔记
-
▪
- 构造矩阵
相关的工作流程
- 旋转、平移和缩放三维图形
文本
Wolfram Research (2007),ScalingMatrix,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ScalingMatrix.html.
CMS
Wolfram 语言. 2007. "ScalingMatrix." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ScalingMatrix.html.
APA
Wolfram 语言. (2007). ScalingMatrix. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ScalingMatrix.html 年
BibTeX
@misc{reference.wolfram_2026_scalingmatrix, author="Wolfram Research", title="{ScalingMatrix}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ScalingMatrix.html}", note=[Accessed: 04-November-2026]}
BibLaTeX
@online{reference.wolfram_2026_scalingmatrix, organization={Wolfram Research}, title={ScalingMatrix}, year={2007}, url={https://reference.wolfram.com/language/ref/ScalingMatrix.html}, note=[Accessed: 04-November-2026]}