@@ -59,22 +59,22 @@ Register a bivariate function `f` to `ExaModels`, so that it can be used within
5959```jldoctest
6060julia> using ExaModels
6161
62- julia> relu23(x) = (x > 0 || y > 0) ? (x + y)^3 : zero(x)
62+ julia> relu23(x,y ) = (x > 0 || y > 0) ? (x + y)^3 : zero(x)
6363relu23 (generic function with 1 method)
6464
65- julia> drelu231(x) = (x > 0 || y > 0) ? 3 * (x + y)^2 : zero(x)
65+ julia> drelu231(x,y ) = (x > 0 || y > 0) ? 3 * (x + y)^2 : zero(x)
6666drelu231 (generic function with 1 method)
6767
68- julia> drelu232(x) = (x > 0 || y > 0) ? 3 * (x + y)^2 : zero(x)
68+ julia> drelu232(x,y ) = (x > 0 || y > 0) ? 3 * (x + y)^2 : zero(x)
6969drelu232 (generic function with 1 method)
7070
71- julia> ddrelu2311(x) = (x > 0 || y > 0) ? 6 * (x + y) : zero(x)
71+ julia> ddrelu2311(x,y ) = (x > 0 || y > 0) ? 6 * (x + y) : zero(x)
7272ddrelu2311 (generic function with 1 method)
7373
74- julia> ddrelu2312(x) = (x > 0 || y > 0) ? 6 * (x + y) : zero(x)
74+ julia> ddrelu2312(x,y ) = (x > 0 || y > 0) ? 6 * (x + y) : zero(x)
7575ddrelu2312 (generic function with 1 method)
7676
77- julia> ddrelu2322(x) = (x > 0 || y > 0) ? 6 * (x + y) : zero(x)
77+ julia> ddrelu2322(x,y ) = (x > 0 || y > 0) ? 6 * (x + y) : zero(x)
7878ddrelu2322 (generic function with 1 method)
7979
8080julia> @register_bivariate(relu23, drelu231, drelu232, ddrelu2311, ddrelu2312, ddrelu2322)
0 commit comments