Skip to content

Latest commit

 

History

History
83 lines (41 loc) · 2.29 KB

dx-graphics-hlsl-determinant.md

File metadata and controls

83 lines (41 loc) · 2.29 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location
determinant
Returns the determinant of the specified floating-point, square matrix.
9062b6f1-8518-4ee4-8d57-5aa9e2176d05
determinant HLSL
apiref
determinant
NA
reference
05/31/2018

determinant

Returns the determinant of the specified floating-point, square matrix.

ret determinant(m)

Parameters

Item Description
m
[in] The specified value.

Return Value

The floating-point, scalar value that represents the determinant of the m parameter.

Type Description

Name Template Type Component Type Size
m matrix float any (number of rows = number of columns)
ret scalar float 1

Minimum Shader Model

This function is supported in the following shader models.

Shader Model Supported
Shader Model 2 (DirectX HLSL) and higher shader models yes
Shader Model 1 (DirectX HLSL) vs_1_1 and ps_1_4

See also

Intrinsic Functions (DirectX HLSL)