TF++, Miscellaneous classes and modules in C++:

◆ sameDomain()

template<class T1 , class T2 , int N1, int N2>
bool tfxx::blitzutil::sameDomain ( const blitz::Array< T1, N1 > &  a1,
const blitz::Array< T2, N2 > &  a2 
)

test for conforming domains

Parameters
a1any blitz array
a2any other blitz array
Returns
true if both have same domain

Definition at line 75 of file blitzutil.h.

Referenced by main().

77  { return(blitz::areShapesConformable(a1.lbound(),a2.lbound())&&
78  blitz::areShapesConformable(a1.ubound(),a2.ubound())); }
Here is the caller graph for this function: