|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
RowType - the type of objects used to designate the row part of a position.ColumnType - the type of objects used to designate the column part of a position.public interface IFloatMatrix<RowType,ColumnType>
A matrix which is able to store double values at a set of positions, each position being represented by a row and a
column. Note that special double values such as Double.POSITIVE_INFINITY are accepted.
Vocabulary note: an entry can be a value or can be null, a value is a double number.
| Method Summary | |
|---|---|
IZeroToOneMatrix<RowType,ColumnType> |
getAsFuzzy()
Produces a fuzzy matrix view of this matrix. |
boolean |
isFuzzy()
Tells whether this matrix may be converted to a fuzzy matrix. |
void |
put(RowType row,
ColumnType column,
double value)
Puts a value in this matrix at the position specified by the given row and column. |
Double |
remove(RowType row,
ColumnType column)
Remove the value in this matrix at the position specified by the given row and column. |
| Methods inherited from interface org.decisiondeck.xmcda_oo.utils.matrix.IRdFloatMatrix |
|---|
approxEquals, equals, getColumns, getEntry, getRows, getValueCount, isComplete, isEmpty |
| Method Detail |
|---|
void put(RowType row,
ColumnType column,
double value)
row - not null.column - not null.value - any double.
Double remove(RowType row,
ColumnType column)
row - not null.column - not null.
null iff there was no value at
that position (and, hence, nothing was removed).IZeroToOneMatrix<RowType,ColumnType> getAsFuzzy()
null if this matrix cannot be converted to a fuzzy matrix.boolean isFuzzy()
true iff all the values contained in this matrix are between zero and one.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||