<T>LAPACK 0.1.1
C++ Template Linear Algebra PACKage
Loading...
Searching...
No Matches
rotmg.hpp
Go to the documentation of this file.
1
3//
4// Copyright (c) 2017-2021, University of Tennessee. All rights reserved.
5// Copyright (c) 2021-2023, University of Colorado Denver. All rights reserved.
6//
7// This file is part of <T>LAPACK.
8// <T>LAPACK is free software: you can redistribute it and/or modify it under
9// the terms of the BSD 3-Clause license. See the accompanying LICENSE file.
10
11#ifndef TLAPACK_LEGACY_ROTMG_HH
12#define TLAPACK_LEGACY_ROTMG_HH
13
17
18namespace tlapack {
19namespace legacy {
20
105 template <typename real_t>
107 {
108 // check arguments
109 tlapack_check_false(*d1 <= 0);
110
111 param[0] = ::tlapack::rotmg(*d1, *d2, *a, b, &param[1]);
112 }
113
114} // namespace legacy
115} // namespace tlapack
116
117#endif // #ifndef TLAPACK_LEGACY_ROTMG_HH
int rotmg(T &d1, T &d2, T &a, const T &b, T h[4])
Construct modified (fast) plane rotation, H, that eliminates b, such that.
Definition rotmg.hpp:95
#define tlapack_check_false(cond)
Throw an error if cond is true.
Definition exceptionHandling.hpp:113
void rotmg(real_t *d1, real_t *d2, real_t *a, real_t b, real_t param[5])
Construct modified (fast) plane rotation, H, that eliminates b, such that.
Definition rotmg.hpp:106
typename traits::real_type_traits< Types..., int >::type real_type
The common real type of the list of types.
Definition scalar_type_traits.hpp:113