Skip to content

Commit

Permalink
Move aliases for minpoly and charpoly from Oscar
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Apr 30, 2024
1 parent 8ac3e1f commit 6d5c3d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "AbstractAlgebra"
uuid = "c3fe647b-3220-5bb0-a1ea-a7954cac585d"
version = "0.41.0"
version = "0.41.1"

[deps]
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
Expand Down
4 changes: 4 additions & 0 deletions src/Aliases.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@ const is_upper_triangular = istriu


# predeclare some functions to allow defining aliases for some of our own functions
function charpoly end
function minpoly end
function number_of_columns end
function number_of_generators end
function number_of_rows end
function number_of_variables end

@alias characteristic_polynomial charpoly
@alias minimal_polynomial minpoly
@alias ncols number_of_columns
@alias ngens number_of_generators
@alias nrows number_of_rows
Expand Down

0 comments on commit 6d5c3d8

Please # to comment.