Lines Matching full:v1
20 V v1 (N), v2 (N); in test() local
23 initialize_vector (v1); in test()
24 n = ublas::blas_1::asum (v1); in test()
25 std::cout << "asum (v1) = " << n << std::endl; in test()
28 initialize_vector (v1); in test()
29 n = ublas::blas_1::amax (v1); in test()
30 std::cout << "amax (v1) = " << n << std::endl; in test()
33 initialize_vector (v1); in test()
34 n = ublas::blas_1::nrm2 (v1); in test()
35 std::cout << "nrm2 (v1) = " << n << std::endl; in test()
40 initialize_vector (v1); in test()
42 t = ublas::blas_1::dot (v1, v2); in test()
43 std::cout << "dot (v1, v2) = " << t << std::endl; in test()
44 t = ublas::blas_1::dot (ublas::conj (v1), v2); in test()
45 std::cout << "dot (conj (v1), v2) = " << t << std::endl; in test()
49 ublas::blas_1::copy (v1, v2); in test()
50 std::cout << "copy (v1, v2) = " << v1 << std::endl; in test()
53 initialize_vector (v1); in test()
55 ublas::blas_1::swap (v1, v2); in test()
56 std::cout << "swap (v1, v2) = " << v1 << " " << v2 << std::endl; in test()
61 initialize_vector (v1); in test()
62 ublas::blas_1::scal (v1, value_type (1)); in test()
63 std::cout << "scal (v1, 1) = " << v1 << std::endl; in test()
66 initialize_vector (v1); in test()
68 ublas::blas_1::axpy (v1, value_type (1), v2); in test()
69 std::cout << "axpy (v1, 1, v2) = " << v1 << std::endl; in test()
72 initialize_vector (v1); in test()
74 ublas::blas_1::rot (value_type (1), v1, value_type (1), v2); in test()
75 std::cout << "rot (1, v1, 1, v2) = " << v1 << " " << v2 << std::endl; in test()