42 const scalar coeffVal,
47 source_(mSize, sourceVal)
104 FatalErrorIn(
"simpleMatrix<Type>::operator=(const simpleMatrix<Type>&)")
105 <<
"Attempted assignment to self"
111 FatalErrorIn(
"simpleMatrix<Type>::operator=(const simpleMatrix<Type>&)")
112 <<
"Different size matrices"
116 if (source_.size() != m.source_.size())
118 FatalErrorIn(
"simpleMatrix<Type>::operator=(const simpleMatrix<Type>&)")
119 <<
"Different size source vectors"
140 + static_cast<const scalarSquareMatrix&>(m2),
141 m1.source_ + m2.source_
156 - static_cast<const scalarSquareMatrix&>(m2),
157 m1.source_ - m2.source_
174 os << static_cast<const scalarSquareMatrix&>(m) <<
nl << m.source_;