private void ConstructCurrentSolution(int jH, NativeVector result) { UnsafeNativeMethods.Zcopy(jH, _hessenberg.GetColumn(_m), _yCurrent.Ptr); UnsafeNativeMethods.SimplifiedZtrsv(jH, _hessenberg.Ptr, _m + 1, _yCurrent.Ptr); CalculateSolutionProjectionToKrylovSubspace(jH); NativeVector.Add(result, _r0, _xCurrent); UnsafeNativeMethods.Zcopy(_nloc, _xCurrent.Ptr, result.Ptr); }