30template <Foam::direction N>
42template <Foam::direction N>
55template <Foam::direction N>
60 const Roots<N - 1>& xs
69 this->
v_[i+1] = xs[i];
70 type(i + 1, xs.type(i));
75template <Foam::direction N>
78 const Roots<N - 1>& xs,
95template <Foam::direction N>
96template <Foam::direction M>
112 this->
v_[i +
M] = ys[i];
120template <Foam::direction N>
127 types_ += (t -
type(i)) << 3*i;
131template <Foam::direction N>
134 return static_cast<roots::type>((types_ >> 3*i) & 7);
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
void type(const direction i, const roots::type t)
Set the type of the i-th root.
Roots()
Default construct as 'nan'.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
#define forAll(list, i)
Loop across all elements in list.
const Vector< label > N(dict.get< Vector< label > >("N"))