Function lupnt::mod¶ Defined in File math_utils.cc Function Documentation¶ Real lupnt::mod(Real x, Real y)¶ Get the modulus of two numbers. Floating-point modulus x mod y (std::fmod), preserving x’s autodiff derivative information. Parameters: x – First number y – Second number Returns: Modulus of the two numbers