public class TimesOp
extends java.lang.Object
Constructor and Description |
---|
TimesOp(int size) |
Modifier and Type | Method and Description |
---|---|
boolean |
addMerge(IExpr key)
Add or merge the
key, value pair into the given
timesMap . |
boolean |
addMerge(IExpr key,
IExpr value)
Add or merge the
key, value pair into the given
timesMap . |
IExpr |
getProduct()
Get the current evaluated result of the summation as a
Plus() expression with respecting the
OneIdentity attribute. |
static IExpr |
times(IAST timesAST)
Evaluate
Times(a1, a2,...) |
static IExpr |
times(IExpr a1,
IExpr a2)
Evaluate
a0 * a2 . |
static IExpr |
timesNull(IExpr a1,
IExpr a2) |
public boolean addMerge(IExpr key)
key, value
pair into the given
timesMap
.key
- the key expressionpublic boolean addMerge(IExpr key, IExpr value)
key, value
pair into the given
timesMap
.key
- the key expressionvalue
- the value expressionpublic IExpr getProduct()
Plus()
expression with respecting the
OneIdentity
attribute.public static IExpr times(IAST timesAST)
Times(a1, a2,...)
.a0
- a1
- public static IExpr times(IExpr a1, IExpr a2)
a0 * a2
.a1
- a2
-