CYCLUS
Static Public Member Functions | List of all members
cyclus::UniformTaylor Class Reference

Detailed Description

A class that solves the matrix exponential problem using the Taylor Series with Uniformization method.

Definition at line 14 of file uniform_taylor.h.

#include <uniform_taylor.h>

Static Public Member Functions

static Vector MatrixExpSolver (const Matrix &A, const Vector &x_o, const double t)
 

Member Function Documentation

◆ MatrixExpSolver()

Vector cyclus::UniformTaylor::MatrixExpSolver ( const Matrix A,
const Vector x_o,
const double  t 
)
static

Solves the matrix exponential problem:

dx(t) --— = A * x(t) dt

where A is an nxn Matrix and x(t) is a nx1 Vector. The solution to this equation can be determined by calculating:

x(t) = e^(tA) * x(t=0)

Parameters
Athe Matrix
x_othe initial condition Vector x(t=0)
tthe value for which the solution is being evaluated
Returns
the solution Vector x(t)
Exceptions
<string>if the Uniform Taylor method cannot be used

Definition at line 12 of file uniform_taylor.cc.


The documentation for this class was generated from the following files: