SLIM  1.0
Sparse Linear Methods (SLIM) for top-n recommender systems
 All Data Structures Files Functions Variables Typedefs Macros Pages
Data Fields
cs_sparse Struct Reference

A matrix structure used for BCLS. This is adopted from BCLS. More...

#include <struct.h>

Data Fields

int nzmax
 
int m
 
int n
 
int * p
 
int * i
 
float * x
 
int nz
 

Detailed Description

A matrix structure used for BCLS. This is adopted from BCLS.

Definition at line 99 of file struct.h.

Field Documentation

int* cs_sparse::i

row indices, size nzmax

Definition at line 110 of file struct.h.

Referenced by Aprod(), cs_spalloc(), cs_spfree(), and slim_learn().

int cs_sparse::m

number of rows

Definition at line 104 of file struct.h.

Referenced by cs_spalloc(), and slim_learn().

int cs_sparse::n

number of columns

Definition at line 106 of file struct.h.

Referenced by cs_spalloc(), and slim_learn().

int cs_sparse::nz

number of entries in triplet matrix, -1 for compressed-col

Definition at line 114 of file struct.h.

Referenced by cs_spalloc(), and slim_learn().

int cs_sparse::nzmax

maximum number of entries

Definition at line 102 of file struct.h.

Referenced by cs_spalloc(), and slim_learn().

int* cs_sparse::p

column pointers (size n+1) or col indices (size nzmax)

Definition at line 108 of file struct.h.

Referenced by Aprod(), cs_spalloc(), cs_spfree(), and slim_learn().

float* cs_sparse::x

numerical values, size nzmax

Definition at line 112 of file struct.h.

Referenced by Aprod(), cs_spalloc(), cs_spfree(), and slim_learn().


The documentation for this struct was generated from the following file: