Name

SPVM::R::OP::String - N-Dimensional Array Operations for R::NDArray::String

Description

The R::OP::String class in SPVM has methods for n-dimensional array operations for R::NDArray::String.

Usage

use R::OP::String as STROP;

my $ndarray_scalar = STROP->c((string)1);

my $ndarray_vector = STROP->c([(string)"a", "b", "c"]);

my $ndarray = STROP->c([(string)"a", "b", "c", "d", "e", "f"], [3, 2]);

my $ndarray2 = STROP->c($ndarray);

Class Methods

c

static method c : R::NDArray::String ($data : object of string|string[]|R::NDArray::String, $dim : int[] = undef);

concat

static method concat : R::NDArray::String ($x_ndarray : R::NDArray::String, $y_ndarray : R::NDArray::String);

eq

static method eq : R::NDArray::Int ($x_ndarray : R::NDArray::String, $y_ndarray : R::NDArray::String);

ne

static method ne : R::NDArray::Int ($x_ndarray : R::NDArray::String, $y_ndarray : R::NDArray::String);

gt

static method gt : R::NDArray::Int ($x_ndarray : R::NDArray::String, $y_ndarray : R::NDArray::String);

ge

static method ge : R::NDArray::Int ($x_ndarray : R::NDArray::String, $y_ndarray : R::NDArray::String);

lt

static method lt : R::NDArray::Int ($x_ndarray : R::NDArray::String, $y_ndarray : R::NDArray::String);

le

static method le : R::NDArray::Int ($x_ndarray : R::NDArray::String, $y_ndarray : R::NDArray::String);

rep

static method rep : R::NDArray::String ($x_ndarray : R::NDArray::String, $times : int);

rep_length

static method rep_length : R::NDArray::String ($x_ndarray : R::NDArray::String, $length : int);

See Also

Copyright & License

Copyright (c) 2024 Yuki Kimoto

MIT License