I have two 3D-points, for example a = (100, 100, 10) and b = (0, 100, 60), and would like to fit a line through those points. I know, the 3D line equation can have different shapes: Vector-form: Parameter-form: But I have a problem getting the data in the right shape for a numerical function. Answer The following code should