Class MatrixMap.SubMatrix<E>
java.lang.Object
org.nuiton.util.MatrixMap.AbstractMatrixMap<E>
org.nuiton.util.MatrixMap.SubMatrix<E>
Pour l'instant une sous matrice a obligatoirement le meme nombre de dimension
que la matrice qu'elle contient. Elle permet juste de reduire le nombre
d'element d'une dimension.
C'est comme une "vue" réduite sur la vraie matrices.
- Since:
- 2.2.1
- Author:
- Benjamin Poussin - poussin@codelutin.com
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static interfacePermet de faire une conversion de la dimension demandé dans la sous matrice avec la position reel de la matrice sous jacente.protected static classLa conversion est le mapping d'un element vers un autre element.protected static classLa conversion est juste un decalage d'indiceprotected classNested classes/interfaces inherited from interface MatrixMap
MatrixMap.AbstractMatrixMap<E>, MatrixMap.Factory, MatrixMap.MapFunction<E>, MatrixMap.Matrix<E>, MatrixMap.MatrixHelper, MatrixMap.MatrixIterator<E>, MatrixMap.MatrixMapElastic<E>, MatrixMap.MatrixMapFixed<E>, MatrixMap.MatrixMapIterator<E>, MatrixMap.MatrixMapIteratorImpl<E>, MatrixMap.SemanticList<T>, MatrixMap.SubMatrix<E>, MatrixMap.Vector<E> -
Field Summary
FieldsFields inherited from class MatrixMap.AbstractMatrixMap
dim, dimNames, name, semantics -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValueIndex(int... coordinates) Retourne l'element a une certaine position en utilisant des indices ex: 2,3,1iterator()voidsetValueIndex(E value, int... coordinates) Modifie l'element a une certaine position en utilisant des indices ex: 2,3,1Methods inherited from class MatrixMap.AbstractMatrixMap
clone, copy, equals, equals, equalsValues, extend, getDim, getDim, getDimCount, getDimensionName, getDimensionNames, getName, getSemantic, getSemantics, getSubMatrix, getSubMatrix, getSubMatrix, getSubMatrix, getSubMatrix, getSubMatrix, getSubMatrixOnSemantic, getValue, init, isValidCoordinates, isValidCoordinates, map, paste, paste, pasteIndex, reduce, reduce, reduce, reduceDims, setDimensionName, setDimensionNames, setName, setSemantic, setValue, toString, toStringGenericMethods inherited from class Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
matrix
-
converter
-
-
Constructor Details
-
SubMatrix
-
SubMatrix
-
-
Method Details
-
iterator
-
getValueIndex
-
setValueIndex
-