|Download Help (Windows Only)|
Owning Class: matrix
Requires: MathScript RT Module
c = primes(a)
Computes all primes less than or equal to a number you specify. A natural number is prime if and only if the only divisors of that number are 1 and the number itself.
|a||Specifies a natural number. a must be less than or equal to 2^32-1.|
|c||Returns all primes less than a. c is a row vector.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
C = primes(101)