To speed up calculation time
I ran the same program in mathcad14 and mathcad prime10 through a converter, and it was slower in prime. Below is a program that seems to take a long time to calculate.
I also got the following information:
"The most efficient way to use computer memory when using matrices is to pre-allocate the matrix. To do this, assign 0 to the last element of the matrix. This ensures that there is enough memory for the remaining elements of the matrix. If you dynamically allocate a matrix by filling in the elements of the matrix from the smallest subscript to the largest subscript, it will take longer to calculate and the worksheet will calculate slower."
But I don't know how to improve it.
Can someone tell me?
Translated by the moderation using Google Translate
-----------------------------------------------------------------------------------------------
mathcad14とコンバーターを通した同じプログラムをmathcad prime10で動作させたところ、primeのほうが遅いです。計算に時間がかかると思われるプログラムを以下に示します。




また私は次の情報を得ました。
「行列を使用するときにコンピュータのメモリを最も効率的に使用する方法は、事前に行列を割り当てることです。このためには、行列の最後の要素に 0 を割り当てます。これによって、行列の残りの要素に十分なメモリが確保されます。一番小さな添字から一番大きな添字まで行列の要素を入力することで行列を動的に割り当てた場合、計算に時間がかかり、ワークシートの計算が遅くなります。」
しかし私はどのように改善すればよいかわかりません。
どなたか教えていただけませんか?

