conj_functor< X >
Description
Specialising the
conj_functor
allows to calculate the conjugate of vectors containing any value-type.
Example
Definition
Defined in
conj.hpp
Template parameters
Parameter
Description
Default
X
type of
conj_functor
's argument.
Model of
AdaptableUnaryFunction
Type requirements
X
can be
any builtin type
std::complex<T>
if
GLAS_COMPLEX
is defined
any other type if the
abs_functor
is specialised for
X
and
abs_functor<X>::result_type
is
Assignable
. (see
the test-program using a
boost::rational
value-type
).
Public base classes
Members
Member
Where defined
Comment
argument_type
AdaptableUnaryFunction
result_type
AdaptableUnaryFunction
result_type operator() (const X& a) const
UnaryFunction