Package org.ojalgo.matrix.transformation
Class HouseholderColumn<N extends Comparable<N>>
java.lang.Object
org.ojalgo.structure.Access2D.ColumnView<N>
org.ojalgo.matrix.transformation.HouseholderColumn<N>
- All Implemented Interfaces:
Comparable<Access2D.ColumnView<N>>
,Iterable<Access2D.ColumnView<N>>
,Iterator<Access2D.ColumnView<N>>
,Spliterator<Access2D.ColumnView<N>>
,Householder<N>
,HouseholderReference<N>
,Access1D<N>
,Access1D.Collectable<N,
,Mutate1D> Structure1D
final class HouseholderColumn<N extends Comparable<N>>
extends Access2D.ColumnView<N>
implements HouseholderReference<N>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ojalgo.structure.Access1D
Access1D.Aggregatable<N extends Comparable<N>>, Access1D.Collectable<N extends Comparable<N>,
R extends Mutate1D>, Access1D.ElementView<N extends Comparable<N>>, Access1D.SelectionView<N extends Comparable<N>>, Access1D.Sliceable<N extends Comparable<N>>, Access1D.Visitable<N extends 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 java.util.Spliterator
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,
T_CONS, T_SPLITR extends 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
FieldsFields inherited from interface java.util.Spliterator
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
count()
The total number of elements in this structure.double
doubleValue
(int index) int
first()
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.get
(long index) <P extends Householder<N>>
PgetWorker
(PhysicalStore.Factory<N, ?> factory) boolean
isZero()
void
point
(long row, long col) Methods inherited from class org.ojalgo.structure.Access2D.ColumnView
characteristics, column, compareTo, estimateSize, forEachRemaining, goToColumn, hasNext, hasPrevious, iterator, next, previous, remove, 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, axpy, byteValue, byteValue, dot, doubleValue, elements, floatValue, floatValue, intValue, intValue, longValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, 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 java.lang.Iterable
forEach, spliterator
Methods inherited from interface java.util.Spliterator
getComparator, getExactSizeIfKnown, hasCharacteristics
Methods inherited from interface org.ojalgo.structure.Structure1D
size
-
Field Details
-
myFirst
private int myFirst -
myStore
-
myWorker
-
-
Constructor Details
-
HouseholderColumn
-
-
Method Details
-
count
public long count()Description copied from interface:Structure1D
The 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:
count
in interfaceStructure1D
- Overrides:
count
in classAccess2D.ColumnView<N extends Comparable<N>>
-
doubleValue
public double doubleValue(int index) - Specified by:
doubleValue
in interfaceAccess1D<N extends Comparable<N>>
- Overrides:
doubleValue
in classAccess2D.ColumnView<N extends Comparable<N>>
-
first
public int first()Description copied from interface:Householder
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.- Specified by:
first
in interfaceHouseholder<N extends Comparable<N>>
-
get
- Specified by:
get
in interfaceAccess1D<N extends Comparable<N>>
- Overrides:
get
in classAccess2D.ColumnView<N extends Comparable<N>>
-
getWorker
- Specified by:
getWorker
in interfaceHouseholderReference<N extends Comparable<N>>
-
isZero
public boolean isZero()- Specified by:
isZero
in interfaceHouseholderReference<N extends Comparable<N>>
-
point
public void point(long row, long col) - Specified by:
point
in interfaceHouseholderReference<N extends Comparable<N>>
-