Name
SPVM::R::OP - N-Dimensional Array Operations
Description
The R::OP class in SPVM has methods for operations for R::NDArray.
Usage
use R::OP;
use R::IO::Int as IOP;
my $ndarray1 = IOP->c([1, 2, 3]);
my $ndarray2 = IOP->c([3, 4, 5]);
my $equals_dim = R::OP->equals_dim($ndarray1, $ndarray2);
Class Methods
equals_dim
static method equals_dim : int ($x_ndarray : R::NDArray, $y_ndarray : R::NDArray);
equals_dropped_dim
static method equals_dropped_dim : int ($x_ndarray : R::NDArray, $y_ndarray : R::NDArray);
rep
static method rep : R::NDArray ($x_ndarray : R::NDArray, $times : int);
rep_length
static method rep_length : R::NDArray ($x_ndarray : R::NDArray, $length : int);
Related Modules
See Also
Copyright & License
Copyright (c) 2024 Yuki Kimoto
MIT License