drjit icon indicating copy to clipboard operation
drjit copied to clipboard

Tensor(Matrix4f, flip_axes=True) effectively transposes matrices

Open zihay opened this issue 2 months ago • 0 comments

Hi,

When converting a Matrix4f (or other matrix type) to a tensor with flip_axes=True, the matrix contents appear to be transposed. I had expected flip_axes=True to only flip axes (e.g., batch vs. vector), without transposing the inner 4×4 matrix.

Is this the intended behavior of flip_axes for matrix types?

Thanks!

zihay avatar Nov 14 '25 08:11 zihay