Methods common to all types - Methods common to all types - 2026.2 English - UG1864

Vitis Functional Simulation User Guide (UG1864)

Document_ID
UG1864
Release_Date
2026-11-11
Version
2026.2 English
Method Returns Notes
size(obj), length(obj), numel(obj) double —
reshape(obj, ...) same varray type —
cat(dim, a, b, …), horzcat, vertcat same varray type Inputs must share type.
transpose(obj) (.'), ctranspose(obj) (') same varray type Restricted to vectors for fi/cfi.
real(obj), imag(obj) real varray type —
isreal(obj), isequal(a, b) logical —
double/single/int{8,16,32,64}/uint{8,16,32,64} MATLAB array Also for fi/cfi (double(...)).
cast(obj, newType) MATLAB or varray newType can be a MATLAB type name or 'varray.<type>'.
typecast(obj, newType, axis=[]) varray Reinterpret bytes as another varray type. Real scalar/vector only.
max(obj), min(obj) same varray type Not for mx*, int4/uint4.
all(obj), any(obj) logical —
num2str(obj) char —