Fixed CLIRR error, by putting back protected methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454876 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
56ed0aeb10
commit
55a655ca2b
|
@ -124,6 +124,41 @@ public abstract class AbstractFieldMatrix<T extends FieldElement<T>>
|
|||
return d[0].getField();
|
||||
}
|
||||
|
||||
/** Build an array of elements.
|
||||
* <p>
|
||||
* Complete arrays are filled with field.getZero()
|
||||
* </p>
|
||||
* @param <T> Type of the field elements
|
||||
* @param field field to which array elements belong
|
||||
* @param rows number of rows
|
||||
* @param columns number of columns (may be negative to build partial
|
||||
* arrays in the same way <code>new Field[rows][]</code> works)
|
||||
* @return a new array
|
||||
* @deprecated as of 3.2, replaced by {@link MathArrays#buildArray(Field, int, int)}
|
||||
*/
|
||||
@Deprecated
|
||||
protected static <T extends FieldElement<T>> T[][] buildArray(final Field<T> field,
|
||||
final int rows,
|
||||
final int columns) {
|
||||
return MathArrays.buildArray(field, rows, columns);
|
||||
}
|
||||
|
||||
/** Build an array of elements.
|
||||
* <p>
|
||||
* Arrays are filled with field.getZero()
|
||||
* </p>
|
||||
* @param <T> the type of the field elements
|
||||
* @param field field to which array elements belong
|
||||
* @param length of the array
|
||||
* @return a new array
|
||||
* @deprecated as of 3.2, replaced by {@link MathArrays#buildArray(Field, int)}
|
||||
*/
|
||||
@Deprecated
|
||||
protected static <T extends FieldElement<T>> T[] buildArray(final Field<T> field,
|
||||
final int length) {
|
||||
return MathArrays.buildArray(field, length);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
public Field<T> getField() {
|
||||
return field;
|
||||
|
|
Loading…
Reference in New Issue