LeoSvenningsson / TensorViewforMatlab

A tool to visualize tensors and molecules
4 stars 2 forks source link

Edited CreateTensor.m #1

Closed NotVinz closed 2 years ago

NotVinz commented 2 years ago

Negative values are checked all at once after the matrix ORadi has been built. Previous code checked for negative values in all the ORadi matrix at every iteraction. The CreateTensor function is now about 25 times faster (monitored via tic/toc)