| 2505 | } |
| 2506 | |
| 2507 | InvertibleRepresentation HFactor::getInvert() const { |
| 2508 | InvertibleRepresentation invert; |
| 2509 | invert.l_pivot_index = this->l_pivot_index; |
| 2510 | invert.l_pivot_lookup = this->l_pivot_lookup; |
| 2511 | invert.l_start = this->l_start; |
| 2512 | invert.l_index = this->l_index; |
| 2513 | invert.l_value = this->l_value; |
| 2514 | invert.lr_start = this->lr_start; |
| 2515 | invert.lr_index = this->lr_index; |
| 2516 | invert.lr_value = this->lr_value; |
| 2517 | |
| 2518 | invert.u_pivot_lookup = this->u_pivot_lookup; |
| 2519 | invert.u_pivot_index = this->u_pivot_index; |
| 2520 | invert.u_pivot_value = this->u_pivot_value; |
| 2521 | invert.u_start = this->u_start; |
| 2522 | invert.u_last_p = this->u_last_p; |
| 2523 | invert.u_index = this->u_index; |
| 2524 | invert.u_value = this->u_value; |
| 2525 | |
| 2526 | invert.ur_start = this->ur_start; |
| 2527 | invert.ur_lastp = this->ur_lastp; |
| 2528 | invert.ur_space = this->ur_space; |
| 2529 | invert.ur_index = this->ur_index; |
| 2530 | invert.ur_value = this->ur_value; |
| 2531 | invert.pf_start = this->pf_start; |
| 2532 | invert.pf_index = this->pf_index; |
| 2533 | invert.pf_value = this->pf_value; |
| 2534 | invert.pf_pivot_index = this->pf_pivot_index; |
| 2535 | invert.pf_pivot_value = this->pf_pivot_value; |
| 2536 | return invert; |
| 2537 | } |
| 2538 | |
| 2539 | void HFactor::setInvert(const InvertibleRepresentation& invert) { |
| 2540 | this->l_pivot_index = invert.l_pivot_index; |