Class VectorVectorMult_ZDRM
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Complex_F64innerProd(ZMatrixRMaj x, ZMatrixRMaj y, @Nullable Complex_F64 output) Computes the inner product of the two vectors.static Complex_F64innerProdH(ZMatrixRMaj x, ZMatrixRMaj y, @Nullable Complex_F64 output) Computes the inner product between a vector and the conjugate of another one.static voidouterProd(ZMatrixRMaj x, ZMatrixRMaj y, ZMatrixRMaj A) Sets A ∈ ℜ m × n equal to an outer product multiplication of the two vectors.static voidouterProdH(ZMatrixRMaj x, ZMatrixRMaj y, ZMatrixRMaj A) Sets A ∈ ℜ m × n equal to an outer product multiplication of the two vectors.
- 
Constructor Details- 
VectorVectorMult_ZDRMpublic VectorVectorMult_ZDRM()
 
- 
- 
Method Details- 
innerProdpublic static Complex_F64 innerProd(ZMatrixRMaj x, ZMatrixRMaj y, @Nullable @Nullable Complex_F64 output) Computes the inner product of the two vectors. In geometry this is known as the dot product. 
 
 ∑k=1:n xk * yk
 where x and y are vectors with n elements.These functions are often used inside of highly optimized code and therefor sanity checks are kept to a minimum. It is not recommended that any of these functions be used directly. - Parameters:
- x- A vector with n elements. Not modified.
- y- A vector with n elements. Not modified.
- Returns:
- The inner product of the two vectors.
 
- 
innerProdHpublic static Complex_F64 innerProdH(ZMatrixRMaj x, ZMatrixRMaj y, @Nullable @Nullable Complex_F64 output) Computes the inner product between a vector and the conjugate of another one. 
 
 ∑k=1:n xk * conj(yk)
 where x and y are vectors with n elements.These functions are often used inside of highly optimized code and therefor sanity checks are kept to a minimum. It is not recommended that any of these functions be used directly. - Parameters:
- x- A vector with n elements. Not modified.
- y- A vector with n elements. Not modified.
- Returns:
- The inner product of the two vectors.
 
- 
outerProdSets A ∈ ℜ m × n equal to an outer product multiplication of the two vectors. This is also known as a rank-1 operation. 
 
 A = x * yT where x ∈ ℜ m and y ∈ ℜ n are vectors.Which is equivalent to: Aij = xi*yj - Parameters:
- x- A vector with m elements. Not modified.
- y- A vector with n elements. Not modified.
- A- A Matrix with m by n elements. Modified.
 
- 
outerProdHSets A ∈ ℜ m × n equal to an outer product multiplication of the two vectors. This is also known as a rank-1 operation. 
 
 A = x * yH where x ∈ ℜ m and y ∈ ℜ n are vectors.Which is equivalent to: Aij = xi*yj - Parameters:
- x- A vector with m elements. Not modified.
- y- A vector with n elements. Not modified.
- A- A Matrix with m by n elements. Modified.
 
 
-