Module ojalgo
Package org.ojalgo.matrix.transformation
Class HouseholderRow<N extends java.lang.Comparable<N>>
- java.lang.Object
-
- org.ojalgo.structure.Access2D.RowView<N>
-
- org.ojalgo.matrix.transformation.HouseholderRow<N>
-
- All Implemented Interfaces:
java.lang.Comparable<Access2D.RowView<N>>,java.lang.Iterable<Access2D.RowView<N>>,java.util.Iterator<Access2D.RowView<N>>,java.util.Spliterator<Access2D.RowView<N>>,Householder<N>,HouseholderReference<N>,Access1D<N>,Access1D.Collectable<N,Mutate1D>,Mutate1D,Structure1D
final class HouseholderRow<N extends java.lang.Comparable<N>> extends Access2D.RowView<N> implements HouseholderReference<N>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Access1D
Access1D.Aggregatable<N extends java.lang.Comparable<N>>, Access1D.Collectable<N extends java.lang.Comparable<N>,R extends Mutate1D>, Access1D.ElementView<N extends java.lang.Comparable<N>>, Access1D.SelectionView<N extends java.lang.Comparable<N>>, Access1D.Sliceable<N extends java.lang.Comparable<N>>, Access1D.Visitable<N extends java.lang.Comparable<N>>
-
Nested classes/interfaces inherited from interface org.ojalgo.matrix.transformation.Householder
Householder.Generic<N extends Scalar<N>>, Householder.Primitive32, Householder.Primitive64
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Mutate1D
Mutate1D.Fillable<N extends java.lang.Comparable<N>>, Mutate1D.Mixable<N extends java.lang.Comparable<N>>, Mutate1D.Modifiable<N extends java.lang.Comparable<N>>, Mutate1D.ModifiableReceiver<N extends java.lang.Comparable<N>>, Mutate1D.Receiver<N extends java.lang.Comparable<N>>, Mutate1D.Sortable
-
Nested classes/interfaces inherited from interface java.util.Spliterator
java.util.Spliterator.OfDouble, java.util.Spliterator.OfInt, java.util.Spliterator.OfLong, java.util.Spliterator.OfPrimitive<T extends java.lang.Object,T_CONS extends java.lang.Object,T_SPLITR extends java.util.Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,B extends Structure1D.Logical<S,B>>, Structure1D.LongIndex, Structure1D.LoopCallback
-
-
Field Summary
Fields Modifier and Type Field Description private intmyFirstprivate MatrixStore<N>myStoreprivate Householder<N>myWorker
-
Constructor Summary
Constructors Constructor Description HouseholderRow(MatrixStore<N> store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcount()The total number of elements in this structure.doubledoubleValue(int index)intfirst()Regardless of what is actually returned by Access1D.doubleValue(long) and/or Access1D.get(long) vector elements with indeces less than 'first' should be assumed to be, and treated as if they are, zero.Nget(long index)<P extends Householder<N>>
PgetWorker(PhysicalStore.Factory<N,?> factory)booleanisZero()voidpoint(long row, long col)-
Methods inherited from class org.ojalgo.structure.Access2D.RowView
characteristics, compareTo, estimateSize, forEachRemaining, goToRow, hasNext, hasPrevious, iterator, next, previous, remove, row, set, set, size, stream, supplyTo, toString, tryAdvance, trySplit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ojalgo.structure.Access1D
asCollectable1D, asKeyed1D, asList, axpy, byteValue, byteValue, dot, doubleValue, elements, floatValue, floatValue, intValue, intValue, longValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, toList, toRawCopy1D
-
Methods inherited from interface org.ojalgo.structure.Access1D.Collectable
collect
-
Methods inherited from interface org.ojalgo.matrix.transformation.Householder
transform
-
Methods inherited from interface org.ojalgo.structure.Mutate1D
reset, set, set, set, set, set, set, set, set, set, set, set
-
Methods inherited from interface java.util.Spliterator
getComparator, getExactSizeIfKnown, hasCharacteristics
-
Methods inherited from interface org.ojalgo.structure.Structure1D
size
-
-
-
-
Field Detail
-
myFirst
private int myFirst
-
myStore
private final MatrixStore<N extends java.lang.Comparable<N>> myStore
-
myWorker
private transient Householder<N extends java.lang.Comparable<N>> myWorker
-
-
Constructor Detail
-
HouseholderRow
public HouseholderRow(MatrixStore<N> store)
-
-
Method Detail
-
count
public long count()
Description copied from interface:Structure1DThe total number of elements in this structure.You only need to implement this method if the structure can contain more than Integer.MAX_VALUE elements.
- Specified by:
countin interfaceStructure1D- Overrides:
countin classAccess2D.RowView<N extends java.lang.Comparable<N>>
-
doubleValue
public double doubleValue(int index)
- Specified by:
doubleValuein interfaceAccess1D<N extends java.lang.Comparable<N>>- Overrides:
doubleValuein classAccess2D.RowView<N extends java.lang.Comparable<N>>
-
first
public int first()
Description copied from interface:HouseholderRegardless of what is actually returned by Access1D.doubleValue(long) and/or Access1D.get(long) vector elements with indeces less than 'first' should be assumed to be, and treated as if they are, zero.- Specified by:
firstin interfaceHouseholder<N extends java.lang.Comparable<N>>
-
get
public N get(long index)
-
getWorker
public <P extends Householder<N>> P getWorker(PhysicalStore.Factory<N,?> factory)
- Specified by:
getWorkerin interfaceHouseholderReference<N extends java.lang.Comparable<N>>
-
isZero
public boolean isZero()
- Specified by:
isZeroin interfaceHouseholderReference<N extends java.lang.Comparable<N>>
-
point
public void point(long row, long col)- Specified by:
pointin interfaceHouseholderReference<N extends java.lang.Comparable<N>>
-
-