Program Listing for File RadauIA3.m

Return to documentation for file (+Indigo/+Tableau/RadauIA3.m)

%
%> Class container for Radau IA method.
%
classdef RadauIA3 < Indigo.RungeKutta
  %
  methods
    %
    % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    %
    %> Radau IA method.
    %>
    %> \f[
    %> \begin{array}{c|cc}
    %>     0 & 1/4 & -1/4 \\
    %>   2/3 & 1/4 & 5/12 \\
    %>   \hline
    %>       & 1/4 &  3/4
    %> \end{array}
    %> \f]
    %
    function this = RadauIA3()
      tbl.A   = [1/4, -1/4; ...
                 1/4, 5/12];
      tbl.b   = [1/4, 3/4];
      tbl.b_e = [];
      tbl.c   = [0, 2/3]';
      this@Indigo.RungeKutta('RadauIA3', 3, tbl);
    end
    %
    % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    %
  end
  %
end