SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Functions

Functions

template<domain D :shared3p , type T>
D T transpose (D T[[2]] 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()

D T transpose ( D T[[2]]  X)