Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/data61/MP-SPDZ
/ ident
Function
ident
FHE/Matrix.cpp:13–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
using namespace std;
12
13
void ident(matrix& U,int n)
14
{
15
U.resize(n, vector<bigint>(n) );
16
for (int i=0; i<n; i++)
17
{ for (int j=0; j<n; j++)
18
{ U[i][j]=0; }
19
U[i][i]=1;
20
}
21
}
22
23
24
void ident(imatrix& U,int n)
Callers
4
HNF
Function · 0.85
SNF_Step
Function · 0.85
SNF
Function · 0.85
pinv
Function · 0.85
Calls
1
resize
Method · 0.45
Tested by
no test coverage detected