determinant

Description

Compute matrix determinant.

Signature

T determinant<T, N:int>(matrix<T, N, N> m)
    where T : __BuiltinFloatingPointType;

Generic Parameters

T: __BuiltinFloatingPointType

N : int

Parameters

m : matrix<T, N, N>

The matrix.

Return value

The determinant of the matrix.

Availability and Requirements

Defined for the following targets:

hlsl

Available in all stages.

glsl

Available in all stages.

metal

Available in all stages.

wgsl

Available in all stages.

spirv

Available in all stages.