# ResidualCalc

ResidualCalc[dti,{tensor,s_{0}},gradients,bvector]

calculates the tensor residuals for the given dataset.

ResidualCalc[dti,{tensor,s_{0}},outlier,gradients,bvector]

calculates the tensor residuals for the given dataset taking in account the outliers.

ResidualCalc[dti,{tensor,s_{0}},bmat]

calculates the tensor residuals for the given dataset.

ResidualCalc[dti,{tensor,s_{0}},outlier,bmat]

calculates the tensor residuals for the given dataset taking in account the outliers.

ResidualCalc[dti,tensor,gradients,bvector]

calculates the tensor residuals for the given dataset. Tensor must contain Log[s0].

ResidualCalc[dti,tensor,outlier,gradients,bvector]

calculates the tensor residuals for the given dataset taking in account the outliers. Tensor must contain Log[s0].

ResidualCalc[dti,tensor,bmat]

calculates the tensor residuals for the given dataset. Tensor must contain Log[s0].

ResidualCalc[dti,tensor,outlier,bmat]

calculates the tensor residuals for the given dataset taking in account the outliers. Tensor must contain Log[s0].