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

Function ablassplitlength

src/ablas.cpp:145–156  ·  view source on GitHub ↗

Splits matrix length in two parts, left part should match ABLAS block size INPUT PARAMETERS A - real matrix, is passed to ensure that we didn't split complex matrix using real splitting subroutine. matrix itself is not changed. N - length, N>0 OUTPUT PARAMETERS N1 - length N2 - length N1+N2=N, N1>=N2, N2 may be zero -- ALGLIB routine --

Source from the content-addressed store, hash-verified

143 Bochkanov Sergey
144*************************************************************************/
145void ablassplitlength(const ap::real_2d_array& a, int n, int& n1, int& n2)
146{
147
148 if( n>ablasblocksize(a) )
149 {
150 ablasinternalsplitlength(n, ablasblocksize(a), n1, n2);
151 }
152 else
153 {
154 ablasinternalsplitlength(n, ablasmicroblocksize(), n1, n2);
155 }
156}
157
158
159/*************************************************************************

Callers 5

rmatrixtransposeFunction · 0.85
rmatrixrighttrsmFunction · 0.85
rmatrixlefttrsmFunction · 0.85
rmatrixsyrkFunction · 0.85
rmatrixgemmFunction · 0.85

Calls 3

ablasblocksizeFunction · 0.85
ablasinternalsplitlengthFunction · 0.85
ablasmicroblocksizeFunction · 0.85

Tested by

no test coverage detected