MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / rowidxabsmax

Function rowidxabsmax

src/blas.cpp:105–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103
104
105int rowidxabsmax(const ap::real_2d_array& x, int j1, int j2, int i)
106{
107 int result;
108 int j;
109 double a;
110
111 result = j1;
112 a = fabs(x(i,result));
113 for(j = j1+1; j <= j2; j++)
114 {
115 if( ap::fp_greater(fabs(x(i,j)),fabs(x(i,result))) )
116 {
117 result = j;
118 }
119 }
120 return result;
121}
122
123
124double upperhessenberg1norm(const ap::real_2d_array& a,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected