SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
Loading...
Searching...
No Matches
Functions
determinant

Functions

float32 determinant (float32 mat)
 
float64 determinant (float64 mat)
 
template<domain D>
D float64 determinant (D float32 mat)
 
template<domain D>
D float64 determinant (D float64 mat)
 

Detailed Description

Function for finding the determinant of a matrix.

Note
Supported types - float32 / float64
Parameters
mat- a matrix of supported type
Returns
returns the determinant of the input matrix
Leakage
None

Function Documentation

◆ determinant() [1/4]

template<domain D>
D float64 determinant ( D float32  mat)
Note
D - all protection domains
naive determinant implementation

◆ determinant() [2/4]

template<domain D>
D float64 determinant ( D float64  mat)
Note
D - all protection domains
naive determinant implementation

◆ determinant() [3/4]

float32 determinant ( float32  mat)

◆ determinant() [4/4]

float64 determinant ( float64  mat)