DenseLinAlgPack Namespace Reference

Test function for COOMatrix and COOMatrixSlice. More...


Classes

class  NaNInfException
  More...
class  DMatrixSliceTriEle
  More...
class  DMatrixSliceTri
  More...
class  DMatrixSliceSym
  More...
class  DMatrixSlice
  More...
class  DMatrix
  More...
class  VectorSliceTmpl
  More...
class  VectorTmpl
  More...
class  IVector
  More...

Namespaces

namespace  LinAlgPackIO
namespace  MatlabPack
namespace  TestingPack
namespace  Testing
typedef VectorTmpl< value_typeDVector
 
typedef VectorSliceTmpl< value_typeDVectorSlice
 
typedef VectorTmpl< extended_value_typeVectorExt
 
typedef VectorSliceTmpl< extended_value_typeVectorSliceExt
 
enum  EOverLap { NO_OVERLAP = 0, SOME_OVERLAP, SAME_MEM }
 Enumeration for returning the amount of overlap between two objects. More...
void Vp_V_assert_sizes (size_type v_lhs_size, size_type v_rhs_size)
 v_lhs += op v_rhs
void VopV_assert_sizes (size_type v_rhs1_size, size_type v_rhs2_size)
 v_rhs1 op v_rhs2
void Mp_M_assert_sizes (size_type m_lhs_rows, size_type m_lhs_cols, BLAS_Cpp::Transp trans_lhs, size_type m_rhs_rows, size_type m_rhs_cols, BLAS_Cpp::Transp trans_rhs)
 op(m_lhs) += op op(m_rhs)
void MopM_assert_sizes (size_type m_rhs1_rows, size_type m_rhs1_cols, BLAS_Cpp::Transp trans_rhs1, size_type m_rhs2_rows, size_type m_rhs2_cols, BLAS_Cpp::Transp trans_rhs2)
 v_rhs1 op v_rhs2
void MtV_assert_sizes (size_type m_rhs1_rows, size_type m_rhs1_cols, BLAS_Cpp::Transp trans_rhs1, size_type v_rhs2_size)
 op(m_rhs1) * v_rhs2
void Vp_MtV_assert_sizes (size_type v_lhs_size, size_type m_rhs1_rows, size_type m_rhs1_cols, BLAS_Cpp::Transp trans_rhs1, size_type v_rhs2_size)
 v_lhs += op(m_rhs1) * v_rhs2
void MtM_assert_sizes (size_type m_rhs1_rows, size_type m_rhs1_cols, BLAS_Cpp::Transp trans_rhs1, size_type m_rhs2_rows, size_type m_rhs2_cols, BLAS_Cpp::Transp trans_rhs2)
 op(m_lhs) += op(m_rhs1)
void Mp_MtM_assert_sizes (size_type m_lhs_rows, size_type m_lhs_cols, BLAS_Cpp::Transp trans_lhs, size_type m_rhs1_rows, size_type m_rhs1_cols, BLAS_Cpp::Transp trans_rhs1, size_type m_rhs2_rows, size_type m_rhs2_cols, BLAS_Cpp::Transp trans_rhs2)
 op(m_lhs) += op(m_rhs1) * op(m_rhs2)
void assign (DMatrix *gm_lhs, value_type alpha)
 gm_lhs = alpha (elementwise)
void assign (DMatrix *gm_lhs, const DMatrixSlice &gms_rhs, BLAS_Cpp::Transp trans_rhs)
 gm_lhs = op(gms_rhs)
void assign (DMatrixSlice *gms_lhs, value_type alpha)
 gms_lhs = alpha (elementwise)
void assign (DMatrixSlice *gms_lhs, const DMatrixSlice &gms_rhs, BLAS_Cpp::Transp trans_rhs)
 gms_lhs = op(gms_rhs)
void assign (DMatrixSliceTriEle *tri_gms_lhs, value_type alpha)
 tri_ele_gms_lhs = alpha (elementwise)
void assign (DMatrixSliceTriEle *tri_ele_gms_lhs, const DMatrixSliceTriEle &tri_ele_gms_rhs)
 tri_ele_gms_lhs = tri_ele_gms_rhs
DMatrixSliceTriEle nonconst_tri_ele (DMatrixSlice gms, BLAS_Cpp::Uplo uplo)
 Return a triangular element-wise matrix.
const DMatrixSliceTriEle tri_ele (const DMatrixSlice &gms, BLAS_Cpp::Uplo uplo)
 
DMatrixSliceTri nonconst_tri (DMatrixSlice gms, BLAS_Cpp::Uplo uplo, BLAS_Cpp::Diag diag)
 Return a triangular matrix.
const DMatrixSliceTri tri (const DMatrixSlice &gms, BLAS_Cpp::Uplo uplo, BLAS_Cpp::Diag diag)
 
DMatrixSliceSym nonconst_sym (DMatrixSlice gms, BLAS_Cpp::Uplo uplo)
 Return a symmetric matrix.
const DMatrixSliceSym sym (const DMatrixSlice &gms, BLAS_Cpp::Uplo uplo)
 
void assert_gms_sizes (const DMatrixSlice &gms1, BLAS_Cpp::Transp trans1, const DMatrixSlice &gms2, BLAS_Cpp::Transp trans2)
 Assert two matrices are the same size and throws length_error if they are not (LINALGPACK_CHECK_RHS_SIZES).
void assert_gms_square (const DMatrixSlice &gms)
 Assert a matrix is square and throws length_error if it is not (LINALGPACK_CHECK_SLICE_SETUP).
void assert_gms_lhs (const DMatrixSlice &gms_lhs, size_type rows, size_type cols, BLAS_Cpp::Transp trans_rhs=BLAS_Cpp::no_trans)
 
DVectorSlice row (DMatrixSlice &gms, BLAS_Cpp::Transp trans, size_type i)
 
DVectorSlice col (DMatrixSlice &gms, BLAS_Cpp::Transp trans, size_type j)
 
const DVectorSlice row (const DMatrixSlice &gms, BLAS_Cpp::Transp trans, size_type i)
 
const DVectorSlice col (const DMatrixSlice &gms, BLAS_Cpp::Transp trans, size_type j)
 
DVectorSlice row (DMatrix &gm, BLAS_Cpp::Transp trans, size_type i)
 
DVectorSlice col (DMatrix &gm, BLAS_Cpp::Transp trans, size_type j)
 
const DVectorSlice row (const DMatrix &gm, BLAS_Cpp::Transp trans, size_type i)
 
const DVectorSlice col (const DMatrix &gm, BLAS_Cpp::Transp trans, size_type j)
 
std::istream & input (std::istream &is, DMatrix *gm, LinAlgPackIO::fmtflags extra_flags)
 
std::istream & input (std::istream &is, DMatrixSlice *gms, LinAlgPackIO::fmtflags extra_flags)
 
void Mt_S (DMatrixSlice *gms_lhs, value_type alpha)
 gms_lhs *= alpha (BLAS xSCAL)
void M_diagVtM (DMatrixSlice *gms_lhs, const DVectorSlice &vs_rhs, const DMatrixSlice &gms_rhs, BLAS_Cpp::Transp trans_rhs)
 gms_lhs = diag(vs_rhs) * op(gms_rhs) [Row or column scaling]
void Mt_S (DMatrixSliceTriEle *tri_lhs, value_type alpha)
 tri_lhs *= alpha (BLAS xSCAL)
void Mp_StM (DMatrixSliceTriEle *tri_lhs, value_type alpha, const DMatrixSliceTriEle &tri_rhs)
 tri_lhs += alpha * tri_rhs (BLAS xAXPY)
void Mp_StM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSlice &gms_rhs, BLAS_Cpp::Transp trans_rhs)
 gms_lhs += alpha * op(gms_rhs) (BLAS xAXPY)
void Mp_StM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSliceSym &sym_rhs, BLAS_Cpp::Transp trans_rhs)
 gms_lhs += alpha * op(sym_rhs) (BLAS xAXPY)
void Mp_StM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSliceTri &tri_rhs, BLAS_Cpp::Transp trans_rhs)
 gms_lhs += alpha * op(tri_rhs) (BLAS xAXPY)
void Vp_StMtV (DVectorSlice *vs_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2, value_type beta=1.0)
 vs_lhs = alpha * op(gms_rhs1) * vs_rhs2 + beta * vs_lhs (BLAS xGEMV)
void Vp_StMtV (DVectorSlice *vs_lhs, value_type alpha, const DMatrixSliceSym &sym_rhs1, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2, value_type beta=1.0)
 
void V_MtV (DVector *v_lhs, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2)
 
void V_MtV (DVectorSlice *vs_lhs, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2)
 
void Vp_StMtV (DVectorSlice *vs_lhs, value_type alpha, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2, value_type beta=1.0)
 
void V_InvMtV (DVector *v_lhs, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2)
 
void V_InvMtV (DVectorSlice *vs_lhs, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2)
 
void ger (value_type alpha, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2, DMatrixSlice *gms_lhs)
 
void syr (value_type alpha, const DVectorSlice &vs_rhs, DMatrixSliceSym *sym_lhs)
 
void syr2 (value_type alpha, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2, DMatrixSliceSym *sym_lhs)
 
void Mp_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta=1.0)
 
void Mp_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSliceSym &sym_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta=1.0)
 
void Mp_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSliceSym &sym_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta=1.0)
 
void syrk (BLAS_Cpp::Transp trans, value_type alpha, const DMatrixSlice &gms_rhs, value_type beta, DMatrixSliceSym *sym_lhs)
 
void syr2k (BLAS_Cpp::Transp trans, value_type alpha, const DMatrixSlice &gms_rhs1, const DMatrixSlice &gms_rhs2, value_type beta, DMatrixSliceSym *sym_lhs)
 
void M_StMtM (DMatrix *gm_lhs, value_type alpha, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void M_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void M_StMtM (DMatrix *gm_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSliceTri &tri_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void M_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSliceTri &tri_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void Mp_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta=1.0)
 
void Mp_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSliceTri &tri_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta=1.0)
 
void M_StInvMtM (DMatrix *gm_lhs, value_type alpha, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void M_StInvMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void M_StMtInvM (DMatrix *gm_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSliceTri &tri_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void M_StMtInvM (DMatrixSlice *gm_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSliceTri &tri_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void assign (DVector *v_lhs, value_type alpha)
 v_lhs = alpha (elementwise)
void assign (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = vs_rhs.
void assign (DVectorSlice *vs_lhs, value_type alpha)
 vs_lhs = alpha (elementwise)
void assign (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = vs_rhs
DenseLinAlgPack::size_type vector_validate_sized (size_type size)
void vector_validate_range (size_type ubound, size_type max_ubound)
void vector_validate_subscript (size_type size, size_type i)
void assert_vs_sizes (size_type size1, size_type size2)
 
template<class T>
VectorSliceTmpl< T > gen_vs (VectorSliceTmpl< T > &vs, size_type start, size_type size, ptrdiff_t stride)
 
template<class T>
const VectorSliceTmpl< T > gen_vs (const VectorSliceTmpl< T > &vs, size_type start, size_type size, ptrdiff_t stride)
 
std::istream & input (std::istream &is, DVector *v, LinAlgPackIO::fmtflags extra_flags)
 
std::istream & input (std::istream &is, DVectorSlice *vs, LinAlgPackIO::fmtflags extra_flags)
 
void Vp_S (DVectorSlice *vs_lhs, value_type alpha)
 vs_lhs += alpha
void Vt_S (DVectorSlice *vs_lhs, value_type alpha)
 vs_lhs *= alpha (BLAS xSCAL) (*** Note that alpha == 0.0 is handeled as vs_lhs = 0.0)
void Vp_StV (DVectorSlice *vs_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 vs_lhs += alpha * vs_rhs (BLAS xAXPY)
void V_VpV (DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 v_lhs = vs_rhs1 + vs_rhs2
void V_VmV (DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 v_lhs = vs_rhs1 - vs_rhs2
void V_mV (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = - vs_rhs
void V_StV (DVector *v_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 v_lhs = alpha * vs_rhs
void V_VpV (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 vs_lhs = vs_rhs1 + vs_rhs2
void V_VmV (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 vs_lhs = vs_rhs1 - vs_rhs2
void V_mV (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = - vs_rhs
void V_StV (DVectorSlice *vs_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 vs_lhs = alpha * vs_rhs
void rot (const value_type c, const value_type s, DVectorSlice *x, DVectorSlice *y)
 
void abs (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = abs(vs_rhs)
void asin (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = asin(vs_rhs)
void acos (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = acos(vs_rhs)
void atan (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = atan(vs_rhs)
void atan2 (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 vs_lhs = atan(vs_rhs1/vs_rhs2)
void atan2 (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs, value_type alpha)
 vs_lhs = atan(vs_rhs/alpha)
void atan2 (DVectorSlice *vs_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 vs_lhs = atan(alpha/vs_rhs)
void cos (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = cos(vs_rhs)
void cosh (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = cosh(vs_rhs)
void exp (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = exp(vs_rhs)
void max (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 vs_lhs = max(vs_rhs1,vs_rhs2)
void max (DVectorSlice *vs_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 vs_lhs = max(alpha,vs_rhs)
void min (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 vs_lhs = min(vs_rhs1,vs_rhs2)
void min (DVectorSlice *vs_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 vs_lhs = mim(alpha,vs_rhs)
void pow (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 vs_lhs = pow(vs_rhs1,vs_rhs2)
void pow (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs, value_type alpha)
 vs_lhs = pow(vs_rhs,alpha)
void pow (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs, int n)
 vs_lhs = pow(vs_rhs,n)
void pow (DVectorSlice *vs_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 vs_lhs = pow(alpha,vs_rhs)
void prod (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 vs_lhs(i) = vs_rhs1(i) * vs_rhs2(i), i = 1...n
void sqrt (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = sqrt(vs_rhs)
void sin (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = sin(vs_rhs)
void sinh (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = sinh(vs_rhs)
void tan (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = tan(vs_rhs)
void tanh (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = tanh(vs_rhs)
void abs (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = abs(vs_rhs)
void asin (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = asin(vs_rhs)
void acos (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = acos(vs_rhs)
void atan (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = atan(vs_rhs)
void atan2 (DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 v_lhs = atan(vs_rhs1/vs_rhs2)
void atan2 (DVector *v_lhs, const DVectorSlice &vs_rhs, value_type alpha)
 v_lhs = atan(vs_rhs/alpha)
void atan2 (DVector *v_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 v_lhs = atan(alpha/vs_rhs)
void cos (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = cos(vs_rhs)
void cosh (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = cosh(vs_rhs)
void exp (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = exp(vs_rhs)
void max (DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 v_lhs = max(vs_rhs1,vs_rhs2)
void max (DVector *v_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 v_lhs = max(alpha,vs_rhs)
void min (DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 v_lhs = min(vs_rhs1,vs_rhs2)
void min (DVector *v_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 v_lhs = mim(alpha,vs_rhs)
void pow (DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 v_lhs = pow(vs_rhs1,vs_rhs2)
void pow (DVector *v_lhs, const DVectorSlice &vs_rhs, value_type alpha)
 v_lhs = pow(vs_rhs,alpha)
void pow (DVector *v_lhs, const DVectorSlice &vs_rhs, int n)
 v_lhs = pow(vs_rhs,n)
void pow (DVector *v_lhs, value_type alpha, const DVectorSlice &vs_rhs2)
 v_lhs = pow(alpha,vs_rhs)
void sqrt (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = sqrt(vs_rhs)
void sin (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = sin(vs_rhs)
void sinh (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = sinh(vs_rhs)
void tan (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = tan(vs_rhs)
void tanh (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = tanh(vs_rhs)
void prod (DVector *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 v_lhs(i) = vs_rhs1(i) * vs_rhs2(i), i = 1...n
value_type dot (const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 result = vs_rhs1' * vs_rhs2 (BLAS xDOT)
value_type max (const DVectorSlice &vs_rhs)
 result = max(vs_rhs)
value_type min (const DVectorSlice &vs_rhs)
 result = min(vs_rhs)
value_type norm_1 (const DVectorSlice &vs_rhs)
 result = ||vs_rhs||1 (BLAS xASUM)
value_type norm_2 (const DVectorSlice &vs_rhs)
 result = ||vs_rhs||2 (BLAS xNRM2)
value_type norm_inf (const DVectorSlice &vs_rhs)
 result = ||vs_rhs||infinity (BLAS IxAMAX)
void swap (DVectorSlice *vs1, DVectorSlice *vs2)
 swap(vs1, vs2). Swaps the contents of vs1 and vs2
bool comp (const DVectorSlice &vs1, const DVectorSlice &vs2)
 
bool comp (const DVectorSlice &vs, value_type alpha)
 
bool comp (const DMatrixSlice &gms1, BLAS_Cpp::Transp trans1, const DMatrixSlice &gms2, BLAS_Cpp::Transp trans2)
 
bool comp (const DMatrixSlice &gms1, value_type alpha)
 
bool comp (const DMatrixSliceTriEle &tri_gms1, const DMatrixSliceTriEle &tri_gms2)
 
bool comp (const DMatrixSliceTriEle &tri_gms1, value_type alpha)
 
bool comp_less (const DVectorSlice &vs, value_type alpha)
 
bool comp (const DMatrixSlice &gms1, const DMatrixSlice &gms2)
 
const value_type sqrt_eps = ::sqrt(std::numeric_limits<value_type>::epsilon())
 

Typedefs

typedef VectorTmpl< extended_value_typeVectorExt
typedef VectorSliceTmpl< extended_value_typeVectorSliceExt
typedef long double extended_value_type
typedef FortranTypes::f_dbl_prec value_type
 Typedef for the value type of elements that is used for the library.
typedef Teuchos::Ordinal index_type
 Typedef for the index type of elements that are used by the library.
typedef Teuchos::Ordinal size_type
 Typedef for the size type of elements that are used by the library.

Functions

bool assert_print_nan_inf (const value_type &val, char name[], bool throw_excpt, std::ostream *out)
 
bool assert_print_nan_inf (const DVectorSlice &v, char name[], bool throw_excpt, std::ostream *out)
 
bool assert_print_nan_inf (const DMatrixSlice &m, char name[], bool throw_excpt, std::ostream *out)
 
void delete_row_col (size_type kd, DMatrixSliceTriEle *M)
 
void resize_gm_lhs (DMatrix *gm_rhs, size_type rows, size_type cols, BLAS_Cpp::Transp trans_rhs)
 Utility to resize a DMatrix to the size of a rhs matrix.
std::istream & operator>> (std::istream &is, DMatrix &gm)
 
std::istream & operator>> (std::istream &is, DMatrixSlice &gms)
 
void assign (DMatrix *gm_lhs, value_type alpha)
 gm_lhs = alpha (elementwise)
void assign (DMatrix *gm_lhs, const DMatrixSlice &gms_rhs, BLAS_Cpp::Transp trans_rhs)
 gm_lhs = op(gms_rhs)
void assign (DMatrixSlice *gms_lhs, value_type alpha)
 gms_lhs = alpha (elementwise)
void assign (DMatrixSlice *gms_lhs, const DMatrixSlice &gms_rhs, BLAS_Cpp::Transp trans_rhs)
 gms_lhs = op(gms_rhs)
void assign (DMatrixSliceTriEle *tri_lhs, value_type alpha)
 tri_ele_gms_lhs = alpha (elementwise)
void assign (DMatrixSliceTriEle *tri_lhs, const DMatrixSliceTriEle &tri_rhs)
 tri_ele_gms_lhs = tri_ele_gms_rhs
void Mt_S (DMatrixSlice *gms_lhs, value_type alpha)
 gms_lhs *= alpha (BLAS xSCAL)
void M_diagVtM (DMatrixSlice *gms_lhs, const DVectorSlice &vs_rhs, const DMatrixSlice &gms_rhs, BLAS_Cpp::Transp trans_rhs)
 gms_lhs = diag(vs_rhs) * op(gms_rhs) [Row or column scaling]
void Mt_S (DMatrixSliceTriEle *tri_lhs, value_type alpha)
 tri_lhs *= alpha (BLAS xSCAL)
void Mp_StM (DMatrixSliceTriEle *tri_lhs, value_type alpha, const DMatrixSliceTriEle &tri_ele_rhs)
 tri_lhs += alpha * tri_rhs (BLAS xAXPY)
void Mp_StM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSlice &gms_rhs, BLAS_Cpp::Transp trans_rhs)
 gms_lhs += alpha * op(gms_rhs) (BLAS xAXPY)
void Mp_StM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSliceSym &sym_rhs, BLAS_Cpp::Transp trans_rhs)
 gms_lhs += alpha * op(sym_rhs) (BLAS xAXPY)
void Mp_StM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSliceTri &tri_rhs, BLAS_Cpp::Transp trans_rhs)
 gms_lhs += alpha * op(tri_rhs) (BLAS xAXPY)
void Vp_StMtV (DVectorSlice *vs_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2, value_type beta)
 vs_lhs = alpha * op(gms_rhs1) * vs_rhs2 + beta * vs_lhs (BLAS xGEMV)
void Vp_StMtV (DVectorSlice *vs_lhs, value_type alpha, const DMatrixSliceSym &sym_rhs1, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2, value_type beta)
 
void V_MtV (DVector *v_lhs, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2)
 
void V_MtV (DVectorSlice *vs_lhs, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2)
 
void Vp_StMtV (DVectorSlice *vs_lhs, value_type alpha, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2, value_type beta)
 
void V_InvMtV (DVector *v_lhs, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2)
 
void V_InvMtV (DVectorSlice *vs_lhs, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2)
 
void ger (value_type alpha, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2, DMatrixSlice *gms_lhs)
 
void syr (value_type alpha, const DVectorSlice &vs_rhs, DMatrixSliceSym *sym_lhs)
 
void syr2 (value_type alpha, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2, DMatrixSliceSym *sym_lhs)
 
void Mp_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta)
 
void Mp_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSliceSym &sym_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta)
 
void Mp_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSliceSym &sym_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta)
 
void syrk (BLAS_Cpp::Transp trans, value_type alpha, const DMatrixSlice &gms_rhs, value_type beta, DMatrixSliceSym *sym_lhs)
 
void syr2k (BLAS_Cpp::Transp trans, value_type alpha, const DMatrixSlice &gms_rhs1, const DMatrixSlice &gms_rhs2, value_type beta, DMatrixSliceSym *sym_lhs)
 
void M_StMtM (DMatrix *gm_lhs, value_type alpha, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void M_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void M_StMtM (DMatrix *gm_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSliceTri &tri_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void M_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSliceTri &tri_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void Mp_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta)
 
void Mp_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSliceTri &tri_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta)
 
void M_StInvMtM (DMatrix *gm_lhs, value_type alpha, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void M_StInvMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSliceTri &tri_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void M_StMtInvM (DMatrix *gm_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSliceTri &tri_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
void M_StMtInvM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, const DMatrixSliceTri &tri_rhs2, BLAS_Cpp::Transp trans_rhs2)
 
std::ostream & operator<< (std::ostream &os, const DMatrixSlice &gms)
 
std::ostream & output (std::ostream &out_arg, const DMatrixSlice &gms, LinAlgPackIO::fmtflags extra_flags)
std::istream & operator>> (std::istream &is, DVector &v)
 
std::istream & operator>> (std::istream &is, DVectorSlice &vs)
 
void Vp_S (DVectorSlice *vs_lhs, value_type alpha)
 vs_lhs += alpha
void Vt_S (DVectorSlice *vs_lhs, value_type alpha)
 vs_lhs *= alpha (BLAS xSCAL) (*** Note that alpha == 0.0 is handeled as vs_lhs = 0.0)
void Vp_StV (DVectorSlice *vs_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 vs_lhs += alpha * vs_rhs (BLAS xAXPY)
void assign (DVectorSlice *vs_lhs, value_type alpha)
 vs_lhs = alpha (elementwise)
void assign (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = vs_rhs
void V_VpV (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 vs_lhs = vs_rhs1 + vs_rhs2
void V_VmV (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 vs_lhs = vs_rhs1 - vs_rhs2
void V_mV (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = - vs_rhs
void V_StV (DVectorSlice *vs_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 vs_lhs = alpha * vs_rhs
void abs (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = abs(vs_rhs)
void asin (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = asin(vs_rhs)
void acos (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = acos(vs_rhs)
void atan (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = atan(vs_rhs)
void atan2 (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 vs_lhs = atan(vs_rhs1/vs_rhs2)
void atan2 (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs, value_type alpha)
 vs_lhs = atan(vs_rhs/alpha)
void atan2 (DVectorSlice *vs_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 vs_lhs = atan(alpha/vs_rhs)
void cos (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = cos(vs_rhs)
void cosh (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = cosh(vs_rhs)
void exp (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = exp(vs_rhs)
void max (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 vs_lhs = max(vs_rhs1,vs_rhs2)
void max (DVectorSlice *vs_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 vs_lhs = max(alpha,vs_rhs)
void min (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 vs_lhs = min(vs_rhs1,vs_rhs2)
void min (DVectorSlice *vs_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 vs_lhs = mim(alpha,vs_rhs)
void pow (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 vs_lhs = pow(vs_rhs1,vs_rhs2)
void pow (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs, value_type alpha)
 vs_lhs = pow(vs_rhs,alpha)
void pow (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs, int n)
 vs_lhs = pow(vs_rhs,n)
void pow (DVectorSlice *vs_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 vs_lhs = pow(alpha,vs_rhs)
void prod (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 vs_lhs(i) = vs_rhs1(i) * vs_rhs2(i), i = 1...n
void sqrt (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = sqrt(vs_rhs)
void sin (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = sin(vs_rhs)
void sinh (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = sinh(vs_rhs)
void tan (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = tan(vs_rhs)
void tanh (DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
 vs_lhs = tanh(vs_rhs)
void assign (DVector *v_lhs, value_type alpha)
 v_lhs = alpha (elementwise)
void assign (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = vs_rhs.
void V_VpV (DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 v_lhs = vs_rhs1 + vs_rhs2
void V_VmV (DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 v_lhs = vs_rhs1 - vs_rhs2
void V_mV (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = - vs_rhs
void V_StV (DVector *v_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 v_lhs = alpha * vs_rhs
void rot (const value_type c, const value_type s, DVectorSlice *x, DVectorSlice *y)
 
void abs (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = abs(vs_rhs)
void asin (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = asin(vs_rhs)
void acos (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = acos(vs_rhs)
void atan (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = atan(vs_rhs)
void atan2 (DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 v_lhs = atan(vs_rhs1/vs_rhs2)
void atan2 (DVector *v_lhs, const DVectorSlice &vs_rhs, value_type alpha)
 v_lhs = atan(vs_rhs/alpha)
void atan2 (DVector *v_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 v_lhs = atan(alpha/vs_rhs)
void cos (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = cos(vs_rhs)
void cosh (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = cosh(vs_rhs)
void exp (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = exp(vs_rhs)
void max (DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 v_lhs = max(vs_rhs1,vs_rhs2)
void max (DVector *v_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 v_lhs = max(alpha,vs_rhs)
void min (DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 v_lhs = min(vs_rhs1,vs_rhs2)
void min (DVector *v_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 v_lhs = mim(alpha,vs_rhs)
void pow (DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 v_lhs = pow(vs_rhs1,vs_rhs2)
void pow (DVector *v_lhs, const DVectorSlice &vs_rhs, value_type alpha)
 v_lhs = pow(vs_rhs,alpha)
void pow (DVector *v_lhs, const DVectorSlice &vs_rhs, int n)
 v_lhs = pow(vs_rhs,n)
void pow (DVector *v_lhs, value_type alpha, const DVectorSlice &vs_rhs)
 v_lhs = pow(alpha,vs_rhs)
void prod (DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 v_lhs(i) = vs_rhs1(i) * vs_rhs2(i), i = 1...n
void sqrt (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = sqrt(vs_rhs)
void sin (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = sin(vs_rhs)
void sinh (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = sinh(vs_rhs)
void tan (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = tan(vs_rhs)
void tanh (DVector *v_lhs, const DVectorSlice &vs_rhs)
 v_lhs = tanh(vs_rhs)
DenseLinAlgPack::value_type dot (const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
 result = vs_rhs1' * vs_rhs2 (BLAS xDOT)
DenseLinAlgPack::value_type max (const DVectorSlice &vs_rhs)
 result = max(vs_rhs)
DenseLinAlgPack::value_type min (const DVectorSlice &vs_rhs)
 result = min(vs_rhs)
DenseLinAlgPack::value_type norm_1 (const DVectorSlice &vs_rhs)
 result = ||vs_rhs||1 (BLAS xASUM)
DenseLinAlgPack::value_type norm_2 (const DVectorSlice &vs_rhs)
 result = ||vs_rhs||2 (BLAS xNRM2)
DenseLinAlgPack::value_type norm_inf (const DVectorSlice &vs_rhs)
 result = ||vs_rhs||infinity (BLAS IxAMAX)
void swap (DVectorSlice *vs1, DVectorSlice *vs2)
 swap(vs1, vs2). Swaps the contents of vs1 and vs2
std::ostream & operator<< (std::ostream &os, const DVectorSlice &vs)
 
std::ostream & output (std::ostream &os, const DVectorSlice &vs, LinAlgPackIO::fmtflags extra_flags)
DVector e_vec (size_type i, size_type n)
 creates an n sized vector with all zeros accepts the ith element is one.
DMatrix eye (size_type n)
 creates an n x n identity matrix
template<class T>
std::istream & operator>> (std::istream &is, const LinAlgPackIO::bound_format< T > &bf)
 
void update_chol_factor (DMatrixSlice *UpTriM, DVectorSlice *u, const DVectorSlice &v)
 
void jacobi_rotate (DMatrixSlice *UpTriM, size_type row_i, value_type alpha, value_type beta)
 
template<class T>
std::ostream & operator<< (std::ostream &os, const LinAlgPackIO::const_bound_format< T > &bf)
 
template<class T>
std::ostream & operator<< (std::ostream &os, const LinAlgPackIO::bound_format< T > &bf)
 Force a type conversion from bound_format<T># to const_bound_format<T># to call operator<<#().
std::istream & operator>> (std::istream &istrm, IVector &perm)
 
std::ostream & operator<< (std::ostream &o, const IVector &perm)
 
void identity_perm (IVector *perm)
 
void inv_perm (const IVector &perm, IVector *inv_perm)
 
void perm_ele (const IVector &perm, DVectorSlice *vs)
 Permute a DVectorSlice in place.
void perm_ele (const DVectorSlice &x, const IVector &perm, DVectorSlice *y)
 Perform y = P*x.
void inv_perm_ele (const DVectorSlice &y, const IVector &perm, DVectorSlice *x)
 Perform x = P'*y.
void perm_rows (const IVector &row_perm, DMatrixSlice *gms)
 Permute a GenMatrixSlices rows.
void perm_cols (const IVector &col_perm, DMatrixSlice *gms)
 Permute a GenMatrixSlices columns.
void perm_rows_cols (const IVector &row_perm, const IVector &col_perm, DMatrixSlice *gms)
 Permute a GenMatrixSlices rows and columns.
void seed_random_vector_generator (unsigned int)
 
void random_vector (value_type l, value_type u, DVectorSlice *v)
 


Detailed Description

Test function for COOMatrix and COOMatrixSlice.

Typedef Documentation

typedef VectorTmpl<extended_value_type> DenseLinAlgPack::VectorExt

Definition at line 38 of file DenseLinAlgPack_DVectorClassExt.hpp.

typedef VectorSliceTmpl<extended_value_type> DenseLinAlgPack::VectorSliceExt

Definition at line 39 of file DenseLinAlgPack_DVectorClassExt.hpp.

typedef long double DenseLinAlgPack::extended_value_type

Definition at line 34 of file DenseLinAlgPack_extended_value_type.hpp.

typedef FortranTypes::f_dbl_prec DenseLinAlgPack::value_type

Typedef for the value type of elements that is used for the library.

Definition at line 87 of file DenseLinAlgPack_Options.hpp.

typedef Teuchos::Ordinal DenseLinAlgPack::index_type

Typedef for the index type of elements that are used by the library.

Definition at line 89 of file DenseLinAlgPack_Options.hpp.

typedef Teuchos::Ordinal DenseLinAlgPack::size_type

Typedef for the size type of elements that are used by the library.

Definition at line 91 of file DenseLinAlgPack_Options.hpp.

typedef VectorTmpl<value_type> DenseLinAlgPack::DVector

Definition at line 79 of file DenseLinAlgPack_Types.hpp.

typedef VectorSliceTmpl<value_type> DenseLinAlgPack::DVectorSlice

Definition at line 83 of file DenseLinAlgPack_Types.hpp.

typedef VectorTmpl<extended_value_type> DenseLinAlgPack::VectorExt

Definition at line 85 of file DenseLinAlgPack_Types.hpp.

typedef VectorSliceTmpl<extended_value_type> DenseLinAlgPack::VectorSliceExt

Definition at line 87 of file DenseLinAlgPack_Types.hpp.


Enumeration Type Documentation

enum DenseLinAlgPack::EOverLap

Enumeration for returning the amount of overlap between two objects.

Enumerator:
NO_OVERLAP 
SOME_OVERLAP 
SAME_MEM 

Definition at line 68 of file DenseLinAlgPack_Types.hpp.


Function Documentation

bool DenseLinAlgPack::assert_print_nan_inf ( const value_type val,
char  name[],
bool  throw_excpt,
std::ostream *  out 
)

Definition at line 38 of file DenseLinAlgPack_assert_print_nan_inf.cpp.

bool DenseLinAlgPack::assert_print_nan_inf ( const DVectorSlice v,
char  name[],
bool  throw_excpt,
std::ostream *  out 
)

Definition at line 60 of file DenseLinAlgPack_assert_print_nan_inf.cpp.

bool DenseLinAlgPack::assert_print_nan_inf ( const DMatrixSlice m,
char  name[],
bool  throw_excpt,
std::ostream *  out 
)

Definition at line 96 of file DenseLinAlgPack_assert_print_nan_inf.cpp.

void DenseLinAlgPack::Vp_V_assert_sizes ( size_type  v_lhs_size,
size_type  v_rhs_size 
)

v_lhs += op v_rhs

Definition at line 37 of file DenseLinAlgPack_AssertOp.cpp.

void DenseLinAlgPack::VopV_assert_sizes ( size_type  v_rhs1_size,
size_type  v_rhs2_size 
)

v_rhs1 op v_rhs2

Definition at line 45 of file DenseLinAlgPack_AssertOp.cpp.

void DenseLinAlgPack::Mp_M_assert_sizes ( size_type  m_lhs_rows,
size_type  m_lhs_cols,
BLAS_Cpp::Transp  trans_lhs,
size_type  m_rhs_rows,
size_type  m_rhs_cols,
BLAS_Cpp::Transp  trans_rhs 
)

op(m_lhs) += op op(m_rhs)

Definition at line 53 of file DenseLinAlgPack_AssertOp.cpp.

void DenseLinAlgPack::MopM_assert_sizes ( size_type  m_rhs1_rows,
size_type  m_rhs1_cols,
BLAS_Cpp::Transp  trans_rhs1,
size_type  m_rhs2_rows,
size_type  m_rhs2_cols,
BLAS_Cpp::Transp  trans_rhs2 
)

v_rhs1 op v_rhs2

Definition at line 66 of file DenseLinAlgPack_AssertOp.cpp.

void DenseLinAlgPack::MtV_assert_sizes ( size_type  m_rhs1_rows,
size_type  m_rhs1_cols,
BLAS_Cpp::Transp  trans_rhs1,
size_type  v_rhs2_size 
)

op(m_rhs1) * v_rhs2

Definition at line 79 of file DenseLinAlgPack_AssertOp.cpp.

void DenseLinAlgPack::Vp_MtV_assert_sizes ( size_type  v_lhs_size,
size_type  m_rhs1_rows,
size_type  m_rhs1_cols,
BLAS_Cpp::Transp  trans_rhs1,
size_type  v_rhs2_size 
)

v_lhs += op(m_rhs1) * v_rhs2

Definition at line 90 of file DenseLinAlgPack_AssertOp.cpp.

void DenseLinAlgPack::MtM_assert_sizes ( size_type  m_rhs1_rows,
size_type  m_rhs1_cols,
BLAS_Cpp::Transp  trans_rhs1,
size_type  m_rhs2_rows,
size_type  m_rhs2_cols,
BLAS_Cpp::Transp  trans_rhs2 
)

op(m_lhs) += op(m_rhs1)

Definition at line 107 of file DenseLinAlgPack_AssertOp.cpp.

void DenseLinAlgPack::Mp_MtM_assert_sizes ( size_type  m_lhs_rows,
size_type  m_lhs_cols,
BLAS_Cpp::Transp  trans_lhs,
size_type  m_rhs1_rows,
size_type  m_rhs1_cols,
BLAS_Cpp::Transp  trans_rhs1,
size_type  m_rhs2_rows,
size_type  m_rhs2_cols,
BLAS_Cpp::Transp  trans_rhs2 
)

op(m_lhs) += op(m_rhs1) * op(m_rhs2)

Definition at line 119 of file DenseLinAlgPack_AssertOp.cpp.

void DenseLinAlgPack::delete_row_col ( size_type  kd,
DMatrixSliceTriEle tri_M 
)

Definition at line 35 of file DenseLinAlgPack_delete_row_col.cpp.

void DenseLinAlgPack::assign ( DMatrix gm_lhs,
value_type  alpha 
)

gm_lhs = alpha (elementwise)

Definition at line 108 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::assign ( DMatrix gm_lhs,
const DMatrixSlice gms_rhs,
BLAS_Cpp::Transp  trans_rhs 
)

gm_lhs = op(gms_rhs)

Definition at line 115 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::assign ( DMatrixSlice gms_lhs,
value_type  alpha 
)

gms_lhs = alpha (elementwise)

Definition at line 132 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::assign ( DMatrixSlice gms_lhs,
const DMatrixSlice gms_rhs,
BLAS_Cpp::Transp  trans_rhs 
)

gms_lhs = op(gms_rhs)

Definition at line 141 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::assign ( DMatrixSliceTriEle tri_gms_lhs,
value_type  alpha 
)

tri_ele_gms_lhs = alpha (elementwise)

Definition at line 148 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::assign ( DMatrixSliceTriEle tri_ele_gms_lhs,
const DMatrixSliceTriEle tri_ele_gms_rhs 
)

tri_ele_gms_lhs = tri_ele_gms_rhs

Definition at line 163 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

DMatrixSliceTriEle DenseLinAlgPack::nonconst_tri_ele ( DMatrixSlice  gms,
BLAS_Cpp::Uplo  uplo 
) [inline]

Return a triangular element-wise matrix.

Definition at line 99 of file DenseLinAlgPack_DMatrixAsTriSym.hpp.

const DMatrixSliceTriEle DenseLinAlgPack::tri_ele ( const DMatrixSlice gms,
BLAS_Cpp::Uplo  uplo 
) [inline]

Definition at line 106 of file DenseLinAlgPack_DMatrixAsTriSym.hpp.

DMatrixSliceTri DenseLinAlgPack::nonconst_tri ( DMatrixSlice  gms,
BLAS_Cpp::Uplo  uplo,
BLAS_Cpp::Diag  diag 
) [inline]

Return a triangular matrix.

Definition at line 172 of file DenseLinAlgPack_DMatrixAsTriSym.hpp.

const DMatrixSliceTri DenseLinAlgPack::tri ( const DMatrixSlice gms,
BLAS_Cpp::Uplo  uplo,
BLAS_Cpp::Diag  diag 
) [inline]

Definition at line 179 of file DenseLinAlgPack_DMatrixAsTriSym.hpp.

DMatrixSliceSym DenseLinAlgPack::nonconst_sym ( DMatrixSlice  gms,
BLAS_Cpp::Uplo  uplo 
) [inline]

Return a symmetric matrix.

Definition at line 238 of file DenseLinAlgPack_DMatrixAsTriSym.hpp.

const DMatrixSliceSym DenseLinAlgPack::sym ( const DMatrixSlice gms,
BLAS_Cpp::Uplo  uplo 
) [inline]

Definition at line 245 of file DenseLinAlgPack_DMatrixAsTriSym.hpp.

void DenseLinAlgPack::assert_gms_sizes ( const DMatrixSlice gms1,
BLAS_Cpp::Transp  trans1,
const DMatrixSlice gms2,
BLAS_Cpp::Transp  trans2 
) [inline]

Assert two matrices are the same size and throws length_error if they are not (LINALGPACK_CHECK_RHS_SIZES).

Definition at line 178 of file DenseLinAlgPack_DMatrixClass.cpp.

void DenseLinAlgPack::assert_gms_square ( const DMatrixSlice gms  )  [inline]

Assert a matrix is square and throws length_error if it is not (LINALGPACK_CHECK_SLICE_SETUP).

Definition at line 650 of file DenseLinAlgPack_DMatrixClass.hpp.

void DenseLinAlgPack::assert_gms_lhs ( const DMatrixSlice gms_lhs,
size_type  rows,
size_type  cols,
BLAS_Cpp::Transp  trans_rhs = BLAS_Cpp::no_trans 
) [inline]

Definition at line 667 of file DenseLinAlgPack_DMatrixClass.hpp.

DVectorSlice DenseLinAlgPack::row ( DMatrixSlice gms,
BLAS_Cpp::Transp  trans,
size_type  i 
) [inline]

Definition at line 681 of file DenseLinAlgPack_DMatrixClass.hpp.

DVectorSlice DenseLinAlgPack::col ( DMatrixSlice gms,
BLAS_Cpp::Transp  trans,
size_type  j 
) [inline]

Definition at line 687 of file DenseLinAlgPack_DMatrixClass.hpp.

const DVectorSlice DenseLinAlgPack::row ( const DMatrixSlice gms,
BLAS_Cpp::Transp  trans,
size_type  i 
) [inline]

Definition at line 693 of file DenseLinAlgPack_DMatrixClass.hpp.

const DVectorSlice DenseLinAlgPack::col ( const DMatrixSlice gms,
BLAS_Cpp::Transp  trans,
size_type  j 
) [inline]

Definition at line 699 of file DenseLinAlgPack_DMatrixClass.hpp.

DVectorSlice DenseLinAlgPack::row ( DMatrix gm,
BLAS_Cpp::Transp  trans,
size_type  i 
) [inline]

Definition at line 705 of file DenseLinAlgPack_DMatrixClass.hpp.

DVectorSlice DenseLinAlgPack::col ( DMatrix gm,
BLAS_Cpp::Transp  trans,
size_type  j 
) [inline]

Definition at line 711 of file DenseLinAlgPack_DMatrixClass.hpp.

const DVectorSlice DenseLinAlgPack::row ( const DMatrix gm,
BLAS_Cpp::Transp  trans,
size_type  i 
) [inline]

Definition at line 717 of file DenseLinAlgPack_DMatrixClass.hpp.

const DVectorSlice DenseLinAlgPack::col ( const DMatrix gm,
BLAS_Cpp::Transp  trans,
size_type  j 
) [inline]

Definition at line 723 of file DenseLinAlgPack_DMatrixClass.hpp.

void DenseLinAlgPack::resize_gm_lhs ( DMatrix gm_rhs,
size_type  rows,
size_type  cols,
BLAS_Cpp::Transp  trans_rhs 
) [inline]

Utility to resize a DMatrix to the size of a rhs matrix.

Definition at line 731 of file DenseLinAlgPack_DMatrixClass.hpp.

std::istream& DenseLinAlgPack::operator>> ( std::istream &  is,
DMatrix gm 
) [inline]

Definition at line 42 of file DenseLinAlgPack_DMatrixIn.hpp.

std::istream& DenseLinAlgPack::operator>> ( std::istream &  is,
DMatrixSlice gms 
) [inline]

Definition at line 51 of file DenseLinAlgPack_DMatrixIn.hpp.

std::istream & DenseLinAlgPack::input ( std::istream &  is,
DMatrix gm,
LinAlgPackIO::fmtflags  extra_flags 
)

Definition at line 40 of file DenseLinAlgPack_DMatrixInFunc.cpp.

std::istream & DenseLinAlgPack::input ( std::istream &  is,
DMatrixSlice gms,
LinAlgPackIO::fmtflags  extra_flags 
)

Definition at line 57 of file DenseLinAlgPack_DMatrixInFunc.cpp.

void DenseLinAlgPack::Mt_S ( DMatrixSlice gms_lhs,
value_type  alpha 
)

gms_lhs *= alpha (BLAS xSCAL)

Definition at line 202 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_diagVtM ( DMatrixSlice gms_lhs,
const DVectorSlice vs_rhs,
const DMatrixSlice gms_rhs,
BLAS_Cpp::Transp  trans_rhs 
)

gms_lhs = diag(vs_rhs) * op(gms_rhs) [Row or column scaling]

Definition at line 211 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mt_S ( DMatrixSliceTriEle tri_lhs,
value_type  alpha 
)

tri_lhs *= alpha (BLAS xSCAL)

Definition at line 220 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StM ( DMatrixSliceTriEle tri_lhs,
value_type  alpha,
const DMatrixSliceTriEle tri_rhs 
)

tri_lhs += alpha * tri_rhs (BLAS xAXPY)

Definition at line 232 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs,
BLAS_Cpp::Transp  trans_rhs 
)

gms_lhs += alpha * op(gms_rhs) (BLAS xAXPY)

Definition at line 248 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSliceSym sym_rhs,
BLAS_Cpp::Transp  trans_rhs 
)

gms_lhs += alpha * op(sym_rhs) (BLAS xAXPY)

Definition at line 276 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSliceTri tri_rhs,
BLAS_Cpp::Transp  trans_rhs 
)

gms_lhs += alpha * op(tri_rhs) (BLAS xAXPY)

Definition at line 293 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Vp_StMtV ( DVectorSlice vs_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2,
value_type  beta = 1.0 
)

vs_lhs = alpha * op(gms_rhs1) * vs_rhs2 + beta * vs_lhs (BLAS xGEMV)

Definition at line 336 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Vp_StMtV ( DVectorSlice vs_lhs,
value_type  alpha,
const DMatrixSliceSym sym_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2,
value_type  beta = 1.0 
)

Definition at line 346 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::V_MtV ( DVector v_lhs,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2 
)

Definition at line 357 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::V_MtV ( DVectorSlice vs_lhs,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2 
)

Definition at line 368 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Vp_StMtV ( DVectorSlice vs_lhs,
value_type  alpha,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2,
value_type  beta = 1.0 
)

Definition at line 379 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::V_InvMtV ( DVector v_lhs,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2 
)

Definition at line 400 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::V_InvMtV ( DVectorSlice vs_lhs,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2 
)

Definition at line 411 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::ger ( value_type  alpha,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2,
DMatrixSlice gms_lhs 
)

Definition at line 423 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::syr ( value_type  alpha,
const DVectorSlice vs_rhs,
DMatrixSliceSym sym_lhs 
)

Definition at line 436 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::syr2 ( value_type  alpha,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2,
DMatrixSliceSym sym_lhs 
)

Definition at line 445 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2,
value_type  beta = 1.0 
)

Definition at line 463 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSliceSym sym_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2,
value_type  beta = 1.0 
)

Definition at line 496 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSliceSym sym_rhs2,
BLAS_Cpp::Transp  trans_rhs2,
value_type  beta = 1.0 
)

Definition at line 514 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::syrk ( BLAS_Cpp::Transp  trans,
value_type  alpha,
const DMatrixSlice gms_rhs,
value_type  beta,
DMatrixSliceSym sym_lhs 
)

Definition at line 532 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::syr2k ( BLAS_Cpp::Transp  trans,
value_type  alpha,
const DMatrixSlice gms_rhs1,
const DMatrixSlice gms_rhs2,
value_type  beta,
DMatrixSliceSym sym_lhs 
)

Definition at line 544 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StMtM ( DMatrix gm_lhs,
value_type  alpha,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 614 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 625 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StMtM ( DMatrix gm_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSliceTri tri_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 635 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSliceTri tri_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 646 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2,
value_type  beta = 1.0 
)

Definition at line 656 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSliceTri tri_rhs2,
BLAS_Cpp::Transp  trans_rhs2,
value_type  beta = 1.0 
)

Definition at line 675 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StInvMtM ( DMatrix gm_lhs,
value_type  alpha,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 694 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StInvMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 705 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StMtInvM ( DMatrix gm_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSliceTri tri_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 715 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StMtInvM ( DMatrixSlice gm_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSliceTri tri_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 726 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::assign ( DMatrix gm_lhs,
value_type  alpha 
)

gm_lhs = alpha (elementwise)

Definition at line 108 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::assign ( DMatrix gm_lhs,
const DMatrixSlice gms_rhs,
BLAS_Cpp::Transp  trans_rhs 
)

gm_lhs = op(gms_rhs)

Definition at line 115 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::assign ( DMatrixSlice gms_lhs,
value_type  alpha 
)

gms_lhs = alpha (elementwise)

Definition at line 132 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::assign ( DMatrixSlice gms_lhs,
const DMatrixSlice gms_rhs,
BLAS_Cpp::Transp  trans_rhs 
)

gms_lhs = op(gms_rhs)

Definition at line 141 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::assign ( DMatrixSliceTriEle tri_lhs,
value_type  alpha 
)

tri_ele_gms_lhs = alpha (elementwise)

Definition at line 148 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::assign ( DMatrixSliceTriEle tri_lhs,
const DMatrixSliceTriEle tri_rhs 
)

tri_ele_gms_lhs = tri_ele_gms_rhs

Definition at line 163 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mt_S ( DMatrixSlice gms_lhs,
value_type  alpha 
)

gms_lhs *= alpha (BLAS xSCAL)

Definition at line 202 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_diagVtM ( DMatrixSlice gms_lhs,
const DVectorSlice vs_rhs,
const DMatrixSlice gms_rhs,
BLAS_Cpp::Transp  trans_rhs 
)

gms_lhs = diag(vs_rhs) * op(gms_rhs) [Row or column scaling]

Definition at line 211 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mt_S ( DMatrixSliceTriEle tri_lhs,
value_type  alpha 
)

tri_lhs *= alpha (BLAS xSCAL)

Definition at line 220 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StM ( DMatrixSliceTriEle tri_lhs,
value_type  alpha,
const DMatrixSliceTriEle tri_ele_rhs 
)

tri_lhs += alpha * tri_rhs (BLAS xAXPY)

Definition at line 232 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs,
BLAS_Cpp::Transp  trans_rhs 
)

gms_lhs += alpha * op(gms_rhs) (BLAS xAXPY)

Definition at line 248 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSliceSym sym_rhs,
BLAS_Cpp::Transp  trans_rhs 
)

gms_lhs += alpha * op(sym_rhs) (BLAS xAXPY)

Definition at line 276 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSliceTri tri_rhs,
BLAS_Cpp::Transp  trans_rhs 
)

gms_lhs += alpha * op(tri_rhs) (BLAS xAXPY)

Definition at line 293 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Vp_StMtV ( DVectorSlice vs_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2,
value_type  beta 
)

vs_lhs = alpha * op(gms_rhs1) * vs_rhs2 + beta * vs_lhs (BLAS xGEMV)

Definition at line 336 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Vp_StMtV ( DVectorSlice vs_lhs,
value_type  alpha,
const DMatrixSliceSym sym_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2,
value_type  beta 
)

Definition at line 346 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::V_MtV ( DVector v_lhs,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2 
)

Definition at line 357 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::V_MtV ( DVectorSlice vs_lhs,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2 
)

Definition at line 368 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Vp_StMtV ( DVectorSlice vs_lhs,
value_type  alpha,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2,
value_type  beta 
)

Definition at line 379 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::V_InvMtV ( DVector v_lhs,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2 
)

Definition at line 400 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::V_InvMtV ( DVectorSlice vs_lhs,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2 
)

Definition at line 411 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::ger ( value_type  alpha,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2,
DMatrixSlice gms_lhs 
)

Definition at line 423 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::syr ( value_type  alpha,
const DVectorSlice vs_rhs,
DMatrixSliceSym sym_lhs 
)

Definition at line 436 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::syr2 ( value_type  alpha,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2,
DMatrixSliceSym sym_lhs 
)

Definition at line 445 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2,
value_type  beta 
)

Definition at line 463 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSliceSym sym_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2,
value_type  beta 
)

Definition at line 496 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSliceSym sym_rhs2,
BLAS_Cpp::Transp  trans_rhs2,
value_type  beta 
)

Definition at line 514 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::syrk ( BLAS_Cpp::Transp  trans,
value_type  alpha,
const DMatrixSlice gms_rhs,
value_type  beta,
DMatrixSliceSym sym_lhs 
)

Definition at line 532 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::syr2k ( BLAS_Cpp::Transp  trans,
value_type  alpha,
const DMatrixSlice gms_rhs1,
const DMatrixSlice gms_rhs2,
value_type  beta,
DMatrixSliceSym sym_lhs 
)

Definition at line 544 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StMtM ( DMatrix gm_lhs,
value_type  alpha,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 614 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 625 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StMtM ( DMatrix gm_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSliceTri tri_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 635 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSliceTri tri_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 646 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2,
value_type  beta 
)

Definition at line 656 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::Mp_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSliceTri tri_rhs2,
BLAS_Cpp::Transp  trans_rhs2,
value_type  beta 
)

Definition at line 675 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StInvMtM ( DMatrix gm_lhs,
value_type  alpha,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 694 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StInvMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSliceTri tri_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 705 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StMtInvM ( DMatrix gm_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSliceTri tri_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 715 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

void DenseLinAlgPack::M_StMtInvM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSliceTri tri_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
)

Definition at line 726 of file DenseLinAlgPack_DMatrixOpBLAS.cpp.

std::ostream& DenseLinAlgPack::operator<< ( std::ostream &  os,
const DMatrixSlice gms 
) [inline]

Definition at line 41 of file DenseLinAlgPack_DMatrixOut.hpp.

std::ostream & DenseLinAlgPack::output ( std::ostream &  out_arg,
const DMatrixSlice gms,
LinAlgPackIO::fmtflags  extra_flags 
)

Definition at line 37 of file DenseLinAlgPack_DMatrixOutFunc.cpp.

void DenseLinAlgPack::assign ( DVector v_lhs,
value_type  alpha 
)

v_lhs = alpha (elementwise)

Definition at line 271 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::assign ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = vs_rhs.

Definition at line 278 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::assign ( DVectorSlice vs_lhs,
value_type  alpha 
)

vs_lhs = alpha (elementwise)

Definition at line 116 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::assign ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = vs_rhs

Definition at line 121 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

size_type DenseLinAlgPack::vector_validate_sized ( size_type  size  ) 

Definition at line 35 of file DenseLinAlgPack_DVectorClassTmpl.cpp.

void DenseLinAlgPack::vector_validate_range ( size_type  ubound,
size_type  max_ubound 
)

Definition at line 46 of file DenseLinAlgPack_DVectorClassTmpl.cpp.

void DenseLinAlgPack::vector_validate_subscript ( size_type  size,
size_type  i 
)

Definition at line 55 of file DenseLinAlgPack_DVectorClassTmpl.cpp.

void DenseLinAlgPack::assert_vs_sizes ( size_type  size1,
size_type  size2 
)

Definition at line 64 of file DenseLinAlgPack_DVectorClassTmpl.cpp.

template<class T>
VectorSliceTmpl<T> DenseLinAlgPack::gen_vs ( VectorSliceTmpl< T > &  vs,
size_type  start,
size_type  size,
ptrdiff_t  stride 
) [inline]

Definition at line 767 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T>
const VectorSliceTmpl<T> DenseLinAlgPack::gen_vs ( const VectorSliceTmpl< T > &  vs,
size_type  start,
size_type  size,
ptrdiff_t  stride 
) [inline]

Definition at line 775 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

std::istream& DenseLinAlgPack::operator>> ( std::istream &  is,
DVector v 
) [inline]

Definition at line 42 of file DenseLinAlgPack_DVectorIn.hpp.

std::istream& DenseLinAlgPack::operator>> ( std::istream &  is,
DVectorSlice vs 
) [inline]

Definition at line 51 of file DenseLinAlgPack_DVectorIn.hpp.

std::istream & DenseLinAlgPack::input ( std::istream &  is,
DVector v,
LinAlgPackIO::fmtflags  extra_flags 
)

Definition at line 39 of file DenseLinAlgPack_DVectorInFunc.cpp.

std::istream & DenseLinAlgPack::input ( std::istream &  is,
DVectorSlice vs,
LinAlgPackIO::fmtflags  extra_flags 
)

Definition at line 52 of file DenseLinAlgPack_DVectorInFunc.cpp.

void DenseLinAlgPack::Vp_S ( DVectorSlice vs_lhs,
value_type  alpha 
)

vs_lhs += alpha

Definition at line 82 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::Vt_S ( DVectorSlice vs_lhs,
value_type  alpha 
)

vs_lhs *= alpha (BLAS xSCAL) (*** Note that alpha == 0.0 is handeled as vs_lhs = 0.0)

Definition at line 99 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::Vp_StV ( DVectorSlice vs_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

vs_lhs += alpha * vs_rhs (BLAS xAXPY)

Definition at line 108 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_VpV ( DVector v_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

v_lhs = vs_rhs1 + vs_rhs2

Definition at line 282 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_VmV ( DVector v_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

v_lhs = vs_rhs1 - vs_rhs2

Definition at line 296 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_mV ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = - vs_rhs

Definition at line 302 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_StV ( DVector v_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

v_lhs = alpha * vs_rhs

Definition at line 307 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_VpV ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

vs_lhs = vs_rhs1 + vs_rhs2

Definition at line 125 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_VmV ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

vs_lhs = vs_rhs1 - vs_rhs2

Definition at line 130 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_mV ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = - vs_rhs

Definition at line 135 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_StV ( DVectorSlice vs_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

vs_lhs = alpha * vs_rhs

Definition at line 140 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::rot ( const value_type  c,
const value_type  s,
DVectorSlice x,
DVectorSlice y 
)

Definition at line 313 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::abs ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = abs(vs_rhs)

Definition at line 179 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::asin ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = asin(vs_rhs)

Definition at line 182 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::acos ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = acos(vs_rhs)

Definition at line 185 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = atan(vs_rhs)

Definition at line 188 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan2 ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

vs_lhs = atan(vs_rhs1/vs_rhs2)

Definition at line 191 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan2 ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs,
value_type  alpha 
)

vs_lhs = atan(vs_rhs/alpha)

Definition at line 194 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan2 ( DVectorSlice vs_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

vs_lhs = atan(alpha/vs_rhs)

Definition at line 197 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::cos ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = cos(vs_rhs)

Definition at line 201 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::cosh ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = cosh(vs_rhs)

Definition at line 204 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::exp ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = exp(vs_rhs)

Definition at line 207 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::max ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

vs_lhs = max(vs_rhs1,vs_rhs2)

Definition at line 210 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::max ( DVectorSlice vs_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

vs_lhs = max(alpha,vs_rhs)

Definition at line 218 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::min ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

vs_lhs = min(vs_rhs1,vs_rhs2)

Definition at line 224 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::min ( DVectorSlice vs_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

vs_lhs = mim(alpha,vs_rhs)

Definition at line 232 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

vs_lhs = pow(vs_rhs1,vs_rhs2)

Definition at line 238 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs,
value_type  alpha 
)

vs_lhs = pow(vs_rhs,alpha)

Definition at line 241 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs,
int  n 
)

vs_lhs = pow(vs_rhs,n)

Definition at line 244 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVectorSlice vs_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

vs_lhs = pow(alpha,vs_rhs)

Definition at line 247 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::prod ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

vs_lhs(i) = vs_rhs1(i) * vs_rhs2(i), i = 1...n

Definition at line 250 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::sqrt ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = sqrt(vs_rhs)

Definition at line 253 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::sin ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = sin(vs_rhs)

Definition at line 256 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::sinh ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = sinh(vs_rhs)

Definition at line 259 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::tan ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = tan(vs_rhs)

Definition at line 262 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::tanh ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = tanh(vs_rhs)

Definition at line 265 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::abs ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = abs(vs_rhs)

Definition at line 349 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::asin ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = asin(vs_rhs)

Definition at line 352 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::acos ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = acos(vs_rhs)

Definition at line 355 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = atan(vs_rhs)

Definition at line 358 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan2 ( DVector v_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

v_lhs = atan(vs_rhs1/vs_rhs2)

Definition at line 361 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan2 ( DVector v_lhs,
const DVectorSlice vs_rhs,
value_type  alpha 
)

v_lhs = atan(vs_rhs/alpha)

Definition at line 365 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan2 ( DVector v_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

v_lhs = atan(alpha/vs_rhs)

Definition at line 368 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::cos ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = cos(vs_rhs)

Definition at line 371 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::cosh ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = cosh(vs_rhs)

Definition at line 374 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::exp ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = exp(vs_rhs)

Definition at line 377 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::max ( DVector v_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

v_lhs = max(vs_rhs1,vs_rhs2)

Definition at line 380 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::max ( DVector v_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

v_lhs = max(alpha,vs_rhs)

Definition at line 388 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::min ( DVector v_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

v_lhs = min(vs_rhs1,vs_rhs2)

Definition at line 394 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::min ( DVector v_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

v_lhs = mim(alpha,vs_rhs)

Definition at line 402 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVector v_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

v_lhs = pow(vs_rhs1,vs_rhs2)

Definition at line 408 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVector v_lhs,
const DVectorSlice vs_rhs,
value_type  alpha 
)

v_lhs = pow(vs_rhs,alpha)

Definition at line 411 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVector v_lhs,
const DVectorSlice vs_rhs,
int  n 
)

v_lhs = pow(vs_rhs,n)

Definition at line 414 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVector v_lhs,
value_type  alpha,
const DVectorSlice vs_rhs2 
)

v_lhs = pow(alpha,vs_rhs)

Definition at line 417 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::sqrt ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = sqrt(vs_rhs)

Definition at line 423 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::sin ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = sin(vs_rhs)

Definition at line 426 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::sinh ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = sinh(vs_rhs)

Definition at line 429 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::tan ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = tan(vs_rhs)

Definition at line 432 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::tanh ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = tanh(vs_rhs)

Definition at line 435 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::prod ( DVector vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

v_lhs(i) = vs_rhs1(i) * vs_rhs2(i), i = 1...n

Definition at line 420 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

value_type DenseLinAlgPack::dot ( const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

result = vs_rhs1' * vs_rhs2 (BLAS xDOT)

Definition at line 442 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

value_type DenseLinAlgPack::max ( const DVectorSlice vs_rhs  ) 

result = max(vs_rhs)

Definition at line 448 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

value_type DenseLinAlgPack::min ( const DVectorSlice vs_rhs  ) 

result = min(vs_rhs)

Definition at line 450 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

value_type DenseLinAlgPack::norm_1 ( const DVectorSlice vs_rhs  ) 

result = ||vs_rhs||1 (BLAS xASUM)

Definition at line 452 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

value_type DenseLinAlgPack::norm_2 ( const DVectorSlice vs_rhs  ) 

result = ||vs_rhs||2 (BLAS xNRM2)

Definition at line 454 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

value_type DenseLinAlgPack::norm_inf ( const DVectorSlice vs_rhs  ) 

result = ||vs_rhs||infinity (BLAS IxAMAX)

Definition at line 456 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::swap ( DVectorSlice vs1,
DVectorSlice vs2 
)

swap(vs1, vs2). Swaps the contents of vs1 and vs2

Definition at line 470 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::Vp_S ( DVectorSlice vs_lhs,
value_type  alpha 
)

vs_lhs += alpha

Definition at line 82 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::Vt_S ( DVectorSlice vs_lhs,
value_type  alpha 
)

vs_lhs *= alpha (BLAS xSCAL) (*** Note that alpha == 0.0 is handeled as vs_lhs = 0.0)

Definition at line 99 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::Vp_StV ( DVectorSlice vs_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

vs_lhs += alpha * vs_rhs (BLAS xAXPY)

Definition at line 108 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::assign ( DVectorSlice vs_lhs,
value_type  alpha 
)

vs_lhs = alpha (elementwise)

Definition at line 116 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::assign ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = vs_rhs

Definition at line 121 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_VpV ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

vs_lhs = vs_rhs1 + vs_rhs2

Definition at line 125 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_VmV ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

vs_lhs = vs_rhs1 - vs_rhs2

Definition at line 130 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_mV ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = - vs_rhs

Definition at line 135 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_StV ( DVectorSlice vs_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

vs_lhs = alpha * vs_rhs

Definition at line 140 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::abs ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = abs(vs_rhs)

Definition at line 179 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::asin ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = asin(vs_rhs)

Definition at line 182 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::acos ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = acos(vs_rhs)

Definition at line 185 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = atan(vs_rhs)

Definition at line 188 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan2 ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

vs_lhs = atan(vs_rhs1/vs_rhs2)

Definition at line 191 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan2 ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs,
value_type  alpha 
)

vs_lhs = atan(vs_rhs/alpha)

Definition at line 194 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan2 ( DVectorSlice vs_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

vs_lhs = atan(alpha/vs_rhs)

Definition at line 197 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::cos ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = cos(vs_rhs)

Definition at line 201 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::cosh ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = cosh(vs_rhs)

Definition at line 204 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::exp ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = exp(vs_rhs)

Definition at line 207 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::max ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

vs_lhs = max(vs_rhs1,vs_rhs2)

Definition at line 210 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::max ( DVectorSlice vs_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

vs_lhs = max(alpha,vs_rhs)

Definition at line 218 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::min ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

vs_lhs = min(vs_rhs1,vs_rhs2)

Definition at line 224 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::min ( DVectorSlice vs_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

vs_lhs = mim(alpha,vs_rhs)

Definition at line 232 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

vs_lhs = pow(vs_rhs1,vs_rhs2)

Definition at line 238 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs,
value_type  alpha 
)

vs_lhs = pow(vs_rhs,alpha)

Definition at line 241 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs,
int  n 
)

vs_lhs = pow(vs_rhs,n)

Definition at line 244 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVectorSlice vs_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

vs_lhs = pow(alpha,vs_rhs)

Definition at line 247 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::prod ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

vs_lhs(i) = vs_rhs1(i) * vs_rhs2(i), i = 1...n

Definition at line 250 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::sqrt ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = sqrt(vs_rhs)

Definition at line 253 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::sin ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = sin(vs_rhs)

Definition at line 256 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::sinh ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = sinh(vs_rhs)

Definition at line 259 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::tan ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = tan(vs_rhs)

Definition at line 262 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::tanh ( DVectorSlice vs_lhs,
const DVectorSlice vs_rhs 
)

vs_lhs = tanh(vs_rhs)

Definition at line 265 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::assign ( DVector v_lhs,
value_type  alpha 
)

v_lhs = alpha (elementwise)

Definition at line 271 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::assign ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = vs_rhs.

Definition at line 278 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_VpV ( DVector v_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

v_lhs = vs_rhs1 + vs_rhs2

Definition at line 282 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_VmV ( DVector v_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

v_lhs = vs_rhs1 - vs_rhs2

Definition at line 296 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_mV ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = - vs_rhs

Definition at line 302 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::V_StV ( DVector v_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

v_lhs = alpha * vs_rhs

Definition at line 307 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::rot ( const value_type  c,
const value_type  s,
DVectorSlice x,
DVectorSlice y 
)

Definition at line 313 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::abs ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = abs(vs_rhs)

Definition at line 349 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::asin ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = asin(vs_rhs)

Definition at line 352 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::acos ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = acos(vs_rhs)

Definition at line 355 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = atan(vs_rhs)

Definition at line 358 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan2 ( DVector v_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

v_lhs = atan(vs_rhs1/vs_rhs2)

Definition at line 361 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan2 ( DVector v_lhs,
const DVectorSlice vs_rhs,
value_type  alpha 
)

v_lhs = atan(vs_rhs/alpha)

Definition at line 365 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::atan2 ( DVector v_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

v_lhs = atan(alpha/vs_rhs)

Definition at line 368 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::cos ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = cos(vs_rhs)

Definition at line 371 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::cosh ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = cosh(vs_rhs)

Definition at line 374 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::exp ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = exp(vs_rhs)

Definition at line 377 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::max ( DVector v_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

v_lhs = max(vs_rhs1,vs_rhs2)

Definition at line 380 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::max ( DVector v_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

v_lhs = max(alpha,vs_rhs)

Definition at line 388 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::min ( DVector v_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

v_lhs = min(vs_rhs1,vs_rhs2)

Definition at line 394 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::min ( DVector v_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

v_lhs = mim(alpha,vs_rhs)

Definition at line 402 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVector v_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

v_lhs = pow(vs_rhs1,vs_rhs2)

Definition at line 408 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVector v_lhs,
const DVectorSlice vs_rhs,
value_type  alpha 
)

v_lhs = pow(vs_rhs,alpha)

Definition at line 411 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVector v_lhs,
const DVectorSlice vs_rhs,
int  n 
)

v_lhs = pow(vs_rhs,n)

Definition at line 414 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::pow ( DVector v_lhs,
value_type  alpha,
const DVectorSlice vs_rhs 
)

v_lhs = pow(alpha,vs_rhs)

Definition at line 417 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::prod ( DVector v_lhs,
const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

v_lhs(i) = vs_rhs1(i) * vs_rhs2(i), i = 1...n

Definition at line 420 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::sqrt ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = sqrt(vs_rhs)

Definition at line 423 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::sin ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = sin(vs_rhs)

Definition at line 426 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::sinh ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = sinh(vs_rhs)

Definition at line 429 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::tan ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = tan(vs_rhs)

Definition at line 432 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::tanh ( DVector v_lhs,
const DVectorSlice vs_rhs 
)

v_lhs = tanh(vs_rhs)

Definition at line 435 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

DenseLinAlgPack::value_type DenseLinAlgPack::dot ( const DVectorSlice vs_rhs1,
const DVectorSlice vs_rhs2 
)

result = vs_rhs1' * vs_rhs2 (BLAS xDOT)

Definition at line 442 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

DenseLinAlgPack::value_type DenseLinAlgPack::max ( const DVectorSlice vs_rhs  ) 

result = max(vs_rhs)

Definition at line 448 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

DenseLinAlgPack::value_type DenseLinAlgPack::min ( const DVectorSlice vs_rhs  ) 

result = min(vs_rhs)

Definition at line 450 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

DenseLinAlgPack::value_type DenseLinAlgPack::norm_1 ( const DVectorSlice vs_rhs  ) 

result = ||vs_rhs||1 (BLAS xASUM)

Definition at line 452 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

DenseLinAlgPack::value_type DenseLinAlgPack::norm_2 ( const DVectorSlice vs_rhs  ) 

result = ||vs_rhs||2 (BLAS xNRM2)

Definition at line 454 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

DenseLinAlgPack::value_type DenseLinAlgPack::norm_inf ( const DVectorSlice vs_rhs  ) 

result = ||vs_rhs||infinity (BLAS IxAMAX)

Definition at line 456 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

void DenseLinAlgPack::swap ( DVectorSlice vs1,
DVectorSlice vs2 
)

swap(vs1, vs2). Swaps the contents of vs1 and vs2

Definition at line 470 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

std::ostream& DenseLinAlgPack::operator<< ( std::ostream &  os,
const DVectorSlice vs 
) [inline]

Definition at line 43 of file DenseLinAlgPack_DVectorOut.hpp.

std::ostream & DenseLinAlgPack::output ( std::ostream &  os,
const DVectorSlice vs,
LinAlgPackIO::fmtflags  extra_flags 
)

Definition at line 35 of file DenseLinAlgPack_DVectorOutFunc.cpp.

DVector DenseLinAlgPack::e_vec ( size_type  i,
size_type  n 
) [inline]

creates an n sized vector with all zeros accepts the ith element is one.

Definition at line 37 of file DenseLinAlgPack_ElementaryMatVec.hpp.

DMatrix DenseLinAlgPack::eye ( size_type  n  )  [inline]

creates an n x n identity matrix

Definition at line 44 of file DenseLinAlgPack_ElementaryMatVec.hpp.

template<class T>
std::istream & DenseLinAlgPack::operator>> ( std::istream &  is,
const LinAlgPackIO::bound_format< T > &  bf 
)

Definition at line 41 of file DenseLinAlgPack_InFormatDef.hpp.

void DenseLinAlgPack::update_chol_factor ( DMatrixSlice pM,
DVectorSlice pu,
const DVectorSlice v 
)

Definition at line 48 of file DenseLinAlgPack_InvCholUpdate.cpp.

void DenseLinAlgPack::jacobi_rotate ( DMatrixSlice pM,
size_type  row_i,
value_type  alpha,
value_type  beta 
)

Definition at line 140 of file DenseLinAlgPack_InvCholUpdate.cpp.

bool DenseLinAlgPack::comp ( const DVectorSlice vs1,
const DVectorSlice vs2 
)

Definition at line 59 of file DenseLinAlgPack_MatVecCompare.cpp.

bool DenseLinAlgPack::comp ( const DVectorSlice vs,
value_type  alpha 
)

Definition at line 68 of file DenseLinAlgPack_MatVecCompare.cpp.

bool DenseLinAlgPack::comp ( const DMatrixSlice gms1,
BLAS_Cpp::Transp  trans1,
const DMatrixSlice gms2,
BLAS_Cpp::Transp  trans2 
)

Definition at line 75 of file DenseLinAlgPack_MatVecCompare.cpp.

bool DenseLinAlgPack::comp ( const DMatrixSlice gms,
value_type  alpha 
)

Definition at line 83 of file DenseLinAlgPack_MatVecCompare.cpp.

bool DenseLinAlgPack::comp ( const DMatrixSliceTriEle tri_gms1,
const DMatrixSliceTriEle tri_gms2 
)

Definition at line 90 of file DenseLinAlgPack_MatVecCompare.cpp.

bool DenseLinAlgPack::comp ( const DMatrixSliceTriEle tri_gms1,
value_type  alpha 
)

Definition at line 105 of file DenseLinAlgPack_MatVecCompare.cpp.

bool DenseLinAlgPack::comp_less ( const DVectorSlice vs,
value_type  alpha 
)

Definition at line 119 of file DenseLinAlgPack_MatVecCompare.cpp.

bool DenseLinAlgPack::comp ( const DMatrixSlice gms1,
const DMatrixSlice gms2 
) [inline]

Definition at line 81 of file DenseLinAlgPack_MatVecCompare.hpp.

template<class T>
std::ostream& DenseLinAlgPack::operator<< ( std::ostream &  os,
const LinAlgPackIO::const_bound_format< T > &  bf 
)

Definition at line 51 of file DenseLinAlgPack_OutFormat.hpp.

template<class T>
std::ostream& DenseLinAlgPack::operator<< ( std::ostream &  os,
const LinAlgPackIO::bound_format< T > &  bf 
) [inline]

Force a type conversion from bound_format<T># to const_bound_format<T># to call operator<<#().

Definition at line 69 of file DenseLinAlgPack_OutFormat.hpp.

std::istream & DenseLinAlgPack::operator>> ( std::istream &  istrm,
IVector &  perm 
)

Definition at line 32 of file DenseLinAlgPack_PermIn.cpp.

std::ostream & DenseLinAlgPack::operator<< ( std::ostream &  o,
const IVector &  perm 
)

Definition at line 34 of file DenseLinAlgPack_PermOut.cpp.

void DenseLinAlgPack::identity_perm ( IVector *  perm  ) 

Definition at line 52 of file DenseLinAlgPack_PermVecMat.cpp.

void DenseLinAlgPack::inv_perm ( const IVector &  perm,
IVector *  inv_perm 
)

Definition at line 60 of file DenseLinAlgPack_PermVecMat.cpp.

void DenseLinAlgPack::perm_ele ( const IVector &  perm,
DVectorSlice vs 
)

Permute a DVectorSlice in place.

Definition at line 66 of file DenseLinAlgPack_PermVecMat.cpp.

void DenseLinAlgPack::perm_ele ( const DVectorSlice x,
const IVector &  perm,
DVectorSlice y 
)

Perform y = P*x.

Definition at line 81 of file DenseLinAlgPack_PermVecMat.cpp.

void DenseLinAlgPack::inv_perm_ele ( const DVectorSlice y,
const IVector &  perm,
DVectorSlice x 
)

Perform x = P'*y.

Definition at line 95 of file DenseLinAlgPack_PermVecMat.cpp.

void DenseLinAlgPack::perm_rows ( const IVector &  row_perm,
DMatrixSlice gms 
)

Permute a GenMatrixSlices rows.

Definition at line 127 of file DenseLinAlgPack_PermVecMat.cpp.

void DenseLinAlgPack::perm_cols ( const IVector &  col_perm,
DMatrixSlice gms 
)

Permute a GenMatrixSlices columns.

Definition at line 139 of file DenseLinAlgPack_PermVecMat.cpp.

void DenseLinAlgPack::perm_rows_cols ( const IVector &  row_perm,
const IVector &  col_perm,
DMatrixSlice gms 
)

Permute a GenMatrixSlices rows and columns.

Definition at line 151 of file DenseLinAlgPack_PermVecMat.cpp.

void DenseLinAlgPack::seed_random_vector_generator ( unsigned int  s  ) 

Definition at line 36 of file DenseLinAlgPack_random_vector.cpp.

void DenseLinAlgPack::random_vector ( value_type  l,
value_type  u,
DVectorSlice v 
)

Definition at line 41 of file DenseLinAlgPack_random_vector.cpp.


Variable Documentation

const value_type DenseLinAlgPack::sqrt_eps = ::sqrt(std::numeric_limits<value_type>::epsilon())

Definition at line 63 of file DenseLinAlgPack_MatVecCompare.hpp.


Generated on Tue Jul 13 09:35:50 2010 for MOOCHO (Single Doxygen Collection) by  doxygen 1.4.7