[R] Equivalent of TensorRank

Richard Pearson richard.pearson at postgrad.manchester.ac.uk
Wed Mar 26 14:50:20 CET 2008


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.
>
>



More information about the R-help mailing list