Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

perms (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the matrix class.

Syntax

c = perms(a)

Description

Computes all permutations of the input elements.

Examples

Inputs

Name Description
a Specifies the input elements for which you want to compute permutations. a is a vector and must have fewer than 15 elements.

Outputs

Name Description
c Returns all permutations of the elements in a. c is a matrix with a! rows.

Examples

C = perms('abc')

D = perms([3:6])

Related Topics

nchoosek


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit