Class RealComplexDenseVectorOperations
java.lang.Object
org.flag4j.operations.dense.real_complex.RealComplexDenseVectorOperations
This class provides low level implementations for vector operations with a real/complex dense vector and a complex/real
dense vector.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CNumber[]
Adds a scalar value to all entries of a tensor.static CNumber
innerProduct
(double[] src1, CNumber[] src2) Computes the vector inner product for a real dense vector and a complex dense vector.static CNumber
innerProduct
(CNumber[] src1, double[] src2) Computes the vector inner product for a complex dense vector and a real dense vector.static CNumber[]
outerProduct
(double[] src1, CNumber[] src2) Computes the vector outer product between two real dense vectors.static CNumber[]
outerProduct
(CNumber[] src1, double[] src2) Computes the vector outer product between two real dense vectors.
-
Constructor Details
-
RealComplexDenseVectorOperations
private RealComplexDenseVectorOperations()
-
-
Method Details
-
innerProduct
-
innerProduct
-
outerProduct
-
outerProduct
-
add
-