verifyTensor
Last updated
Last updated
Checks the data structure of the metric and stress-energy tensor objects to ensure the required data is provided. See for specifics on the required struct fields.
Checks all required fields by object type.
[
verified
] = verifyTensor(
inputTensor
,
suppressMsgs
)
inputTensor
struct
object
Input tensor object.
suppressMsgs
1x1 array
integer
Selects if error messages will be displayed. The default value is 0, which means true.
verified
1x1 array
logical
Returns a 1 if the tensor is verified and 0 if not.