$search

Fn_shuffle

Functions

template<typename T1 >
const Op< T1, op_shuffleshuffle (const Base< typename T1::elem_type, T1 > &X, const uword dim=0)
 Shuffle the rows or the columns of a matrix or vector in random fashion. If dim = 0, shuffle the columns (default operation). If dim = 1, shuffle the rows.

Function Documentation

template<typename T1 >
const Op<T1, op_shuffle> shuffle ( const Base< typename T1::elem_type, T1 > &  X,
const uword  dim = 0 
) [inline]

Shuffle the rows or the columns of a matrix or vector in random fashion. If dim = 0, shuffle the columns (default operation). If dim = 1, shuffle the rows.

Definition at line 27 of file fn_shuffle.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Mar 5 12:27:51 2013