Navigation

Operators and Keywords

Function List:

C++ API

swapbytes.m File Reference


Functions

 if (strcmp(clx,"int8")||strcmp(clx,"uint8")||isempty(x)) y
else if (strcmp(clx,"int16")||strcmp(clx,"uint16")) nb
 elseif (strcmp(clx,"int32")||strcmp(clx,"uint32")) nb
 elseif (strcmp(clx,"int64")||strcmp(clx,"uint64")||strcmp(clx,"double")) nb
else error ("swapbytes: invalid class of object")

Variables

function y
endif clx = class (x)

Function Documentation

elseif ( strcmp(clx,"int64")||strcmp(clx,"uint64")||strcmp(clx,"double")   ) 

elseif ( strcmp(clx,"int32")||strcmp(clx,"uint32")   ) 

else error ( "swapbytes: invalid class of object"   ) 

else if ( strcmp(clx,"int16")||strcmp(clx,"uint16")   ) 

if ( strcmp(clx,"int8")||strcmp(clx,"uint8")||isempty(x)   ) 


Variable Documentation

endif clx = class (x)

endif y

Initial value:

 swapbytes (x)
  if (nargin != 1)
    print_usage ()