mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-02-20 10:58:40 +01:00
Merge branch 'main' into developer
This commit is contained in:
@@ -342,6 +342,7 @@ template <typename T, int64_t Ndim> void NDArray<T, Ndim>::Print() {
|
||||
Print_some();
|
||||
}
|
||||
|
||||
|
||||
template <typename T, int64_t Ndim>
|
||||
std::ostream& operator <<(std::ostream& os, const NDArray<T, Ndim>& arr){
|
||||
for (auto row = 0; row < arr.shape(0); ++row) {
|
||||
@@ -354,6 +355,7 @@ std::ostream& operator <<(std::ostream& os, const NDArray<T, Ndim>& arr){
|
||||
return os;
|
||||
}
|
||||
|
||||
|
||||
template <typename T, int64_t Ndim> void NDArray<T, Ndim>::Print_all() {
|
||||
for (auto row = 0; row < shape_[0]; ++row) {
|
||||
for (auto col = 0; col < shape_[1]; ++col) {
|
||||
|
||||
Reference in New Issue
Block a user