swap
Description
This function interchanges the elements of vector x and y. Type : polymorphic.
Documentation illustration (illustration unavailable in the archive).
Input parameters
Documentation illustration (illustration unavailable in the archive). x : class, tensor of a vector with n elements.
Documentation illustration (illustration unavailable in the archive). y : class, tensor of a vector with n elements.
incx : integer, stride between consecutive elements of x.
incy : integer, stride between consecutive elements of y.
Output parameters
Documentation illustration (illustration unavailable in the archive). x : class, tensor of a vector with n elements.
Documentation illustration (illustration unavailable in the archive). y : class, tensor of a vector with n elements.
Examples
All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Accelerator library to run it).
Documentation illustration (illustration unavailable in the archive).
