mat

taichi_glsl.vector.mat(*xs)

Matrix initializer (WIP).

Parameters

xs – A row-major list of list, which contains the elements of matrix.

Returns

A matrix, size depends on the input xs.

For example::

mat([1, 2], [3, 4])

(TODO: WIP)