einsums::compute_graph::cmp_op_name#

Note

Generated from the C++ headers by apiary --emit-cpp-docs-json.

Defined in header Einsums/ComputeGraph/PredExpr.hpp.

std::string_view cmp_op_name(CmpOp op) noexcept#

Name of a CmpOp, for diagnostics and for the IR’s by-name rule.

Parameters:

op – The operator to name.

Returns:

One of “eq”, “ne”, “lt”, “le”, “gt”, “ge”.