Class VectorVectorMult_CDRM

java.lang.Object
org.ejml.dense.row.mult.VectorVectorMult_CDRM

@Generated("org.ejml.dense.row.mult.VectorVectorMult_ZDRM")
public class VectorVectorMult_CDRM
extends Object
Operations that involve multiplication of two vectors.
  • Constructor Summary

    Constructors
    Constructor Description
    VectorVectorMult_CDRM()  
  • Method Summary

    Modifier and Type Method Description
    static org.ejml.data.Complex_F32 innerProd​(org.ejml.data.CMatrixRMaj x, org.ejml.data.CMatrixRMaj y, @Nullable org.ejml.data.Complex_F32 output)
    Computes the inner product of the two vectors.
    static org.ejml.data.Complex_F32 innerProdH​(org.ejml.data.CMatrixRMaj x, org.ejml.data.CMatrixRMaj y, @Nullable org.ejml.data.Complex_F32 output)
    Computes the inner product between a vector and the conjugate of another one.
    static void outerProd​(org.ejml.data.CMatrixRMaj x, org.ejml.data.CMatrixRMaj y, org.ejml.data.CMatrixRMaj A)
    Sets A ∈ ℜ m × n equal to an outer product multiplication of the two vectors.
    static void outerProdH​(org.ejml.data.CMatrixRMaj x, org.ejml.data.CMatrixRMaj y, org.ejml.data.CMatrixRMaj A)
    Sets A ∈ ℜ m × n equal to an outer product multiplication of the two vectors.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VectorVectorMult_CDRM

      public VectorVectorMult_CDRM()
  • Method Details

    • innerProd

      public static org.ejml.data.Complex_F32 innerProd​(org.ejml.data.CMatrixRMaj x, org.ejml.data.CMatrixRMaj y, @Nullable @Nullable org.ejml.data.Complex_F32 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.
    • innerProdH

      public static org.ejml.data.Complex_F32 innerProdH​(org.ejml.data.CMatrixRMaj x, org.ejml.data.CMatrixRMaj y, @Nullable @Nullable org.ejml.data.Complex_F32 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.
    • outerProd

      public static void outerProd​(org.ejml.data.CMatrixRMaj x, org.ejml.data.CMatrixRMaj y, org.ejml.data.CMatrixRMaj A)

      Sets 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.
    • outerProdH

      public static void outerProdH​(org.ejml.data.CMatrixRMaj x, org.ejml.data.CMatrixRMaj y, org.ejml.data.CMatrixRMaj A)

      Sets 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.