Name
SPVM::R::NDArray::Hash - N-Dimensional Array of byte Type.
Description
R::NDArray::Hash class in SPVM represents n-dimensional array of byte
type.
Usage
use R::NDArray::Hash;
use R::OP::Int as IOP;
my $ndarray = R::NDArray::Hash->new;
$ndarray->set("name", IOP->c([1, 2, 3]));
my $ndarray = $ndarray->get("name");
my $ndarray_int = $ndarray->get_int("name");
Field
ndarrays_h
has ndarrays_h : Hash of R::NDArray;
Class Methods
new
static method new : R::NDArray::Hash ();
set
method set : void ($name : string, $value : R::NDArray);
get
method get : R::NDArray ($name : string);
get_byte
method get_byte : R::NDArray::Byte ($name : string);
get_short
method get_short : R::NDArray::Short ($name : string);
get_int
method get_int : R::NDArray::Int ($name : string);
get_long
method get_long : R::NDArray::Long ($name : string);
get_float
method get_float : R::NDArray::Float ($name : string);
get_float_complex
method get_float_complex : R::NDArray::FloatComplex ($name : string);
get_double
method get_double : R::NDArray::Double ($name : string);
get_double_complex
method get_double_complex : R::NDArray::DoubleComplex ($name : string);
get_string
method get_string : R::NDArray::String ($name : string);
Copyright & License
Copyright (c) 2024 Yuki Kimoto
MIT License