Class Householder.Generic<N extends Scalar<N>>
java.lang.Object
org.ojalgo.matrix.transformation.Householder.Generic<N>
- All Implemented Interfaces:
Householder<N>, Access1D<N>, Structure1D
- Enclosing interface:
Householder<N extends Comparable<N>>
public static final class Householder.Generic<N extends Scalar<N>>
extends Object
implements Householder<N>
-
Nested Class Summary
Nested classes/interfaces inherited from interface Access1D
Access1D.Aggregatable<N>, Access1D.Collectable<N,R>, Access1D.ElementView<N>, Access1D.SelectionView<N>, Access1D.Sliceable<N>, Access1D.Visitable<N> Nested classes/interfaces inherited from interface Householder
Householder.Generic<N>, Householder.Primitive32, Householder.Primitive64Nested classes/interfaces inherited from interface Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S,B>, Structure1D.LongIndex, Structure1D.LoopCallback -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGeneric(Scalar.Factory<N> factory, int dim) Generic(Scalar.Factory<N> factory, Householder<N> aTransf) -
Method Summary
Modifier and TypeMethodDescriptioncopy(Householder<N> source) copy(Householder<N> source, N precalculatedBeta) longcount()The total number of elements in this structure.doubledoubleValue(int anInd) 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.get(long index) intsize()The total number of elements in this structure.toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Access1D
asCollectable1D, asKeyed1D, asList, axpy, byteValue, byteValue, dot, doubleValue, elements, floatValue, floatValue, intValue, intValue, longValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, toList, toRawCopy1DMethods inherited from interface Householder
transform
-
Field Details
-
beta
-
first
public int first -
vector
-
myFactory
-
-
Constructor Details
-
Generic
-
Generic
-
-
Method Details
-
copy
-
copy
-
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
-
doubleValue
public double doubleValue(int anInd) - Specified by:
doubleValuein interfaceAccess1D<N extends Scalar<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 Scalar<N>>
-
get
-
size
public int size()Description copied from interface:Structure1DThe total number of elements in this structure.- Specified by:
sizein interfaceStructure1D
-
toString
-