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

Functions

template<domain D :shared3p , type T>
D T transpose (D T X)
 

Detailed Description

Function for transposing matrices.

Note
D - shared3p protection domain
T - any data type
Parameters
mat- a 2-dimensional matrix
Returns
returns the transposed version of the input matrix
Leakage
None

Function Documentation

◆ transpose()

template<domain D :shared3p , type T>
D T transpose ( D T  X)