Java org.apache.commons.math3.linear ArrayRealVector fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math3.linear ArrayRealVector fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math3.linear ArrayRealVector.

The text is from its open source code.

Subclass

org.apache.commons.math3.linear.ArrayRealVector has subclasses.
Click this link to see all its subclasses.

Constructor

ArrayRealVector(int size)
Construct a vector of zeroes.
ArrayRealVector(double[] d)
Construct a vector from an array, copying the input array.
ArrayRealVector(Double[] d)
Construct a vector from an array.
ArrayRealVector(RealVector v)
Construct a vector from another vector, using a deep copy.
ArrayRealVector(ArrayRealVector v)
Construct a vector from another vector, using a deep copy.
ArrayRealVector(int size, double preset)
Construct a vector with preset values.
ArrayRealVector(double[] d, boolean copyArray)
Create a new ArrayRealVector using the input array as the underlying data array.
ArrayRealVector(ArrayRealVector v, boolean deep)
Construct a vector from another vector.
ArrayRealVector(ArrayRealVector v1, ArrayRealVector v2)
Construct a vector by appending one vector to another vector.
ArrayRealVector(ArrayRealVector v1, RealVector v2)
Construct a vector by appending one vector to another vector.
ArrayRealVector(RealVector v1, ArrayRealVector v2)
Construct a vector by appending one vector to another vector.
ArrayRealVector(ArrayRealVector v1, double[] v2)
Construct a vector by appending one vector to another vector.
ArrayRealVector(double[] v1, ArrayRealVector v2)
Construct a vector by appending one vector to another vector.
ArrayRealVector(double[] v1, double[] v2)
Construct a vector by appending one vector to another vector.
ArrayRealVector()
Build a 0-length vector.

Method

ArrayRealVectoradd(RealVector v)
RealVectorappend(RealVector v)
ArrayRealVectorappend(ArrayRealVector v)
Construct a vector by appending a vector to this vector.
RealVectorappend(double in)
ArrayRealVectorcombineToSelf(double a, double b, RealVector y)
ArrayRealVectorcopy()
doublecosine(RealVector v)
Computes the cosine of the angle between this vector and the argument.
doubledotProduct(RealVector v)
ArrayRealVectorebeDivide(RealVector v)
ArrayRealVectorebeMultiply(RealVector v)
double[]getDataRef()
Get a reference to the underlying data array.
intgetDimension()
doublegetDistance(RealVector v)
doublegetEntry(int index)
doublegetL1Distance(RealVector v)
doublegetMaxValue()
Get the value of the maximum entry.
doublegetMinValue()
Get the value of the minimum entry.
doublegetNorm()
RealVectorgetSubVector(int index, int n)
booleanisNaN()
Check if any coordinate of this vector is NaN .
ArrayRealVectormap(UnivariateFunction function)
RealVectormapAddToSelf(double d)
RealVectormapDivide(double d)
Divide each entry by the argument.
RealVectormapDivideToSelf(double d)
RealVectormapMultiply(double d)
Multiply each entry by the argument.
RealVectormapMultiplyToSelf(double d)
RealVectormapSubtractToSelf(double d)
ArrayRealVectormapToSelf(UnivariateFunction function)
RealMatrixouterProduct(RealVector v)
voidset(double value)
voidsetEntry(int index, double value)
voidsetSubVector(int index, RealVector v)
voidsetSubVector(int index, double[] v)
Set a set of consecutive elements.
ArrayRealVectorsubtract(RealVector v)
double[]toArray()
StringtoString()
voidunitize()
Converts this vector into a unit vector.
RealVectorunitVector()
Creates a unit vector pointing in the direction of this vector.