function get3comp(vec, comps) {
    return new Get3CompExpr(vec, comps);
}
creates an expression that gets 3 components from a vector
@param vec the vector to get components of
@param comps components string