What is the maximum number of equations can be solved by ode15s solver?

조회 수: 1 (최근 30일)
AZZAM YOUNUS
AZZAM YOUNUS 2016년 1월 7일
댓글: John D'Errico 2016년 1월 7일
As pde15s solver can solve a system of n equations. What is the maximum value of n?
  댓글 수: 1
Torsten
Torsten 2016년 1월 7일
If you have enough time and computer power: as much as you like.
Best wishes
Torsten.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2016년 1월 7일
4503599627370495 is the most you can count on; beyond that you would not be sure that Mathworks has been careful to code all of their indices as uint64 instead of as double.
This assumes that you have a pre-production x64 architecture chip that implements more than 48 address bits, as otherwise you would be restricted by x64 architecture to 2^48-1 bytes per array, and as 8 bytes are needed for each output value, that would restrict you to a mere 2^45-1 (35184372088831) equations until Intel gets its act together. It is a real nuisance for the people who have more than 2 petabytes of RAM installed :(
  댓글 수: 1
John D'Errico
John D'Errico 2016년 1월 7일
I have some new hexabyte RAM chips on order, but they are taking a long time to arrive.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by