|
Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Go to the documentation of this file.
49 template <
typename ordinal_type,
typename value_type>
59 template <
typename ordinal_type,
typename value_type>
65 template <
typename ordinal_type,
typename value_type>
71 return (
n * facto(
n-1));
76 template <
typename ordinal_type,
typename value_type>
82 return (facto(
n+m)/(facto(
n)*facto(m)));
85 template <
typename ordinal_type,
typename value_type>
111 Dr(i,0)=r2(i,0)/
D(i,i);
122 BinvD(
j,i)=
B(
j,i)/
D(i,i);
144 Result(i,0)=(*w)(i,0);
150 Result(i,0)=r2(-s+i,0)/
D(-s+i, -s+i);
void factorWithEquilibration(bool flag)
ordinal_type siz(ordinal_type n, ordinal_type m) const
#define TEUCHOS_ASSERT(assertion_test)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
virtual ordinal_type ApplyInverse(const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &Input, Teuchos::SerialDenseMatrix< ordinal_type, value_type > &Result, ordinal_type m) const
Returns the result of a Operator inverse applied to a Teuchos::SerialDenseMatrix Input in Result.
int setMatrix(const RCP< SerialDenseMatrix< OrdinalType, ScalarType > > &A)
ordinal_type facto(ordinal_type n) const
BlockPreconditioner(const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &K, const ordinal_type p, const ordinal_type m)
Constructor.
int multiply(ETransp transa, ETransp transb, ScalarType alpha, const SerialDenseMatrix< OrdinalType, ScalarType > &A, const SerialDenseMatrix< OrdinalType, ScalarType > &B, ScalarType beta)
int setVectors(const RCP< SerialDenseMatrix< OrdinalType, ScalarType > > &X, const RCP< SerialDenseMatrix< OrdinalType, ScalarType > > &B)
virtual ~BlockPreconditioner()
Destructor.