我正在使用eplex
和ic
图书馆并试图解决一个问题。我看到and 为eplex
andic
提供了明确的支持addition,multiplication
,subtraction
但不支持modulo
or division
。
更准确地说,我有这个代码:
FirstResult #= (Result[I] mod Val), % Here it gives error because Result[I] is not instantiated.
NewVal is Val+1,
SecondResult #= (Result[I] mod NewVal)
并且mod
要求它的两个参数是接地的,但Result[I]
没有实例化,而是具有值范围。所以我的问题是如何延迟这种涉及mod
操作的约束。