java.lang.Object
gov.nih.mipav.view.renderer.WildMagic.Poisson.Octree.SparseMatrix
Direct Known Subclasses:
SparseSymmetricMatrix

public class SparseMatrix extends Object
  • Field Details

    • Allocator

      public static Allocator<MatrixEntry> Allocator
    • rows

      public int rows
    • rowSizes

      public int[] rowSizes
    • m_ppElements

      public MatrixEntry[][] m_ppElements
    • UseAlloc

      public static int UseAlloc
  • Constructor Details

    • SparseMatrix

      public SparseMatrix()
    • SparseMatrix

      public SparseMatrix(int rows)
    • SparseMatrix

      public SparseMatrix(SparseMatrix M)
  • Method Details

    • UseAllocator

      public static int UseAllocator()
    • SetAllocator

      public static void SetAllocator(int blockSize)
    • Entries

      public int Entries()
    • set

      public SparseMatrix set(SparseMatrix M)
    • dispose

      public void dispose()
    • Resize

      public void Resize(int r)
    • SetRowSize

      public void SetRowSize(int row, int count)
    • SetZero

      public void SetZero()
    • print

      public void print()
    • Rows

      public int Rows()
    • Columns

      public int Columns()
    • SetIdentity

      public void SetIdentity()
    • mul

      public SparseMatrix mul(float V)
    • mul_into

      public SparseMatrix mul_into(float V)
    • Multiply

      public SparseMatrix Multiply(SparseMatrix M)
    • Multiply

      public VectorF Multiply(VectorF V)
    • Multiply

      public void Multiply(VectorF In, VectorF Out)
    • mul

      public SparseMatrix mul(SparseMatrix M)
    • mul

      public VectorF mul(VectorF V)
    • Transpose

      public SparseMatrix Transpose()
    • SolveSymmetric

      public static int SolveSymmetric(SparseMatrix M, VectorF b, int iters, VectorF solution, float eps, int reset)
    • Solve

      public static int Solve(SparseMatrix M, VectorF b, int iters, VectorF solution, float eps)