Package org.ojalgo.matrix.transformation
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 java.lang.Comparable<N>>
public static final class Householder.Generic<N extends Scalar<N>> extends java.lang.Object implements Householder<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.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,B extends Structure1D.Logical<S,B>>, Structure1D.LongIndex, Structure1D.LoopCallback
-
-
Constructor Summary
Constructors Constructor Description Generic(Scalar.Factory<N> factory, int dim)
Generic(Scalar.Factory<N> factory, Householder<N> aTransf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Householder.Generic<N>
copy(Householder<N> source)
Householder.Generic<N>
copy(Householder<N> source, N precalculatedBeta)
long
count()
The total number of elements in this structure.double
doubleValue(int anInd)
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.N
get(long index)
int
size()
The total number of elements in this structure.java.lang.String
toString()
-
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.matrix.transformation.Householder
transform
-
-
-
-
Constructor Detail
-
Generic
public Generic(Scalar.Factory<N> factory, Householder<N> aTransf)
-
Generic
public Generic(Scalar.Factory<N> factory, int dim)
-
-
Method Detail
-
copy
public Householder.Generic<N> copy(Householder<N> source)
-
copy
public Householder.Generic<N> copy(Householder<N> source, N precalculatedBeta)
-
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
-
doubleValue
public double doubleValue(int anInd)
- Specified by:
doubleValue
in interfaceAccess1D<N extends Scalar<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 Scalar<N>>
-
size
public int size()
Description copied from interface:Structure1D
The total number of elements in this structure.- Specified by:
size
in interfaceStructure1D
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-