File: np_array.Rd

package info (click to toggle)
r-cran-reticulate 1.41.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,088 kB
  • sloc: cpp: 5,154; python: 620; sh: 13; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 572 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/array.R
\name{np_array}
\alias{np_array}
\title{NumPy array}
\usage{
np_array(data, dtype = NULL, order = "C")
}
\arguments{
\item{data}{Vector or existing NumPy array providing data for the array}

\item{dtype}{Numpy data type (e.g. "float32", "float64", etc.)}

\item{order}{Memory ordering for array. "C" means C order, "F" means Fortran
order.}
}
\value{
A NumPy array object.
}
\description{
Create NumPy arrays and convert the data type and in-memory
ordering of existing NumPy arrays.
}