Re: [R] Equivalent of TensorRank

From: Richard Pearson <richard.pearson_at_postgrad.manchester.ac.uk>
Date: Wed, 26 Mar 2008 13:50:20 +0000

length(dim())?

Amit Soni wrote:
> Hi,
>
> In Mathematica, if we have a 3X3 matrix A, we can get its dimensions by:
> Dimensions[A] = {3,3}
> TensorRank[A] = 2
>
> In R, we have dim() for Dimensions[]. Is there any direct function similar
> to TensorRank in R?
>
> Thank you
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 26 Mar 2008 - 17:27:09 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 26 Mar 2008 - 17:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive