Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/matx/operators/hermitian.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ namespace matx
#endif

__MATX_INLINE__ std::string str() const { return "hermitian(" + op_.str() + ")"; }
__MATX_INLINE__ const auto& Input() const noexcept { return op_; }

__MATX_INLINE__ HermitianTransOp(const T1 &op) : op_(op) {
MATX_LOG_TRACE("{} constructor: rank={}", str(), Rank());
static_assert(Rank() >= 2, "Hermitian operation needs input with rank >= 2");
Expand Down
4 changes: 4 additions & 0 deletions include/matx/operators/unary_operators.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ namespace matx
return op_.str() + "(" + get_type_str(in1_) + ")";
}

__MATX_INLINE__ const auto& Input() const noexcept {
return in1_;
}

__MATX_INLINE__ matxUnaryOp(const I1 &in1, const Op &op) : in1_(in1), op_(op) {
MATX_LOG_TRACE("{} constructor: rank={}", str(), Rank());
if constexpr (Rank() > 0) {
Expand Down
Loading