Skip to content

Class uipc::diff_sim::SparseCOOView

ClassList > uipc > diff_sim > SparseCOOView

Public Functions

Type Name
SparseCOOView () = default
SparseCOOView (span< const IndexT > row_indices, span< const IndexT > col_indices, span< const Float > values, Vector2i shape)
span< const IndexT > col_indices () const
span< const IndexT > row_indices () const
Vector2i shape () const
Matrix< Float, Eigen::Dynamic, Eigen::Dynamic > to_dense () const
Eigen::SparseMatrix< Float > to_sparse () const
span< const Float > values () const

Public Functions Documentation

function SparseCOOView [1/2]

uipc::diff_sim::SparseCOOView::SparseCOOView () = default

function SparseCOOView [2/2]

uipc::diff_sim::SparseCOOView::SparseCOOView (
    span< const IndexT > row_indices,
    span< const IndexT > col_indices,
    span< const Float > values,
    Vector2i shape
) 

function col_indices

span< const IndexT > uipc::diff_sim::SparseCOOView::col_indices () const

function row_indices

span< const IndexT > uipc::diff_sim::SparseCOOView::row_indices () const

function shape

Vector2i uipc::diff_sim::SparseCOOView::shape () const

function to_dense

Matrix< Float, Eigen::Dynamic, Eigen::Dynamic > uipc::diff_sim::SparseCOOView::to_dense () const

function to_sparse

Eigen::SparseMatrix< Float > uipc::diff_sim::SparseCOOView::to_sparse () const

function values

span< const Float > uipc::diff_sim::SparseCOOView::values () const


The documentation for this class was generated from the following file include/uipc/diff_sim/sparse_coo_view.h