Home
last modified time | relevance | path

Searched refs:dim_small (Results 1 – 5 of 5) sorted by relevance

/dports/math/viennacl/ViennaCL-1.7.1/examples/tutorial/
H A Dvector-range.cpp57 std::size_t dim_small = 3; in main() local
63 VectorType ublas_v2(dim_small); in main()
75 boost::numeric::ublas::range ublas_r1(0, dim_small); //the first 'dim_small' entries in main()
76 …boost::numeric::ublas::range ublas_r2(dim_small - 1, 2*dim_small - 1); // 'dim_small' entries some… in main()
77 …boost::numeric::ublas::range ublas_r3(dim_large - dim_small, dim_large); // the last 'dim_small' e… in main()
87 VCLVectorType vcl_v2(dim_small); in main()
96 viennacl::range vcl_r1(0, dim_small); //the first 'dim_small' entries in main()
97 …viennacl::range vcl_r2(dim_small - 1, 2*dim_small - 1); // 'dim_small' entries somewhere from the… in main()
98 viennacl::range vcl_r3(dim_large - dim_small, dim_large); // the last 'dim_small' entries in main()
H A Dvector-range.cu57 std::size_t dim_small = 3; in main() local
63 VectorType ublas_v2(dim_small); in main()
75 boost::numeric::ublas::range ublas_r1(0, dim_small); //the first 'dim_small' entries in main()
76 …boost::numeric::ublas::range ublas_r2(dim_small - 1, 2*dim_small - 1); // 'dim_small' entries some… in main()
77 …boost::numeric::ublas::range ublas_r3(dim_large - dim_small, dim_large); // the last 'dim_small' e… in main()
87 VCLVectorType vcl_v2(dim_small); in main()
96 viennacl::range vcl_r1(0, dim_small); //the first 'dim_small' entries in main()
97 …viennacl::range vcl_r2(dim_small - 1, 2*dim_small - 1); // 'dim_small' entries somewhere from the… in main()
98 viennacl::range vcl_r3(dim_large - dim_small, dim_large); // the last 'dim_small' entries in main()
H A Dmatrix-range.cpp63 std::size_t dim_small = 3; in main() local
66 MatrixType ublas_B(dim_small, dim_small); in main()
67 MatrixType ublas_C(dim_large, dim_small); in main()
68 MatrixType ublas_D(dim_small, dim_large); in main()
90 …boost::numeric::ublas::range ublas_r1(0, dim_small); //the first 'dim_small' … in main()
91 …boost::numeric::ublas::range ublas_r2(dim_large - dim_small, dim_large); //the last 'dim_small' e… in main()
102 VCLMatrixType vcl_B(dim_small, dim_small); in main()
103 VCLMatrixType vcl_C(dim_large, dim_small); in main()
104 VCLMatrixType vcl_D(dim_small, dim_large); in main()
114 viennacl::range vcl_r1(0, dim_small); //the first 'dim_small' entries in main()
[all …]
H A Dmatrix-range.cu63 std::size_t dim_small = 3; in main() local
66 MatrixType ublas_B(dim_small, dim_small); in main()
67 MatrixType ublas_C(dim_large, dim_small); in main()
68 MatrixType ublas_D(dim_small, dim_large); in main()
90 …boost::numeric::ublas::range ublas_r1(0, dim_small); //the first 'dim_small' … in main()
91 …boost::numeric::ublas::range ublas_r2(dim_large - dim_small, dim_large); //the last 'dim_small' e… in main()
102 VCLMatrixType vcl_B(dim_small, dim_small); in main()
103 VCLMatrixType vcl_C(dim_large, dim_small); in main()
104 VCLMatrixType vcl_D(dim_small, dim_large); in main()
114 viennacl::range vcl_r1(0, dim_small); //the first 'dim_small' entries in main()
[all …]
/dports/math/py-spopt/spopt-0.2.1/spopt/tests/
H A Dtest_region_k_means.py16 dim_small = 3
17 self.w_small = libpysal.weights.lat2W(dim_small, dim_small)
18 self.data_small = numpy.random.normal(size=(self.w_small.n, dim_small))