Integreat`GLM`
Integreat`GLM`

GLMCompose

GLMCompose[{{glm1,w1},{glm2,w2},}]

composes glm1, glm2, with steps sizes scaled by w1, w2, , respectively.

GLMCompose[{glm1,glm2,}]

creates a general linear method from a step of glm1, glm2, in sequence.

glm1[glm2]

composes a step of glm1 with a step of glm2.

glm^p

composes p steps of glm with step size h/p.

Details and Options

  • General linear methods are closed under composition, i.e., applying a general linear method to the solution produced by another.
  • GLMCompose[{glm1,glm2,}] is equivalent to GLMCompose[{{glm1,1},{glm2,1},}].
  • glm^p is equivalent to GLMCompose[{{glm,1/p},,{glm,1/p}}].

Examples

Basic Examples  (2)

Compose three methods with different step sizes:

Two half steps of a generic general linear method:

Tech Notes
  • General Linear Methods