LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
Classes | |
struct | ndarray::ApproximatelyEqual< T1, T2 > |
Binary predicate for floating point equality comparison with tolerance. More... | |
struct | ndarray::ApproximatelyEqual< std::complex< U1 >, std::complex< U2 > > |
Binary predicate for complex floating point equality comparison with tolerance. More... | |
Functions | |
template<typename Scalar , typename UnaryFunction > | |
UnaryFunction::result_type | ndarray::vectorize (UnaryFunction const &functor, Scalar const &scalar) |
Apply a non-mutating unary function object to a scalar. More... | |
template<typename Derived , typename UnaryFunction > | |
detail::UnaryOpExpression < Derived, UnaryFunction > | ndarray::vectorize (UnaryFunction const &functor, ExpressionBase< Derived > const &operand) |
Apply a non-mutating unary function object to each element of a multidimensional Expression. More... | |
template<typename Scalar1 , typename Scalar2 , typename BinaryFunction > | |
BinaryFunction::result_type | ndarray::vectorize (BinaryFunction const &functor, Scalar1 const &scalar1, Scalar2 const &scalar2) |
Apply a non-mutating binary function object to a pair of scalars. More... | |
template<typename Derived1 , typename Derived2 , typename BinaryFunction > | |
detail::BinaryOpExpression < Derived1, Derived2, BinaryFunction > | ndarray::vectorize (BinaryFunction const &functor, ExpressionBase< Derived1 > const &operand1, ExpressionBase< Derived2 > const &operand2) |
Apply a non-mutating binary function object pairwise to the elements of two multidimensional Expressions. More... | |
View< boost::fusion::vector1 < index::Full > > | ndarray::view () |
Start a view definition that includes the entire first dimension. More... | |
View< boost::fusion::vector1 < index::Range > > | ndarray::view (int start, int stop) |
Start a view definition that selects a contiguous range in the first dimension. More... | |
View< boost::fusion::vector1 < index::Slice > > | ndarray::view (int start, int stop, int step) |
Start a view definition that selects a noncontiguous slice of the first dimension. More... | |
View< boost::fusion::vector1 < index::Scalar > > | ndarray::view (int n) |
Start a view definition that selects single element from the first dimension. More... | |
template<typename Sequence > | |
View< Sequence > | ndarray::view (Sequence const &sequence) |
Create a view definition from a boost::fusion sequence of index objects. More... | |
UnaryFunction::result_type ndarray::vectorize | ( | UnaryFunction const & | functor, |
Scalar const & | scalar | ||
) |
Apply a non-mutating unary function object to a scalar.
This overload exists to allow recursive usage of the Array-argument vectorize functions.
Definition at line 85 of file vectorize.h.
detail::UnaryOpExpression<Derived,UnaryFunction> ndarray::vectorize | ( | UnaryFunction const & | functor, |
ExpressionBase< Derived > const & | operand | ||
) |
Apply a non-mutating unary function object to each element of a multidimensional Expression.
Evaluation is lazy.
Definition at line 99 of file vectorize.h.
BinaryFunction::result_type ndarray::vectorize | ( | BinaryFunction const & | functor, |
Scalar1 const & | scalar1, | ||
Scalar2 const & | scalar2 | ||
) |
Apply a non-mutating binary function object to a pair of scalars.
This overload exists to allow recursive usage of the Array-argument vectorize functions.
Definition at line 124 of file vectorize.h.
detail::BinaryOpExpression<Derived1,Derived2,BinaryFunction> ndarray::vectorize | ( | BinaryFunction const & | functor, |
ExpressionBase< Derived1 > const & | operand1, | ||
ExpressionBase< Derived2 > const & | operand2 | ||
) |
Apply a non-mutating binary function object pairwise to the elements of two multidimensional Expressions.
Evaluation is lazy.
Definition at line 140 of file vectorize.h.
|
inline |
|
inline |
|
inline |
|
inline |