public static Symbol operator %(Symbol lhs, float scalar) { if (lhs == null) { throw new ArgumentNullException(nameof(lhs)); } lhs.ThrowIfDisposed(); return(OperatorSupply.ModScalar(lhs, scalar)); }
public static Symbol operator %(float lhs, Symbol rhs) { if (rhs == null) { throw new ArgumentNullException(nameof(rhs)); } rhs.ThrowIfDisposed(); return(OperatorSupply.RModScalar(lhs, rhs)); }
public static Symbol operator %(Symbol lhs, Symbol rhs) { if (lhs == null) { throw new ArgumentNullException(nameof(lhs)); } if (rhs == null) { throw new ArgumentNullException(nameof(rhs)); } lhs.ThrowIfDisposed(); rhs.ThrowIfDisposed(); return(OperatorSupply.Mod(lhs, rhs)); }