We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a9979a + 25647ef commit 9fadafdCopy full SHA for 9fadafd
src/extra_functions.jl
@@ -39,6 +39,13 @@ ModelingToolkit.@register Distributions.quantile(dist,x)
39
ModelingToolkit.@register Distributions.Uniform(mu,sigma)
40
ModelingToolkit.@register Distributions.Normal(mu,sigma)
41
42
+@register ∈(x::Num, y::AbstractArray)
43
+@register ∪(x, y)
44
+@register ∩(x, y)
45
+@register ∨(x, y)
46
+@register ∧(x, y)
47
+@register ⊆(x, y)
48
+
49
function LinearAlgebra.det(A::AbstractMatrix{<:Num}; laplace=true)
50
if laplace
51
n = LinearAlgebra.checksquare(A)
@@ -67,4 +74,4 @@ function LinearAlgebra.det(A::AbstractMatrix{<:Num}; laplace=true)
67
74
end
68
75
return det(lu(A; check = false))
69
76
70
-end
77
+end
0 commit comments