AbstractLinAlgPack::ConvertToCSC Class Reference

Abstract interface for inserting a matrix into a Fortran compatable compressed column sparse matrix format. More...

#include <AbstractLinAlgPack_ConvertToCSC.hpp>

Inheritance diagram for AbstractLinAlgPack::ConvertToCSC:

[legend]
List of all members.

Public Member Functions

virtual ~ConvertToCSC ()
 
virtual size_type num_in_column (BLAS_Cpp::Transp trans, size_type col_offset, const IVector::value_type *col_perm, size_type *num_in_col) const =0
 Count the number of nonzero elements in each column of the matrix by incrementing num_in_col.
virtual void insert_nonzeros (BLAS_Cpp::Transp trans, value_type alpha, size_type row_offset, size_type col_offset, const IVector::value_type *row_perm, const IVector::value_type *col_perm, size_type *next_nz_in_col, FortranTypes::f_dbl_prec *D_val, FortranTypes::f_int *D_row_i) const =0
 Inserts the nozero elements.
virtual value_type insert_scaled_nonzeros (BLAS_Cpp::Transp trans, value_type scaled_max_ele, size_type row_offset, size_type col_offset, const IVector::value_type *row_perm, const IVector::value_type *col_perm, size_type *next_nz_in_col, FortranTypes::f_dbl_prec *D_val, FortranTypes::f_int *D_row_i) const =0
 Inserts the nozero elements scaled so that max|alpha*A| = scaled_max_ele and returns alpha.

Detailed Description

Abstract interface for inserting a matrix into a Fortran compatable compressed column sparse matrix format.

Definition at line 85 of file AbstractLinAlgPack_ConvertToCSC.hpp.


Constructor & Destructor Documentation

virtual AbstractLinAlgPack::ConvertToCSC::~ConvertToCSC (  )  [inline, virtual]

Definition at line 89 of file AbstractLinAlgPack_ConvertToCSC.hpp.


Member Function Documentation

virtual size_type AbstractLinAlgPack::ConvertToCSC::num_in_column ( BLAS_Cpp::Transp  trans,
size_type  col_offset,
const IVector::value_type col_perm,
size_type num_in_col 
) const [pure virtual]

Count the number of nonzero elements in each column of the matrix by incrementing num_in_col.

Returns:
The number of nonzeros added.

Implemented in AbstractLinAlgPack::COOMatrixWithPartitionedViewSubclass.

virtual void AbstractLinAlgPack::ConvertToCSC::insert_nonzeros ( BLAS_Cpp::Transp  trans,
value_type  alpha,
size_type  row_offset,
size_type  col_offset,
const IVector::value_type row_perm,
const IVector::value_type col_perm,
size_type next_nz_in_col,
FortranTypes::f_dbl_prec D_val,
FortranTypes::f_int D_row_i 
) const [pure virtual]

Inserts the nozero elements.

Implemented in AbstractLinAlgPack::COOMatrixWithPartitionedViewSubclass.

virtual value_type AbstractLinAlgPack::ConvertToCSC::insert_scaled_nonzeros ( BLAS_Cpp::Transp  trans,
value_type  scaled_max_ele,
size_type  row_offset,
size_type  col_offset,
const IVector::value_type row_perm,
const IVector::value_type col_perm,
size_type next_nz_in_col,
FortranTypes::f_dbl_prec D_val,
FortranTypes::f_int D_row_i 
) const [pure virtual]

Inserts the nozero elements scaled so that max|alpha*A| = scaled_max_ele and returns alpha.

Implemented in AbstractLinAlgPack::COOMatrixWithPartitionedViewSubclass.


The documentation for this class was generated from the following file:
Generated on Tue Oct 20 12:54:07 2009 for MOOCHO (Single Doxygen Collection) by doxygen 1.4.7