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.
ideal_type
1 parent 59cd123 commit 2248f24Copy full SHA for 2248f24
src/Ideal.jl
@@ -41,3 +41,7 @@ end
41
iszero(I::Ideal) = all(iszero, gens(I))
42
43
base_ring_type(::Type{<:IdealSet{T}}) where T <: RingElement = parent_type(T)
44
+
45
+# fundamental interface, to be documented
46
+ideal_type(x) = ideal_type(typeof(x))
47
+ideal_type(T::DataType) = throw(MethodError(ideal_type, (T,)))
src/exports.jl
@@ -260,6 +260,7 @@ export hooklength
260
export howell_form
261
export howell_form_with_transformation
262
export ideal
263
+export ideal_type
264
export identity_map
265
export identity_matrix
266
export image
0 commit comments