|\^/| Maple 2026 (X86 64 LINUX) ._|\| |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2026 \ MAPLE / All rights reserved. Maple is a trademark of <____ ____> Waterloo Maple Inc. | Type ? for help. > kernelopts(numcpus=1); 96 # setting numcpus to 1 is not sufficient to turn off multicores for LinearAgebra which is an external library # In Unix use setenv OMP_NUM_CORES 1 in the shell > U := rand(10^10): > F := proc() Float(U(),-10) end: # create 10 digit float on [0,1) > with(linalg): > with(LinearAlgebra): > for n in [50,100,200] do > printf("n=%d\n\n",n); > A := matrix(n,n,F): > B := matrix(n,n,F): > b := vector(n,F): > C := augment(A,b): # Using the old linalg package with software floats > CodeTools[Usage](rref(C)): > CodeTools[Usage](linsolve(A,b)): > CodeTools[Usage](multiply(A,B)): > CodeTools[Usage](singularvals(A)): > CodeTools[Usage](eigenvalues(A)): > printf("LinearAlgebra\n"); # Using the new Linear Algebra package with hardware floats > A := Matrix(convert(A,listlist),datatype=float[8]): > B := Matrix(convert(B,listlist),datatype=float[8]): > b := Vector(convert(b,list),datatype=float[8]): > C := : > CodeTools[Usage](ReducedRowEchelonForm(A)): # slow? # Run these 100 times to get an accurate timing > CodeTools[Usage](to 100 do LinearSolve(A,b) od): > CodeTools[Usage](to 100 do A.B od): > CodeTools[Usage](to 100 do SingularValues(A) od): > CodeTools[Usage](to 100 do Eigenvalues(A) od); > od: n=50 memory used=5.5MB, alloc=41.3MB, time=0.07 memory used=36.38MiB, alloc change=38.01MiB, cpu time=281.00ms, real time=282.00ms, gc time=5.95ms memory used=47.4MB, alloc=44.3MB, time=0.41 memory used=19.45MiB, alloc change=-3.01MiB, cpu time=189.00ms, real time=190.00ms, gc time=20.60ms memory used=89.2MB, alloc=52.3MB, time=0.75 memory used=39.75MiB, alloc change=8.00MiB, cpu time=324.00ms, real time=325.00ms, gc time=24.32ms memory used=123.3MB, alloc=48.3MB, time=1.06 memory used=33.61MiB, alloc change=-4.00MiB, cpu time=350.00ms, real time=350.00ms, gc time=22.03ms memory used=1.28MiB, alloc change=0 bytes, cpu time=234.00ms, real time=235.00ms, gc time=0ns LinearAlgebra memory used=147.7MB, alloc=48.3MB, time=1.60 memory used=27.00MiB, alloc change=0 bytes, cpu time=313.00ms, real time=1.42s, gc time=23.00ms memory used=5.54MiB, alloc change=0 bytes, cpu time=42.00ms, real time=42.00ms, gc time=0ns memory used=2.16MiB, alloc change=120.00KiB, cpu time=6.00ms, real time=10.00ms, gc time=0ns memory used=178.0MB, alloc=51.9MB, time=1.87 memory used=7.15MiB, alloc change=3.48MiB, cpu time=68.00ms, real time=68.00ms, gc time=20.46ms memory used=10.15MiB, alloc change=0 bytes, cpu time=125.00ms, real time=126.00ms, gc time=0ns n=100 memory used=213.4MB, alloc=51.9MB, time=2.31 memory used=241.1MB, alloc=51.9MB, time=2.59 memory used=268.7MB, alloc=51.9MB, time=2.89 memory used=296.3MB, alloc=51.9MB, time=3.17 memory used=324.0MB, alloc=51.9MB, time=3.46 memory used=351.7MB, alloc=51.9MB, time=3.75 memory used=379.4MB, alloc=51.9MB, time=4.04 memory used=407.1MB, alloc=51.9MB, time=4.33 memory used=237.10MiB, alloc change=0 bytes, cpu time=2.46s, real time=2.46s, gc time=307.57ms memory used=434.9MB, alloc=51.9MB, time=4.61 memory used=465.2MB, alloc=51.9MB, time=4.89 memory used=494.2MB, alloc=51.9MB, time=5.18 memory used=522.3MB, alloc=51.9MB, time=5.45 memory used=550.7MB, alloc=51.9MB, time=5.73 memory used=144.77MiB, alloc change=0 bytes, cpu time=1.40s, real time=1.41s, gc time=198.00ms memory used=580.8MB, alloc=51.9MB, time=6.03 memory used=610.7MB, alloc=51.9MB, time=6.35 memory used=640.7MB, alloc=51.9MB, time=6.67 memory used=670.5MB, alloc=83.9MB, time=7.01 memory used=711.4MB, alloc=83.9MB, time=7.43 memory used=753.1MB, alloc=83.9MB, time=7.89 memory used=794.9MB, alloc=83.9MB, time=8.33 memory used=252.65MiB, alloc change=32.00MiB, cpu time=2.72s, real time=2.72s, gc time=289.12ms memory used=836.0MB, alloc=83.9MB, time=8.78 memory used=916.8MB, alloc=99.9MB, time=9.47 memory used=981.5MB, alloc=99.9MB, time=10.12 memory used=1046.2MB, alloc=99.9MB, time=10.79 memory used=276.08MiB, alloc change=16.00MiB, cpu time=2.85s, real time=2.86s, gc time=239.04ms memory used=1110.3MB, alloc=91.9MB, time=11.65 memory used=4.90MiB, alloc change=-8.00MiB, cpu time=1.68s, real time=1.68s, gc time=60.53ms LinearAlgebra memory used=1151.1MB, alloc=91.9MB, time=13.66 memory used=1194.9MB, alloc=91.9MB, time=14.16 memory used=101.61MiB, alloc change=0 bytes, cpu time=1.12s, real time=1.13s, gc time=76.60ms memory used=11.27MiB, alloc change=1.02MiB, cpu time=51.00ms, real time=51.00ms, gc time=0ns memory used=7.82MiB, alloc change=7.81MiB, cpu time=9.00ms, real time=9.00ms, gc time=0ns memory used=14.32MiB, alloc change=10.44MiB, cpu time=94.00ms, real time=95.00ms, gc time=0ns memory used=1256.3MB, alloc=115.8MB, time=14.80 memory used=16.62MiB, alloc change=4.61MiB, cpu time=589.00ms, real time=589.00ms, gc time=30.49ms n=200 memory used=1331.4MB, alloc=115.8MB, time=16.06 memory used=1385.8MB, alloc=115.8MB, time=16.65 memory used=1440.3MB, alloc=115.8MB, time=17.27 memory used=1494.6MB, alloc=115.8MB, time=17.87 memory used=1549.0MB, alloc=115.8MB, time=18.48 memory used=1603.5MB, alloc=115.8MB, time=19.09 memory used=1658.0MB, alloc=115.8MB, time=19.70 memory used=1712.5MB, alloc=115.8MB, time=20.30 memory used=1767.1MB, alloc=115.8MB, time=20.92 memory used=1821.6MB, alloc=115.8MB, time=21.52 memory used=1876.0MB, alloc=115.8MB, time=22.14 memory used=1930.6MB, alloc=115.8MB, time=22.75 memory used=1985.1MB, alloc=115.8MB, time=23.37 memory used=2039.7MB, alloc=115.8MB, time=23.99 memory used=2094.2MB, alloc=115.8MB, time=24.62 memory used=2148.8MB, alloc=115.8MB, time=25.23 memory used=2203.5MB, alloc=115.8MB, time=25.84 memory used=2258.1MB, alloc=115.8MB, time=26.45 memory used=2312.8MB, alloc=115.8MB, time=27.07 memory used=2367.4MB, alloc=115.8MB, time=27.68 memory used=2422.1MB, alloc=115.8MB, time=28.28 memory used=2476.9MB, alloc=115.8MB, time=28.88 memory used=2531.7MB, alloc=115.8MB, time=29.49 memory used=2586.5MB, alloc=115.8MB, time=30.10 memory used=2641.4MB, alloc=115.8MB, time=30.71 memory used=2696.3MB, alloc=115.8MB, time=31.31 memory used=2751.2MB, alloc=115.8MB, time=31.90 memory used=2806.1MB, alloc=115.8MB, time=32.51 memory used=2861.1MB, alloc=115.8MB, time=33.10 memory used=2916.2MB, alloc=115.8MB, time=33.70 memory used=2971.3MB, alloc=115.8MB, time=34.30 memory used=3026.4MB, alloc=115.8MB, time=34.91 memory used=3081.8MB, alloc=115.8MB, time=35.51 memory used=3137.0MB, alloc=115.8MB, time=36.10 memory used=1.83GiB, alloc change=0 bytes, cpu time=20.80s, real time=20.85s, gc time=3.33s memory used=3198.3MB, alloc=115.8MB, time=36.75 memory used=3261.7MB, alloc=115.8MB, time=37.41 memory used=3316.9MB, alloc=115.8MB, time=37.97 memory used=3375.7MB, alloc=115.8MB, time=38.56 memory used=3435.5MB, alloc=115.8MB, time=39.16 memory used=3495.6MB, alloc=115.8MB, time=39.77 memory used=3549.8MB, alloc=115.8MB, time=40.34 memory used=3595.3MB, alloc=115.8MB, time=40.86 memory used=3649.3MB, alloc=115.8MB, time=41.42 memory used=3704.5MB, alloc=115.8MB, time=41.98 memory used=3762.9MB, alloc=115.8MB, time=42.58 memory used=3817.6MB, alloc=115.8MB, time=43.12 memory used=3876.4MB, alloc=115.8MB, time=43.72 memory used=3931.1MB, alloc=115.8MB, time=44.29 memory used=3989.1MB, alloc=115.8MB, time=44.92 memory used=4048.0MB, alloc=115.8MB, time=45.54 memory used=4104.9MB, alloc=115.8MB, time=46.13 memory used=4160.9MB, alloc=115.8MB, time=46.71 memory used=4218.2MB, alloc=115.8MB, time=47.32 memory used=4274.5MB, alloc=115.8MB, time=47.92 memory used=1.10GiB, alloc change=0 bytes, cpu time=11.73s, real time=11.76s, gc time=2.21s memory used=4332.7MB, alloc=115.8MB, time=48.56 memory used=4392.2MB, alloc=115.8MB, time=49.21 memory used=4451.6MB, alloc=115.8MB, time=49.90 memory used=4511.0MB, alloc=115.8MB, time=50.57 memory used=4570.5MB, alloc=115.8MB, time=51.24 memory used=4629.7MB, alloc=115.8MB, time=51.93 memory used=4689.1MB, alloc=147.8MB, time=52.62 memory used=4767.6MB, alloc=147.8MB, time=53.53 memory used=4845.9MB, alloc=147.8MB, time=54.41 memory used=4920.4MB, alloc=147.8MB, time=55.27 memory used=4996.0MB, alloc=147.8MB, time=56.13 memory used=5074.4MB, alloc=147.8MB, time=57.00 memory used=5147.9MB, alloc=147.8MB, time=57.82 memory used=5214.1MB, alloc=147.8MB, time=58.55 memory used=5287.2MB, alloc=147.8MB, time=59.37 memory used=5363.5MB, alloc=147.8MB, time=60.25 memory used=5437.0MB, alloc=147.8MB, time=61.10 memory used=5513.2MB, alloc=147.8MB, time=61.95 memory used=5588.5MB, alloc=147.8MB, time=62.80 memory used=5657.8MB, alloc=147.8MB, time=63.60 memory used=5736.3MB, alloc=147.8MB, time=64.48 memory used=5811.2MB, alloc=147.8MB, time=65.34 memory used=5883.6MB, alloc=147.8MB, time=66.15 memory used=5959.1MB, alloc=147.8MB, time=67.00 memory used=6034.7MB, alloc=147.8MB, time=67.88 memory used=6107.4MB, alloc=147.8MB, time=68.72 memory used=6176.0MB, alloc=147.8MB, time=69.52 memory used=6247.2MB, alloc=147.8MB, time=70.35 memory used=6317.0MB, alloc=147.8MB, time=71.17 memory used=1.97GiB, alloc change=32.00MiB, cpu time=23.08s, real time=23.14s, gc time=3.01s memory used=6386.0MB, alloc=147.8MB, time=71.97 memory used=6457.3MB, alloc=147.8MB, time=72.77 memory used=6528.5MB, alloc=147.8MB, time=73.55 memory used=6604.4MB, alloc=147.8MB, time=74.42 memory used=6676.8MB, alloc=147.8MB, time=75.26 memory used=6749.3MB, alloc=147.8MB, time=76.11 memory used=6819.4MB, alloc=147.8MB, time=76.91 memory used=6893.1MB, alloc=147.8MB, time=77.77 memory used=6966.8MB, alloc=147.8MB, time=78.62 memory used=7037.7MB, alloc=147.8MB, time=79.43 memory used=7113.9MB, alloc=147.8MB, time=80.31 memory used=7185.5MB, alloc=147.8MB, time=81.13 memory used=7259.9MB, alloc=147.8MB, time=81.99 memory used=7332.2MB, alloc=147.8MB, time=82.84 memory used=7408.0MB, alloc=147.8MB, time=83.73 memory used=7477.6MB, alloc=147.8MB, time=84.54 memory used=7550.1MB, alloc=147.8MB, time=85.41 memory used=7620.3MB, alloc=147.8MB, time=86.24 memory used=7689.7MB, alloc=147.8MB, time=87.03 memory used=7755.1MB, alloc=147.8MB, time=87.82 memory used=7830.7MB, alloc=147.8MB, time=88.68 memory used=7902.8MB, alloc=147.8MB, time=89.50 memory used=7974.9MB, alloc=147.8MB, time=90.36 memory used=8049.6MB, alloc=147.8MB, time=91.22 memory used=8123.1MB, alloc=147.8MB, time=92.06 memory used=8196.7MB, alloc=147.8MB, time=92.91 memory used=8265.6MB, alloc=147.8MB, time=93.71 memory used=8340.2MB, alloc=147.8MB, time=94.57 memory used=2.00GiB, alloc change=0 bytes, cpu time=24.97s, real time=25.03s, gc time=3.59s memory used=19.14MiB, alloc change=0 bytes, cpu time=12.91s, real time=12.94s, gc time=0ns LinearAlgebra memory used=8399.7MB, alloc=147.8MB, time=109.34 memory used=8456.9MB, alloc=147.8MB, time=109.97 memory used=8518.7MB, alloc=147.8MB, time=110.67 memory used=8585.3MB, alloc=147.8MB, time=111.39 memory used=8656.9MB, alloc=147.8MB, time=112.18 memory used=8732.0MB, alloc=147.8MB, time=112.98 memory used=405.46MiB, alloc change=0 bytes, cpu time=4.46s, real time=4.47s, gc time=313.68ms memory used=8831.2MB, alloc=147.8MB, time=113.78 memory used=34.32MiB, alloc change=0 bytes, cpu time=134.00ms, real time=134.00ms, gc time=44.97ms memory used=8860.5MB, alloc=147.8MB, time=113.95 memory used=8862.4MB, alloc=403.8MB, time=114.07 memory used=30.71MiB, alloc change=256.00MiB, cpu time=287.00ms, real time=288.00ms, gc time=237.93ms memory used=40.34MiB, alloc change=0 bytes, cpu time=314.00ms, real time=315.00ms, gc time=0ns memory used=42.87MiB, alloc change=0 bytes, cpu time=2.31s, real time=2.31s, gc time=0ns > quit memory used=8946.8MB, alloc=403.8MB, time=116.70