File: xbuilder.rst

package info (click to toggle)
xtensor 0.25.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,476 kB
  • sloc: cpp: 65,302; makefile: 202; python: 171; javascript: 8
file content (58 lines) | stat: -rw-r--r-- 1,308 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.. Copyright (c) 2016, Johan Mabille, Sylvain Corlay and Wolf Vollprecht

   Distributed under the terms of the BSD 3-Clause License.

   The full license is in the file LICENSE, distributed with this software.

xbuilder
========

Defined in ``xtensor/xbuilder.hpp``

.. doxygenfunction:: xt::ones(S)

.. doxygenfunction:: xt::ones(const I (&)[L])

.. doxygenfunction:: xt::zeros(S)

.. doxygenfunction:: xt::zeros(const I (&)[L])

.. doxygenfunction:: xt::empty(const S&)

.. doxygenfunction:: xt::full_like(const xexpression<E>&)

.. doxygenfunction:: xt::empty_like(const xexpression<E>&)

.. doxygenfunction:: xt::zeros_like(const xexpression<E>&)

.. doxygenfunction:: xt::ones_like(const xexpression<E>&)

.. doxygenfunction:: xt::eye(const std::vector<std::size_t>&, int)

.. doxygenfunction:: xt::eye(std::size_t, int)

.. doxygenfunction:: xt::arange(T, T, S)

.. doxygenfunction:: xt::arange(T)

.. doxygenfunction:: xt::linspace

.. doxygenfunction:: xt::logspace

.. doxygenfunction:: xt::concatenate(std::tuple<CT...>&&, std::size_t)

.. doxygenfunction:: xt::stack

.. doxygenfunction:: xt::hstack

.. doxygenfunction:: xt::vstack

.. doxygenfunction:: xt::meshgrid

.. doxygenfunction:: xt::diag

.. doxygenfunction:: xt::diagonal

.. doxygenfunction:: xt::tril

.. doxygenfunction:: xt::triu