einsums::compute_graph::apply_cmp#

Note

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

Defined in header Einsums/ComputeGraph/PredExpr.hpp.

bool apply_cmp(std::int64_t lhs, CmpOp op, std::int64_t rhs) noexcept#

Apply op to two integers.

Parameters:
  • lhs – Left operand.

  • op – The comparison.

  • rhs – Right operand.

Returns:

The result of the comparison.