Insert 指令

来自GeoGebra マニュアル
跳转至: 导航搜索
Accessories dictionary.png
本页为官方文件,一般使用者无法修改,若有任何误谬,请与官方联络。如欲编辑,请至本页的开放版


Insert[ <List>, <List>, <Position> ]
UnderConstruction.png
目前本页中文说明尚未翻译完成,请先连至英文说明。如果您有权限,请帮忙翻译本页的官方手册
Insert[ <Object>, <List>, <Position> ]
UnderConstruction.png
目前本页中文说明尚未翻译完成,请先连至英文说明。如果您有权限,请帮忙翻译本页的官方手册
Insert[Object, List, Position]
Inserts the object in the list at the given position.
范例: Insert[x^2, {1, 2, 3, 4, 5}, 3] places x2 at the third position and gives you the list {1, 2, x2, 3, 4, 5}.
备注: If the position is a negative number, then the position is counted from the right.
范例: Insert[x^2, {1, 2, 3, 4, 5}, -1] places x2 at the end of the list and gives you the list {1, 2, 3, 4, 5, x2}.
Insert[List 1, List 2, Position]
Inserts all elements of list1 in list2 at the given position.
范例: Insert[{11, 12}, {1, 2, 3, 4, 5}, 3] places the elements of list1 at the third (and following) position(s) of list2 and gives you the list {1, 2, 11, 12, 3, 4, 5}.
备注: If the position is a negative number, then the position is counted from the right.
范例: Insert[{11, 12}, {1, 2, 3, 4, 5}, -2] places the elements of list1 at the end of list2 before its last element and gives you {1, 2, 3, 4, 11, 12, 5}.
© 2024 International GeoGebra Institute