Supported NumPy functions - Supported NumPy functions - 2026.2 English - UG1864

Vitis Functional Simulation User Guide (UG1864)

Document_ID
UG1864
Release_Date
2026-11-11
Version
2026.2 English

varray plugs into NumPy's dispatch system for this whitelist:

Function Notes
np.concatenate All inputs must be varray and share dtype.
np.split Operates on a single varray.
np.transpose, np.reshape Returns a new varray with the same dtype.
np.max, np.min Not supported for mx4/mx6/mx9, int4/uint4.
np.real, np.imag Returns non-complex varray.
np.isreal Element-wise, value-based.
np.isrealobj Dtype-based (equivalent to MATLAB isreal).
np.all, np.any —
np.array_equal Both inputs must be varray.
np.savetxt —

For anything else, convert first with np.asarray():

a = va.array([1, 2, 3, 4], dtype=va.int32)
np.sum(np.asarray(a))
np.fft.fft(np.asarray(a))