public class MatrixUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static org.apache.commons.math3.linear.RealMatrix |
asRealMatrix(org.dmg.pmml.Matrix matrix) |
static int |
getColumns(org.dmg.pmml.Matrix matrix) |
static java.lang.Number |
getElementAt(org.dmg.pmml.Matrix matrix,
int row,
int column) |
static int |
getRows(org.dmg.pmml.Matrix matrix) |
public static org.apache.commons.math3.linear.RealMatrix asRealMatrix(org.dmg.pmml.Matrix matrix)
public static java.lang.Number getElementAt(org.dmg.pmml.Matrix matrix,
int row,
int column)
row - The row index. The index of the first row is 1.column - The column index. The index of the first column is 1.null.java.lang.IndexOutOfBoundsException - If either the row or column index is out of range.public static int getRows(org.dmg.pmml.Matrix matrix)
public static int getColumns(org.dmg.pmml.Matrix matrix)
Copyright © 2025. All Rights Reserved.