# {py:mod}`simvx.core.helpers.matrix` ```{py:module} simvx.core.helpers.matrix ``` ```{autodoc2-docstring} simvx.core.helpers.matrix :allowtitles: ``` ## Module Contents ### Functions ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`mat4_from_trs ` - ```{autodoc2-docstring} simvx.core.helpers.matrix.mat4_from_trs :summary: ``` * - {py:obj}`batch_mat4_from_trs ` - ```{autodoc2-docstring} simvx.core.helpers.matrix.batch_mat4_from_trs :summary: ``` * - {py:obj}`mat4_to_bytes ` - ```{autodoc2-docstring} simvx.core.helpers.matrix.mat4_to_bytes :summary: ``` ```` ### API ````{py:function} mat4_from_trs(pos: tuple[float, float, float] | numpy.ndarray, rot, scl: tuple[float, float, float] | numpy.ndarray) -> numpy.ndarray :canonical: simvx.core.helpers.matrix.mat4_from_trs ```{autodoc2-docstring} simvx.core.helpers.matrix.mat4_from_trs ``` ```` ````{py:function} batch_mat4_from_trs(positions: numpy.ndarray, rotations: numpy.ndarray, scales: numpy.ndarray) -> numpy.ndarray :canonical: simvx.core.helpers.matrix.batch_mat4_from_trs ```{autodoc2-docstring} simvx.core.helpers.matrix.batch_mat4_from_trs ``` ```` ````{py:function} mat4_to_bytes(m: numpy.ndarray) -> bytes :canonical: simvx.core.helpers.matrix.mat4_to_bytes ```{autodoc2-docstring} simvx.core.helpers.matrix.mat4_to_bytes ``` ````