NGSolve  4.9
Public Types | Public Member Functions
ngbla::MatrixFixWidth< W, T > Class Template Reference

A Matrix class with memory allocation/deallocation. More...

#include <matrix.hpp>

Inheritance diagram for ngbla::MatrixFixWidth< W, T >:
ngbla::FlatMatrixFixWidth< W, T > ngbla::CMCPMatExpr< FlatMatrixFixWidth< W, T > > ngbla::MatExpr< FlatMatrixFixWidth< W, T > > ngbla::Expr< FlatMatrixFixWidth< W, T > >

List of all members.

Public Types

typedef mat_traits< T >::TSCAL TSCAL
 scalar type of entry

Public Member Functions

 MatrixFixWidth (int ah)
 allocate matrix of size ah * ah
 ~MatrixFixWidth ()
 delete memory
void SetSize (int ah)
 sets new size of matrix
template<typename TB >
MatrixFixWidthoperator= (const Expr< TB > &m)
 assign matrix, sizes must match
MatrixFixWidthoperator= (TSCAL s)
 fill matrix with scalar

Detailed Description

template<int W, typename T = double>
class ngbla::MatrixFixWidth< W, T >

A Matrix class with memory allocation/deallocation.


The documentation for this class was generated from the following file: