63 Upper_(Source.Upper_),
79 for (j=1; j<NumRows; j++) {
81 ptr2 = A_in + j*LDA_in;
89 for (i=1; i<NumRows; i++) {
91 ptr2 = A_in + i*LDA_in;
113 for (j=0; j<
N_; j++) {
116 for (i=j; i<
N_; i++) sum += std::abs(*ptr++);
118 for (i=0; i<j; i++) {
119 sum += std::abs(*ptr);
126 for (j=0; j<
N_; j++) {
129 for (i=0; i<j; i++) sum += std::abs(*ptr++);
131 for (i=j; i<
N_; i++) {
132 sum += std::abs(*ptr);
150 for (j=0; j<
N_; j++) {
152 for (i=j; i<
N_; i++) {*ptr = *ptr * ScalarA; ptr++;}
156 for (j=0; j<
N_; j++) {
158 for (i=0; i<j; i++) {*ptr = *ptr * ScalarA; ptr++;}
Epetra_SerialSymDenseMatrix(void)
Default constructor; defines a zero size object.
Epetra_SerialDenseMatrix: A class for constructing and using real double precision general dense matr...
Epetra_SerialSymDenseMatrix: A class for constructing and using symmetric positive definite dense mat...
double NormInf() const
Computes the Infinity-Norm of the this matrix.
void CopyUPLOMat(bool Upper, double *A, int LDA, int NumRows)
int Scale(double ScalarA)
Inplace scalar-matrix product A = a A.
virtual ~Epetra_SerialSymDenseMatrix()
Epetra_SerialSymDenseMatrix destructor.
double NormOne() const
Computes the 1-Norm of the this matrix.
bool Upper() const
Returns true if upper triangle of this matrix has and will be used.
void UpdateFlops(int Flops_in) const
Increment Flop count for this object.