Class CommonOpsWithSemiRing_FSCC

java.lang.Object
org.ejml.sparse.csc.CommonOpsWithSemiRing_FSCC

@Generated("org.ejml.sparse.csc.CommonOpsWithSemiRing_DSCC") public class CommonOpsWithSemiRing_FSCC extends Object
  • Method Details

    • mult

      public static FMatrixSparseCSC mult(FMatrixSparseCSC A, FMatrixSparseCSC B, @Nullable @Nullable FMatrixSparseCSC output, FSemiRing semiRing)
    • mult

      public static FMatrixSparseCSC mult(FMatrixSparseCSC A, FMatrixSparseCSC B, @Nullable @Nullable FMatrixSparseCSC output, FSemiRing semiRing, @Nullable @Nullable Mask mask, @Nullable @Nullable IGrowArray gw, @Nullable @Nullable FGrowArray gx)
      Performs matrix multiplication. output = A*B
      Parameters:
      A - (Input) Matrix. Not modified.
      B - (Input) Matrix. Not modified.
      output - (Output) Storage for results. Data length is increased if insufficient.
      semiRing - Semi-Ring to define + and *
      mask - (Optional) Mask for specifying which entries should be overwritten
      gw - (Optional) Storage for internal workspace. Can be null.
      gx - (Optional) Storage for internal workspace. Can be null.
    • mult

      public static FMatrixRMaj mult(FMatrixSparseCSC A, FMatrixRMaj B, @Nullable @Nullable FMatrixRMaj output, FSemiRing semiRing)
      Performs matrix multiplication. output = A*B
      Parameters:
      A - Matrix
      B - Dense Matrix
      semiRing - Semi-Ring to define + and *
      output - Dense Matrix
    • multAdd

      public static void multAdd(FMatrixSparseCSC A, FMatrixRMaj B, FMatrixRMaj output, FSemiRing semiRing)

      output = output + A*B

    • multTransA

      public static FMatrixRMaj multTransA(FMatrixSparseCSC A, FMatrixRMaj B, @Nullable @Nullable FMatrixRMaj output, FSemiRing semiRing)
      Performs matrix multiplication. output = AT*B
      Parameters:
      A - Matrix
      B - Dense Matrix
      output - Dense Matrix
      semiRing - Semi-Ring to define + and *
    • multAddTransA

      public static void multAddTransA(FMatrixSparseCSC A, FMatrixRMaj B, FMatrixRMaj output, FSemiRing semiRing)

      output = output + AT*B

    • multTransB

      public static FMatrixRMaj multTransB(FMatrixSparseCSC A, FMatrixRMaj B, @Nullable @Nullable FMatrixRMaj output, FSemiRing semiRing)
      Performs matrix multiplication. output = A*BT
      Parameters:
      A - Matrix
      B - Dense Matrix
      output - Dense Matrix
      semiRing - Semi-Ring to define + and *
    • multAddTransB

      public static void multAddTransB(FMatrixSparseCSC A, FMatrixRMaj B, FMatrixRMaj output, FSemiRing semiRing)

      output = output + A*BT

    • multTransAB

      public static FMatrixRMaj multTransAB(FMatrixSparseCSC A, FMatrixRMaj B, FMatrixRMaj output, FSemiRing semiRing)
      Performs matrix multiplication. output = AT*BT
      Parameters:
      A - Matrix
      B - Dense Matrix
      output - Dense Matrix
      semiRing - Semi-Ring to define + and *
    • multAddTransAB

      public static void multAddTransAB(FMatrixSparseCSC A, FMatrixRMaj B, FMatrixRMaj C, FSemiRing semiRing)

      C = C + AT*BT

    • add

      public static FMatrixSparseCSC add(float alpha, FMatrixSparseCSC A, float beta, FMatrixSparseCSC B, @Nullable @Nullable FMatrixSparseCSC output, FSemiRing semiRing, @Nullable @Nullable Mask mask, @Nullable @Nullable IGrowArray gw, @Nullable @Nullable FGrowArray gx)
      Performs matrix addition:
      output = αA + βB
      Parameters:
      alpha - scalar value multiplied against A
      A - Matrix
      beta - scalar value multiplied against B
      B - Matrix
      output - (Optional) Output matrix.
      semiRing - Semi-Ring to define + and *
      mask - (Optional) Mask for specifying which entries should be overwritten
      gw - (Optional) Storage for internal workspace. Can be null.
      gx - (Optional) Storage for internal workspace. Can be null.
    • elementMult

      public static FMatrixSparseCSC elementMult(FMatrixSparseCSC A, FMatrixSparseCSC B, @Nullable @Nullable FMatrixSparseCSC output, FSemiRing semiRing, @Nullable @Nullable Mask mask, @Nullable @Nullable IGrowArray gw, @Nullable @Nullable FGrowArray gx)
      Performs an element-wise multiplication.
      output[i,j] = A[i,j]*B[i,j]
      All matrices must have the same shape.
      Parameters:
      A - (Input) Matrix.
      B - (Input) Matrix
      output - (Output) Matrix. data array is grown to min(A.nz_length,B.nz_length), resulting a in a large speed boost.
      semiRing - Semi-Ring to define + and *
      mask - (Optional) Mask for specifying which entries should be overwritten
      gw - (Optional) Storage for internal workspace. Can be null.
      gx - (Optional) Storage for internal workspace. Can be null.