multiply

public Vector multiply(Vector vec)

Multiplies the vector by another.

Return

the same vector

Parameters

vec

The other vector


public Vector multiply(int m)
public Vector multiply(double m)
public Vector multiply(float m)

Performs scalar multiplication, multiplying all components with getClassById scalar.

Return

the same vector

Parameters

m

The factor