is.tensor | R Documentation |
Checks whether the object has a tensor attribute.
is.tensor(X)
X |
the objected to be checked |
This is a simple convenience function to check for the property of being a tensor.
boolean
K. Gerald van den Boogaart
to.tensor
A <- matrix(1:9,nrow=3)
is.tensor(A) # no
A <- to.tensor(A)
is.tensor(A) # yes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.