/*******************************************************
* Copyright (c) 2020, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
********************************************************/
#define EXTERN_TEMPLATE
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using af::af_cdouble;
using af::af_cfloat;
using std::vector;
bool operator==(const af_half &lhs, const af_half &rhs) {
return lhs.data_ == rhs.data_;
}
std::ostream &operator