mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-13 12:52:14 +00:00
44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
//
|
|
// Copyright (c) 2000-2002
|
|
// Joerg Walter, Mathias Koch
|
|
//
|
|
// Permission to use, copy, modify, distribute and sell this software
|
|
// and its documentation for any purpose is hereby granted without fee,
|
|
// provided that the above copyright notice appear in all copies and
|
|
// that both that copyright notice and this permission notice appear
|
|
// in supporting documentation. The authors make no representations
|
|
// about the suitability of this software for any purpose.
|
|
// It is provided "as is" without express or implied warranty.
|
|
//
|
|
// The authors gratefully acknowledge the support of
|
|
// GeNeSys mbH & Co. KG in producing this work.
|
|
//
|
|
|
|
#ifndef TEST4_H
|
|
#define TEST4_H
|
|
|
|
#include <iostream>
|
|
|
|
#include <boost/numeric/ublas/vector.hpp>
|
|
#include <boost/numeric/ublas/matrix.hpp>
|
|
#include <boost/numeric/ublas/matrix_proxy.hpp>
|
|
#include <boost/numeric/ublas/banded.hpp>
|
|
#include <boost/numeric/ublas/io.hpp>
|
|
|
|
namespace ublas = boost::numeric::ublas;
|
|
|
|
#include "../common/init.hpp"
|
|
|
|
//#define USE_BANDED
|
|
#define USE_DIAGONAL
|
|
|
|
|
|
void test_matrix_vector ();
|
|
void test_matrix ();
|
|
|
|
|
|
// FIXME slice are failing in assignment to zero elements
|
|
#undef USE_SLICE
|
|
|
|
#endif
|