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 --
| 143 | Bochkanov Sergey |
| 144 | *************************************************************************/ |
| 145 | void 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 | /************************************************************************* |
no test coverage detected