Displaying 4 results from an estimated 4 matches for "matrixcl".
2020 Jan 21
2
class(<matrix>) |--> c("matrix", "arrary") -- and S3 dispatch
...nteresting" cases : ---
> ## integer and double
> my.class2( pi) # == c("double", "numeric")
> my.class2(1:2) # == c("integer", "numeric")
> ## matrix and array [also combined with int / double ] :
> my.class2(matrix(1L, 2,3)) # == c(matrixCL, "integer", "numeric") <<<
> my.class2(matrix(pi, 2,3)) # == c(matrixCL, "double", "numeric") <<<
> my.class2(array("A", 2:3)) # == c(matrixCL, "character") <<<
> my.class2(array(1:24,...
2019 Nov 21
0
class(<matrix>) |--> c("matrix", "arrary") -- and S3 dispatch
...------------- the "interesting" cases : ---
## integer and double
my.class2( pi) # == c("double", "numeric")
my.class2(1:2) # == c("integer", "numeric")
## matrix and array [also combined with int / double ] :
my.class2(matrix(1L, 2,3)) # == c(matrixCL, "integer", "numeric") <<<
my.class2(matrix(pi, 2,3)) # == c(matrixCL, "double", "numeric") <<<
my.class2(array("A", 2:3)) # == c(matrixCL, "character") <<<
my.class2(array(1:24, 2:4)) # == c...
2020 Jan 28
0
class(<matrix>) |--> c("matrix", "arrary") -- and S3 dispatch
...; ## integer and double
>> my.class2( pi) # == c("double", "numeric")
>> my.class2(1:2) # == c("integer", "numeric")
>> ## matrix and array [also combined with int / double ] :
>> my.class2(matrix(1L, 2,3)) # == c(matrixCL, "integer", "numeric") <<<
>> my.class2(matrix(pi, 2,3)) # == c(matrixCL, "double", "numeric") <<<
>> my.class2(array("A", 2:3)) # == c(matrixCL, "character") <<<
>&g...
2019 Nov 15
5
class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."]
>>>>> Pages, Herve
>>>>> on Thu, 14 Nov 2019 19:13:47 +0000 writes:
> On 11/14/19 05:47, Hadley Wickham wrote:
>> On Sun, Nov 10, 2019 at 2:37 AM Martin Maechler
>> <maechler at stat.math.ethz.ch> wrote:
>>>
>>>>>>>> Gabriel Becker
>>>>>>>> on Sat, 2 Nov 2019