Tag library name: polyparser-taglib
Index of Tags and Functions. | |
Functions |
Authors: | |||
Name | Institution | Role | |
E. Reinaldo Barreiro | Technical University of Eindhoven (TU/e) | info@mathdox.org | Main author |
Description: |
|
Download and Install: | |||||||||||||||
|
Functions |
1- dmptostr (function). | |
Description: |
Produces a string representation of a DMP. |
Function Class: |
nl.tue.win.riaca.taglib.polyparser.PolyParserFunctions |
Function Signature: |
java.lang.String dmpToStr( java.lang.String ) |
Examples: | |
Snippet 1: |
<c:out value="polyparser:dpmtostr(param.a)"/> |
2- expand (function). | |
Description: |
Expands and simplifies an Algebraic Expression. |
Function Class: |
nl.tue.win.riaca.taglib.polyparser.PolyParserFunctions |
Function Signature: |
java.lang.String expand( java.lang.String ) |
Examples: | |
Snippet 1: |
<c:if test="${not empty param.a}"> <c:out value="polyparser:expand(param.a)"/> </if> |
3- isDMP (function). | |
Description: |
Tests if a string is a Multivariate Polynomial |
Function Class: |
nl.tue.win.riaca.taglib.polyparser.PolyParserFunctions |
Function Signature: |
java.lang.Boolean isMultPolynomial( java.lang.String ) |
Examples: | |
Snippet 1: |
<c:if test="${polyparser:isDMP(param.a)}"> <c:out value="polyparser:toDMP(param.a)"/> </if> |
4- isUnivPolynomial (function). | |
Description: |
Tests if a string is can be parsed into an Univariate Polynomial. We assume the polynomial is written as aN*x^N+....+a1*x+a0 where the ai are rational numbers. |
Function Class: |
nl.tue.win.riaca.taglib.polyparser.PolyParserFunctions |
Function Signature: |
java.lang.Boolean isUnivPolynomial( java.lang.String ) |
Examples: | |
Snippet 1: |
<c:if test="${polyparser:isUnivPolynomial(param.a)}"> <!-- do something with the (string) integer in a --> </if> |
5- modn (function). | |
Description: |
Produces the mod N object. |
Function Class: |
nl.tue.win.riaca.taglib.polyparser.PolyParserFunctions |
Function Signature: |
java.lang.String modN( java.lang.String, java.lang.Integer ) |
Examples: | |
Snippet 1: |
<c:out value="polyparser:modN(param.a, '5' )"/> |
6- toAlgExpr (function). | |
Description: |
Tries to build a Distributed Multivariate Polynomial (polyd.DMP). |
Function Class: |
nl.tue.win.riaca.taglib.polyparser.PolyParserFunctions |
Function Signature: |
java.lang.String toAlgExpr( java.lang.String ) |
Examples: | |
Snippet 1: |
<c:out value="polyparser:toAlgExpr(param.a)"/> |
7- toDMP (function). | |
Description: |
Tries to build a Distributed Multivariate Polynomial (polyd.DMP). |
Function Class: |
nl.tue.win.riaca.taglib.polyparser.PolyParserFunctions |
Function Signature: |
java.lang.String toDMP( java.lang.String ) |
Examples: | |
Snippet 1: |
<c:if test="${polyparser:isMultPolynomial(param.a)}"> <c:out value="polyparser:toDMP(param.a)"/> </if> |
8- toUnivPolynomial (function). | |
Description: |
Tries to build a Univariate Polynomial |
Function Class: |
nl.tue.win.riaca.taglib.polyparser.PolyParserFunctions |
Function Signature: |
java.lang.String toUnivPolynomial( java.lang.String ) |
Examples: | |
Snippet 1: |
<c:if test="${polyparser:isUnivPolynomial(param.a)}"> <c:out value="polyparser:toUnivPolynomial(param.a)"/> </if> |