2021-06-02 15:36:44 -04:00
|
|
|
// clang-format off
|
2018-09-17 13:03:00 -04:00
|
|
|
#include "common/Array.h"
|
|
|
|
|
#include "common/Array.hpp"
|
2021-06-02 15:36:44 -04:00
|
|
|
#include "common/Utilities.h"
|
2018-09-17 13:03:00 -04:00
|
|
|
|
|
|
|
|
#include <complex>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/********************************************************
|
|
|
|
|
* Explicit instantiations of Array *
|
|
|
|
|
********************************************************/
|
2021-06-02 15:36:44 -04:00
|
|
|
template class Array<char,FunctionTable>;
|
|
|
|
|
template class Array<uint8_t,FunctionTable>;
|
|
|
|
|
template class Array<uint16_t,FunctionTable>;
|
|
|
|
|
template class Array<uint32_t,FunctionTable>;
|
|
|
|
|
template class Array<uint64_t,FunctionTable>;
|
|
|
|
|
template class Array<int8_t,FunctionTable>;
|
|
|
|
|
template class Array<int16_t,FunctionTable>;
|
|
|
|
|
template class Array<int32_t,FunctionTable>;
|
|
|
|
|
template class Array<int64_t,FunctionTable>;
|
|
|
|
|
template class Array<float,FunctionTable>;
|
|
|
|
|
template class Array<double,FunctionTable>;
|
|
|
|
|
template class Array<long double,FunctionTable>;
|
2018-09-17 13:03:00 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/********************************************************
|
|
|
|
|
* Explicit instantiations of Array<bool> *
|
|
|
|
|
********************************************************/
|
2021-06-02 15:36:44 -04:00
|
|
|
instantiateArrayConstructors( bool )
|
|
|
|
|
template Array<bool,FunctionTable>& Array<bool,FunctionTable>::operator=( const std::vector<bool>& );
|
|
|
|
|
template void Array<bool,FunctionTable>::clear();
|
|
|
|
|
template bool Array<bool,FunctionTable>::operator==(Array<bool,FunctionTable> const&) const;
|
|
|
|
|
template void Array<bool,FunctionTable>::resize( ArraySize const& );
|
2018-09-17 13:03:00 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/********************************************************
|
|
|
|
|
* Explicit instantiations of Array<std::complex> *
|
|
|
|
|
********************************************************/
|
2021-06-02 15:36:44 -04:00
|
|
|
instantiateArrayConstructors( std::complex<float> )
|
|
|
|
|
instantiateArrayConstructors( std::complex<double> )
|
|
|
|
|
template void Array<std::complex<float>,FunctionTable>::resize( ArraySize const& );
|
|
|
|
|
template void Array<std::complex<double>,FunctionTable>::resize( ArraySize const& );
|
|
|
|
|
template Array<std::complex<double>,FunctionTable>& Array<std::complex<double>,FunctionTable>::operator=(std::vector<std::complex<double>> const&);
|
|
|
|
|
template Array<std::complex<float>,FunctionTable>& Array<std::complex<float>,FunctionTable>::operator=(std::vector<std::complex<float>> const&);
|
|
|
|
|
template void Array<std::complex<float>,FunctionTable>::clear();
|
|
|
|
|
template void Array<std::complex<double>,FunctionTable>::clear();
|
|
|
|
|
template bool Array<std::complex<float>,FunctionTable>::operator==(Array<std::complex<float>,FunctionTable> const&) const;
|
|
|
|
|
template bool Array<std::complex<double>,FunctionTable>::operator==(Array<std::complex<double>,FunctionTable> const&) const;
|
|
|
|
|
template Array<std::complex<float>,FunctionTable> Array<std::complex<float>,FunctionTable>::repmat(std::vector<unsigned long> const&) const;
|
|
|
|
|
template Array<std::complex<double>,FunctionTable> Array<std::complex<double>,FunctionTable>::repmat(std::vector<unsigned long> const&) const;
|
|
|
|
|
template void Array<std::complex<float>,FunctionTable>::copySubset(std::vector<unsigned long> const&, Array<std::complex<float>,FunctionTable> const&);
|
|
|
|
|
template void Array<std::complex<double>,FunctionTable>::copySubset(std::vector<unsigned long> const&, Array<std::complex<double>,FunctionTable> const&);
|
|
|
|
|
template Array<std::complex<float>,FunctionTable> Array<std::complex<float>,FunctionTable>::subset(std::vector<unsigned long> const&) const;
|
|
|
|
|
template Array<std::complex<double>,FunctionTable> Array<std::complex<double>,FunctionTable>::subset(std::vector<unsigned long> const&) const;
|
|
|
|
|
template bool Array<std::complex<float>,FunctionTable>::NaNs() const;
|
|
|
|
|
template bool Array<std::complex<double>,FunctionTable>::NaNs() const;
|
2018-09-17 13:03:00 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/********************************************************
|
|
|
|
|
* Explicit instantiations of Array<std::string> *
|
|
|
|
|
********************************************************/
|
2021-06-02 15:36:44 -04:00
|
|
|
instantiateArrayConstructors( std::string )
|
|
|
|
|
template void Array<std::string,FunctionTable>::resize( ArraySize const& );
|
|
|
|
|
template void Array<std::string,FunctionTable>::clear();
|
|
|
|
|
template Array<std::string, FunctionTable> &Array<std::string, FunctionTable>::
|
|
|
|
|
operator=( const std::vector<std::string> & );
|
|
|
|
|
template bool Array<std::string>::operator==(Array<std::string> const&) const;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined( USING_ICC )
|
|
|
|
|
ENABLE_WARNINGS
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|