Defines |
| #define | DELETE(p) { if (p) delete p; p = 0; } |
| | Deletes a pointer. More...
|
| #define | NotNull(p) ( p!=0 ) |
| | Checks if a pointer is not null.
|
| #define | NonZero(h) ( Inf(h)!=0.0 && Sup(h)!=0.0 ) |
| | Checks if an interval is nonzero.
|
| #define | Square(A,n) ( ColDimension(A)==RowDimension(A) && RowDimension(A)==n ) |
| | Checks dimensions.
|
| #define | RightDim(A,n) ( Dimension(A)==n ) |
| | Checks dimensions.
|
Functions |
| template<classT> void | Swap (T &a, T &b) |
| | Swap function. Swaps the arguments a# and b#.
|
| template<classT> void | Identity ( T & A) |
| | Identity. More...
|
| template<classT> T | Transpose ( const T & A) |
| | Transpose. More...
|
| template<typenameVecType> void | PrintVec (const VecType& V) |