Scilab 5.4.0
Please note that the recommended version of Scilab is 6.1.0. This page might be outdated.
See the recommended documentation of this function
perms
все сочетания компонентов вектора
Последовательность вызова
y=perms(x)
Аргументы
- x
скаляр или вектор
- y
матрица
Описание
Для заданного вектора x
длиной n
функция
perms
возвращает все сочетания n
компонентов x
(т. е. n!
сочетаний). Размер y
равен n!
на n
.
Примеры
x=[4, 7, 10] y=perms(x) x=[1, 5, 2, 5] y=perms(x)
Comments
Add a comment:
Please login to comment this page.