public class Matrix extends PMMLObject
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice minOccurs="0">
<group ref="{http://www.dmg.org/PMML-4_3}NUM-ARRAY" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_3}MatCell" maxOccurs="unbounded"/>
</choice>
<attribute name="kind" default="any">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="diagonal"/>
<enumeration value="symmetric"/>
<enumeration value="any"/>
</restriction>
</simpleType>
</attribute>
<attribute name="nbRows" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="nbCols" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="diagDefault" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
<attribute name="offDiagDefault" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Matrix.Kind
Java class for null.
|
| Constructor and Description |
|---|
Matrix() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Matrix |
addArrays(Array... arrays) |
Matrix |
addMatCells(MatCell... matCells) |
List<Array> |
getArrays()
Gets the value of the arrays property.
|
Double |
getDiagDefault()
Gets the value of the diagDefault property.
|
Matrix.Kind |
getKind()
Gets the value of the kind property.
|
List<MatCell> |
getMatCells()
Gets the value of the matCells property.
|
Integer |
getNbCols()
Gets the value of the nbCols property.
|
Integer |
getNbRows()
Gets the value of the nbRows property.
|
Double |
getOffDiagDefault()
Gets the value of the offDiagDefault property.
|
boolean |
hasArrays() |
boolean |
hasMatCells() |
Matrix |
setDiagDefault(Double diagDefault)
Sets the value of the diagDefault property.
|
Matrix |
setKind(Matrix.Kind kind)
Sets the value of the kind property.
|
Matrix |
setNbCols(Integer nbCols)
Sets the value of the nbCols property.
|
Matrix |
setNbRows(Integer nbRows)
Sets the value of the nbRows property.
|
Matrix |
setOffDiagDefault(Double offDiagDefault)
Sets the value of the offDiagDefault property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic Matrix.Kind getKind()
Matrix.Kindpublic Matrix setKind(Matrix.Kind kind)
kind - allowed object is
Matrix.Kindpublic Integer getNbRows()
Integerpublic Matrix setNbRows(Integer nbRows)
nbRows - allowed object is
Integerpublic Integer getNbCols()
Integerpublic Matrix setNbCols(Integer nbCols)
nbCols - allowed object is
Integerpublic Double getDiagDefault()
Doublepublic Matrix setDiagDefault(Double diagDefault)
diagDefault - allowed object is
Doublepublic Double getOffDiagDefault()
Doublepublic Matrix setOffDiagDefault(Double offDiagDefault)
offDiagDefault - allowed object is
Doublepublic List<Array> getArrays()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the arrays property.
For example, to add a new item, do as follows:
getArrays().add(newItem);
Objects of the following type(s) are allowed in the list
Array
public List<MatCell> getMatCells()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the matCells property.
For example, to add a new item, do as follows:
getMatCells().add(newItem);
Objects of the following type(s) are allowed in the list
MatCell
public boolean hasArrays()
public boolean hasMatCells()
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.