AbstractLinAlgPack::ConvertToSparseCompressedColumnPack Namespace Reference


Conversion to spare compressed column matrix format for concrete types.

void scalar_insert_nonzero (value_type alpha, size_type row_i, size_type col_j, size_type *next_nz_in_col, FortranTypes::f_dbl_prec *D_val, FortranTypes::f_int *D_row_i)
 Add a nonzero element for a scalar.
void vector_insert_nonzeros (const DVectorSlice &vs, value_type alpha, size_type row_offset, size_type col_j, const IVector::value_type *row_perm, size_type *next_nz_in_col, FortranTypes::f_dbl_prec *D_val, FortranTypes::f_int *D_row_i)
 Add the nonzero elements in a dense vector for each column.
size_type dense_num_in_column (size_type rows, size_type cols, BLAS_Cpp::Transp trans, size_type col_offset, const IVector::value_type *col_perm, size_type *num_in_col)
 Count the number of nonzeros in a dense matrix for each column.
void dense_insert_nonzeros (const DMatrixSlice &gms, 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)
 Add the nonzero elements in a dense matrix for each column.
value_type dense_insert_scaled_nonzeros (const DMatrixSlice &gms, 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)
 Add the nonzero elements in a dense matrix for each column scaled.

Add a MatrixOp object. If the matrix supports the conversion inteface

then all is dandy. If not then a conversion to dense must be preformed.

size_type num_in_column (const MatrixOp &m, BLAS_Cpp::Transp trans, size_type col_offset, const IVector::value_type *col_perm, size_type *num_in_col)
 
void insert_nonzeros (const MatrixOp &m, 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)
 
value_type insert_scaled_nonzeros (const MatrixOp &m, 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)
 


Function Documentation

void scalar_insert_nonzero value_type  alpha,
size_type  row_i,
size_type  col_j,
size_type next_nz_in_col,
FortranTypes::f_dbl_prec D_val,
FortranTypes::f_int D_row_i
[inline]
 

Add a nonzero element for a scalar.

Definition at line 140 of file AbstractLinAlgPack_ConvertToCSC.hpp.

void AbstractLinAlgPack::ConvertToSparseCompressedColumnPack::vector_insert_nonzeros const DVectorSlice vs,
value_type  alpha,
size_type  row_offset,
size_type  col_j,
const IVector::value_type row_perm,
size_type next_nz_in_col,
FortranTypes::f_dbl_prec D_val,
FortranTypes::f_int D_row_i
 

Add the nonzero elements in a dense vector for each column.

Definition at line 46 of file AbstractLinAlgPack_ConvertToCSC.cpp.

size_type AbstractLinAlgPack::ConvertToSparseCompressedColumnPack::dense_num_in_column size_type  rows,
size_type  cols,
BLAS_Cpp::Transp  trans,
size_type  col_offset,
const IVector::value_type col_perm,
size_type num_in_col
 

Count the number of nonzeros in a dense matrix for each column.

Definition at line 69 of file AbstractLinAlgPack_ConvertToCSC.cpp.

void AbstractLinAlgPack::ConvertToSparseCompressedColumnPack::dense_insert_nonzeros const DMatrixSlice gms,
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
 

Add the nonzero elements in a dense matrix for each column.

Definition at line 84 of file AbstractLinAlgPack_ConvertToCSC.cpp.

value_type AbstractLinAlgPack::ConvertToSparseCompressedColumnPack::dense_insert_scaled_nonzeros const DMatrixSlice gms,
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
 

Add the nonzero elements in a dense matrix for each column scaled.

Definition at line 104 of file AbstractLinAlgPack_ConvertToCSC.cpp.

size_type AbstractLinAlgPack::ConvertToSparseCompressedColumnPack::num_in_column const MatrixOp &  m,
BLAS_Cpp::Transp  trans,
size_type  col_offset,
const IVector::value_type col_perm,
size_type num_in_col
 

Definition at line 127 of file AbstractLinAlgPack_ConvertToCSC.cpp.

void AbstractLinAlgPack::ConvertToSparseCompressedColumnPack::insert_nonzeros const MatrixOp &  m,
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
 

Definition at line 142 of file AbstractLinAlgPack_ConvertToCSC.cpp.

value_type AbstractLinAlgPack::ConvertToSparseCompressedColumnPack::insert_scaled_nonzeros const MatrixOp &  m,
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
 

Definition at line 169 of file AbstractLinAlgPack_ConvertToCSC.cpp.


Generated on Thu Sep 18 12:36:13 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1