cc.redberry.core.solver
Class ReduceEngine
- java.lang.Object
-
- cc.redberry.core.solver.ReduceEngine
-
public final class ReduceEngine extends java.lang.ObjectThis class implements an algorithm for reducing a system of tensorial equations into system of symbolic equations. The underlying algorithm simply generates tensor of the most general form for each unknown tensorial variable and then tries to build a system of equations fot its coefficients. Note: the implementation does not guaranties that solution (or proof of its absence) will be found.- Since:
- 1.1.5
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static ReducedSystemreduceToSymbolicSystem(Expression[] equations, SimpleTensor[] vars, Transformation[] rules)Tries to reduces a system of tensorial equations into a system of symbolic equations or returnnullif it fails to reduce.static ReducedSystemreduceToSymbolicSystem(Expression[] equations, SimpleTensor[] vars, Transformation[] rules, boolean[] symmetricForm)Tries to reduces a system of tensorial equations into a system of symbolic equations or returnnullif it fails to reduce.
-
-
-
Method Detail
-
reduceToSymbolicSystem
public static ReducedSystem reduceToSymbolicSystem(Expression[] equations, SimpleTensor[] vars, Transformation[] rules)
Tries to reduces a system of tensorial equations into a system of symbolic equations or returnnullif it fails to reduce.- Parameters:
equations- equationsvars- unknown variablesrules- additional transformations/rules to be applied or taken into account- Returns:
- reduced system of symbolic equations and solutions general form
-
reduceToSymbolicSystem
public static ReducedSystem reduceToSymbolicSystem(Expression[] equations, SimpleTensor[] vars, Transformation[] rules, boolean[] symmetricForm)
Tries to reduces a system of tensorial equations into a system of symbolic equations or returnnullif it fails to reduce.- Parameters:
equations- equationsvars- unknown variablesrules- additional transformations/rules to be applied or taken into accountsymmetricForm- specifies whether solutions should be putted into symmetric form (with respect to upper and lower indices separately)- Returns:
- reduced system of symbolic equations and solutions general form
-
-
DataMelt 3.0 © DataMelt by jWork.ORG