|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
Arithmetic and logical operators for Array. More...
#include "ndarray/Array.h"#include <boost/call_traits.hpp>#include <boost/functional.hpp>#include <boost/utility/enable_if.hpp>#include "ndarray/detail/UnaryOp.h"#include "ndarray/detail/BinaryOp.h"#include "ndarray/types.h"Go to the source code of this file.
Namespaces | |
| ndarray | |
Functions | |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator+ (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator+ (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::operator+ (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator- (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator- (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::operator- (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator* (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator* (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::operator* (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator/ (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator/ (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::operator/ (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator% (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator% (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::operator% (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator^ (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator^ (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::operator^ (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator| (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator| (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::operator| (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator& (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator& (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::operator& (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator<< (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator<< (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::operator<< (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator>> (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::operator>> (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::operator>> (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::equal (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::equal (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::equal (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::not_equal (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::not_equal (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::not_equal (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::less (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::less (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::less (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::greater (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::greater (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::greater (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::less_equal (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::less_equal (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::less_equal (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::great_equal (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::great_equal (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::great_equal (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::logical_and (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::logical_and (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::logical_and (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::logical_or (ExpressionBase< Operand > const &operand, Scalar const &scalar) |
| template<typename Operand , typename Scalar > | |
| < unspecified-expression-type > | ndarray::logical_or (Scalar const &scalar, ExpressionBase< Operand > const &operand) |
| template<typename Operand1 , typename Operand2 > | |
| < unspecified-expression-type > | ndarray::logical_or (ExpressionBase< Operand1 > const &operand1, ExpressionBase< Operand2 > const &operand2) |
| template<typename Operand > | |
| < unspecified-expression-type > | ndarray::operator- (ExpressionBase< Operand > const &operand) |
| template<typename Operand > | |
| < unspecified-expression-type > | ndarray::logical_not (ExpressionBase< Operand > const &operand) |
| template<typename Operand > | |
| < unspecified-expression-type > | ndarray::operator~ (ExpressionBase< Operand > const &operand) |
| template<typename Scalar > | |
| boost::enable_if< typename ExpressionTraits< Scalar > ::IsScalar, bool >::type | ndarray::any (Scalar const &scalar) |
| template<typename Derived > | |
| bool | ndarray::any (ExpressionBase< Derived > const &expr) |
| Return true if any of the elements of the given expression are true. More... | |
| template<typename Scalar > | |
| boost::enable_if< typename ExpressionTraits< Scalar > ::IsScalar, bool >::type | ndarray::all (Scalar const &scalar) |
| template<typename Derived > | |
| bool | ndarray::all (ExpressionBase< Derived > const &expr) |
| Return true if all of the elements of the given expression are true. More... | |
| template<typename Scalar1 , typename Scalar2 > | |
| boost::enable_if < boost::mpl::and_< typename ExpressionTraits< Scalar1 > ::IsScalar, typename ExpressionTraits< Scalar2 > ::IsScalar >, bool >::type | ndarray::allclose (Scalar1 const &scalar1, Scalar2 const &scalar2, double tol=1E-8) |
| template<typename Scalar , typename Derived > | |
| boost::enable_if< typename ExpressionTraits< Scalar > ::IsScalar, bool >::type | ndarray::allclose (Scalar const &scalar, ExpressionBase< Derived > const &expr, double tol=1E-8) |
| template<typename Scalar , typename Derived > | |
| boost::enable_if< typename ExpressionTraits< Scalar > ::IsScalar, bool >::type | ndarray::allclose (ExpressionBase< Derived > const &expr, Scalar const &scalar, double tol=1E-8) |
| template<typename Derived1 , typename Derived2 > | |
| bool | ndarray::allclose (ExpressionBase< Derived1 > const &expr1, ExpressionBase< Derived2 > const &expr2, double tol=1E-8) |
| template<typename Scalar > | |
| boost::enable_if< typename ExpressionTraits< Scalar > ::IsScalar, Scalar >::type | ndarray::sum (Scalar const &scalar) |
| template<typename Derived > | |
| Derived::Element | ndarray::sum (ExpressionBase< Derived > const &expr) |
| Return the sum of all elements of the given expression. More... | |
Arithmetic and logical operators for Array.
Definition in file operators.h.
1.8.5