CoCalc Public Filestmp / sage-6.4.sagewsOpen in with one click!
Authors: Harald Schilly, ℏal Snyder, William A. Stein
d4e712b0-b780-47d3-a18c-2ef8df1bc696 492a3bb8-0e79-45f6-80fb-ef0ff55fd640s import ore_algebra
2+3
5
%latex $x^3$

x3x^3

version() version()
'Sage Version 6.4, Release Date: 2014-11-14' 'Sage Version 6.4, Release Date: 2014-11-14'
2+3
5
a = random_matrix(ZZ,400)
%time a._clear_cache(); a.determinant()
-350689952587425954063510725636798311652429893163941722662445281536760737114668796714020442858117317494035032857466275008271855464927956287004211283433266927644589354646916869594619680015715712265510876207105504027888403100538160775177063368104911206772984013582959648692395881014400469197276871427819036796919190178819411556024753356637094855137155931016885741654632308836788348818168297755459677544645509037034332930480551779265539950381682824071068972534226895258376208750478563670066673792251685552748290745709667384615474341827947267596173831086413093089006144188245154153028441139946749318978388768902234879298219818850630075327760593032700630234453260485674492489324463991352542893824305153074231416814880989290376023431897249423785559419857958781701879354294038993074804497435047027928514848939379287609854905893434715029598554210260603611204307803369956313090498592783066510288950056808532348058442256041124939482895890842503641011481432642252692400309795680603975904931551393040708999039274806494663622857973363506785179114856935626 CPU time: 0.43 s, Wall time: 0.43 s
%time b=a*a
CPU time: 0.07 s, Wall time: 0.08 s
%time D = ModularSymbols(600,2,sign=1).new_subspace().decomposition()
CPU time: 0.98 s, Wall time: 0.98 s
scilab.eval('2+3')
'\x1b[4l \x08\x1b[0m ans =\n \n 5.'
%scilab 2+3
 ans = 5.
%r plot(c(1,2,3))
@interact def f(n=5): print n
Interact: please open in CoCalc