  We describe the stratification by tensor rank of the points belonging to the
tangent developable of any Segre variety. We give algorithms to compute the
rank and a decomposition of a tensor belonging to the secant variety of lines
of any Segre variety. We prove Comon's conjecture on the rank of symmetric
tensors for those tensors belonging to tangential varieties to Veronese
varieties.
