Class ImplCommonOpsWithSemiRing_FSCC

java.lang.Object
org.ejml.sparse.csc.misc.ImplCommonOpsWithSemiRing_FSCC

@Generated("org.ejml.sparse.csc.misc.ImplCommonOpsWithSemiRing_DSCC") public class ImplCommonOpsWithSemiRing_FSCC extends Object
based on ImplCommonOps_FSCC
  • Constructor Details

    • ImplCommonOpsWithSemiRing_FSCC

      public ImplCommonOpsWithSemiRing_FSCC()
  • Method Details

    • add

      public static void add(float alpha, FMatrixSparseCSC A, float beta, FMatrixSparseCSC B, FMatrixSparseCSC C, FSemiRing semiRing, @Nullable @Nullable Mask mask, @Nullable @Nullable IGrowArray gw, @Nullable @Nullable FGrowArray gx)
      Performs matrix addition:
      C = A + B
      Parameters:
      A - Matrix
      B - Matrix
      C - 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.
    • addColAppend

      public static void addColAppend(FMatrixSparseCSC A, int colA, FMatrixSparseCSC B, int colB, FMatrixSparseCSC C, FSemiRing semiRing, @Nullable @Nullable IGrowArray gw)
      Adds the results of adding a column in A and B as a new column in C.
      C(:,end+1) = A(:,colA) + B(:,colB)
      Parameters:
      A - matrix
      colA - column in A
      B - matrix
      colB - column in B
      C - Column in C
      semiRing - Semi-Ring to define + and *
      gw - workspace
    • elementMult

      public static void elementMult(FMatrixSparseCSC A, FMatrixSparseCSC B, FMatrixSparseCSC C, FSemiRing semiRing, @Nullable @Nullable Mask mask, @Nullable @Nullable IGrowArray gw, @Nullable @Nullable FGrowArray gx)
      Performs element-wise multiplication:
      C_ij = A_ij * B_ij
      Parameters:
      A - (Input) Matrix
      B - (Input) Matrix
      C - (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.