CRS.hh File Reference

#include <sys/types.h>
#include <map>
#include "toolbox/array.hh"
#include "basics/debug.hh"
#include "operator/hashedSMatrix.hh"

Go to the source code of this file.

Classes

class  concepts::CRSConvertable< F >
 Base class for operators which can be converted to Sparse Row Storage (CRS) or Sparse Column Storage (CCS) More...
 

Namespaces

 concepts
 Basic namespace for Concepts-2.
 

Macros

#define CCS_rowSorting_D   0
 
#define CRS_rowSorting_D   0
 

Functions

template<class F >
void concepts::convertCCS_rowSorting (F &m, typename F::type *a, int *asub, int *xa)
 Method converts a matrix of type F to Sparse Column Storage (CCS) format. More...
 
template<class F >
void concepts::convertCRS_rowSorting (F &m, typename F::value_type *a, int *asub, int *xa)
 Method converts a matrix of type F to Sparse Row Storage (CRS) format. More...
 
template<class F >
void concepts::convertIJK_unSorted (F &m, typename F::type *a, int *irn, int *jcn)
 
template<typename F >
void concepts::sparseLineToArrays (std::map< int, F > &line, F *a, int *asub)
 This function converts a sparse line to an array of values and an array of indices. More...
 

Detailed Description

CRS format

Author
Kersten Schmidt, 2005

Definition in file CRS.hh.

Macro Definition Documentation

◆ CCS_rowSorting_D

#define CCS_rowSorting_D   0

Definition at line 18 of file CRS.hh.

◆ CRS_rowSorting_D

#define CRS_rowSorting_D   0

Definition at line 17 of file CRS.hh.

Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich