Skip to content

enriqueartal/Miscellanous-SageFunctions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Miscellanous-SageFunctions

Some auxiliar functions in Sagemath It contains right now a file named MonodromyGroupFunctions.sage with functions mostly related with braid monodromy. Functions are documented. Last update: 11-06-2016.

I use the following code to use these functions in a worksheet or a sage session:

import os
DIR='path_where_the_file_is_universally_accessible/'  
SAGE_LOCATION='path_where_sagemath_is_installed/'  
if 'MonodromyGroupFunctions.sage.py' in os.listdir(DIR):  
    NO=os.system('rm '+DIR+'MonodromyGroupFunctions.sage.py')  
NO=os.system(SAGE_LOCATION+'local/bin/sage-preparse '+DIR+'MonodromyGroupFunctions.sage')  
os.chmod(DIR+'MonodromyGroupFunctions.sage.py',0o666)  
load(DIR+'MonodromyGroupFunctions.sage.py')

In a sage worksheet typeName_Of_The_Function? in a cell to get the description of Name_Of_The_Function and Name_Of_The_Function?? to get the code of the function. Below you find the functions.

  1. LibreNorm(a)
  2. LibreConj(a,b)
  3. revertirF(a)
  4. revertirT(b)
  5. LibreTrenza(libre,trenza)
  6. conjtrenza(lista,n)
  7. relstrenzaconj(lista,n)
  8. relstrenza(lista,n)
  9. invertirlista(lista)
  10. cambio_rel(lista,nuevo,elim)
  11. cambio(grupo,elim_nuevo,elim,lista=[])
  12. cambio_elim(lista,pal,elim)
  13. eliminar(grupo,generador,lista=[])
  14. CyclicComm(lista)
  15. GtoK(G,elto,K)
  16. GtoTietze(G,elto)
  17. abelianizar(tz,m)
  18. MatrizAbel(grupo)
  19. CambioVarSmith(matriz,smith,tt)
  20. caracter(x,R,cambio)
  21. unidades(f,R)
  22. unidadeslista(lista,R)
  23. unidadesmatriz(matriz,R,O='R')
  24. Hay_unidades(A,R,S,dividir=False)
  25. reducir_matriz(A,R,S,dividir=False)
  26. grafoplumbing(grafo,selfint,generos=None,flechas=None)
  27. AnilloMatriz(grupo)
  28. pseudo_coxeter(lista)
  29. gapperm(listatupla)
  30. generadores_trenzas(lista,hilos)
  31. GapConvert(objeto)
  32. HomomorphismGroups(G1,G2,im)
  33. HomImageEl(hom,el)
  34. HomImageSub(hom,lista)
  35. Centralizador(ggap,elgap)
  36. Normalizador(ggap,subgap)
  37. Hurwitz0(B,gensS,br1,br2,GS,lista)
  38. HurwitzTrenza(trenza,lista,grupo)
  39. Hurwitz1(B,gensS,generadores,br1,br2,GS,lista)
  40. HurwitzOrbita(B,gensS,generadores,br1,GS,lista)
  41. burauperm(nm,m,hilos,field=False)
  42. compruebaorbita(orbita,lista)
  43. orbitapermutacion(orbita,grupo,generadores)

About

Some auxiliar functions in Sagemath

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages